summaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge/core/tiomap_io.c
diff options
context:
space:
mode:
authorRene Sapiens <rene.sapiens@ti.com>2010-07-10 02:23:58 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-22 17:45:34 (GMT)
commitaa09b091267694befb9459f22bed2d6437fb59f8 (patch)
treefcc29abd8de180654505b004b4291d62cd8602d1 /drivers/staging/tidspbridge/core/tiomap_io.c
parent95870a88ec83be6f10854c9da3bbadf27f3c07c3 (diff)
downloadlinux-fsl-qoriq-aa09b091267694befb9459f22bed2d6437fb59f8.tar.xz
staging: ti dspbridge: Rename words with camel case
The intention of this patch is to rename the remaining variables with camel case. Variables will be renamed avoiding camel case and Hungarian notation. The words to be renamed in this patch are: ======================================== pArb to arb pbAlreadyAttached to already_attached pBaseAddr to base_addr pbHostBuf to host_buff pBufVa to buf_va pChnlInfo to channel_info pConfig to config_param pContent to content pContext to context pdcdProps to dcd_prop pDepLibUuids to dep_lib_uuids pDevNodeString to dev_node_strg pDispAttrs to disp_attrs pDsp to dsp pdwAutoStart to auto_start pdwChnl to chnl ======================================== Signed-off-by: Rene Sapiens <rene.sapiens@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/core/tiomap_io.c')
-rw-r--r--drivers/staging/tidspbridge/core/tiomap_io.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/tidspbridge/core/tiomap_io.c b/drivers/staging/tidspbridge/core/tiomap_io.c
index 945f871..0ac4f8c 100644
--- a/drivers/staging/tidspbridge/core/tiomap_io.c
+++ b/drivers/staging/tidspbridge/core/tiomap_io.c
@@ -51,7 +51,7 @@ bool symbols_reloaded = true;
* Copies DSP external memory buffers to the host side buffers.
*/
int read_ext_dsp_data(struct bridge_dev_context *dev_ctxt,
- OUT u8 *pbHostBuf, u32 dsp_addr,
+ OUT u8 *host_buff, u32 dsp_addr,
u32 ul_num_bytes, u32 ulMemType)
{
int status = 0;
@@ -168,7 +168,7 @@ int read_ext_dsp_data(struct bridge_dev_context *dev_ctxt,
offset = dsp_addr - ul_ext_base;
if (DSP_SUCCEEDED(status))
- memcpy(pbHostBuf, (u8 *) dw_base_addr + offset, ul_num_bytes);
+ memcpy(host_buff, (u8 *) dw_base_addr + offset, ul_num_bytes);
return status;
}
@@ -179,7 +179,7 @@ int read_ext_dsp_data(struct bridge_dev_context *dev_ctxt,
* Copies buffers to the DSP internal/external memory.
*/
int write_dsp_data(struct bridge_dev_context *dev_ctxt,
- IN u8 *pbHostBuf, u32 dsp_addr, u32 ul_num_bytes,
+ IN u8 *host_buff, u32 dsp_addr, u32 ul_num_bytes,
u32 ulMemType)
{
u32 offset;
@@ -211,9 +211,9 @@ int write_dsp_data(struct bridge_dev_context *dev_ctxt,
return -EPERM;
}
if (ul_num_bytes)
- memcpy((u8 *) (dw_base_addr + offset), pbHostBuf, ul_num_bytes);
+ memcpy((u8 *) (dw_base_addr + offset), host_buff, ul_num_bytes);
else
- *((u32 *) pbHostBuf) = dw_base_addr + offset;
+ *((u32 *) host_buff) = dw_base_addr + offset;
return status;
}
@@ -225,7 +225,7 @@ int write_dsp_data(struct bridge_dev_context *dev_ctxt,
*
*/
int write_ext_dsp_data(struct bridge_dev_context *dev_context,
- IN u8 *pbHostBuf, u32 dsp_addr,
+ IN u8 *host_buff, u32 dsp_addr,
u32 ul_num_bytes, u32 ulMemType,
bool dynamic_load)
{
@@ -371,10 +371,10 @@ int write_ext_dsp_data(struct bridge_dev_context *dev_context,
}
if (DSP_SUCCEEDED(ret)) {
if (ul_num_bytes)
- memcpy((u8 *) dw_base_addr + dw_offset, pbHostBuf,
+ memcpy((u8 *) dw_base_addr + dw_offset, host_buff,
ul_num_bytes);
else
- *((u32 *) pbHostBuf) = dw_base_addr + dw_offset;
+ *((u32 *) host_buff) = dw_base_addr + dw_offset;
}
/* Unmap here to force remap for other Ext loads */
if ((dynamic_load || trace_load) && dev_context->dw_dsp_ext_base_addr) {