diff options
author | Rene Sapiens <rene.sapiens@ti.com> | 2010-07-10 02:23:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 17:45:34 (GMT) |
commit | b301c85803376ef997bd7802cd5f0e3e88d10ae8 (patch) | |
tree | e6da9fe16047546c1e96c06f9296a45a6ea4e28e /drivers/staging/tidspbridge/core/tiomap_io.h | |
parent | 0d9073abb7735dc7005a76835af055f4b6851586 (diff) | |
download | linux-fsl-qoriq-b301c85803376ef997bd7802cd5f0e3e88d10ae8.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:
========================================
dspAddr to dsp_address
dspAdr to dsp_adr
dspBaseVirt to dsp_base_virt
dwDeviceContext to device_context
dwDSPAddrOffset to dsp_addr_offset
dwDSPAddr to dsp_addr
dwErrInfo to error_info
dwGPPBaseBA to gpp_base_ba
dwMask to mask
dwTimeout to timeout
dwTimeOut to timeout
dwValue to value
entryNum to entry_num
execFile to exec_file
fFlush to flush_data
FlushMemType to flush_mem_type
========================================
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.h')
-rw-r--r-- | drivers/staging/tidspbridge/core/tiomap_io.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/tidspbridge/core/tiomap_io.h b/drivers/staging/tidspbridge/core/tiomap_io.h index 3bfe7b7..b398f54 100644 --- a/drivers/staging/tidspbridge/core/tiomap_io.h +++ b/drivers/staging/tidspbridge/core/tiomap_io.h @@ -48,14 +48,14 @@ * is configured by the combination of DSP MMU and shm Memory manager in the CDB */ extern int read_ext_dsp_data(struct bridge_dev_context *dev_context, - OUT u8 *pbHostBuf, u32 dwDSPAddr, + OUT u8 *pbHostBuf, u32 dsp_addr, u32 ul_num_bytes, u32 ulMemType); /* * ======== write_dsp_data ======== */ extern int write_dsp_data(struct bridge_dev_context *dev_context, - OUT u8 *pbHostBuf, u32 dwDSPAddr, + OUT u8 *pbHostBuf, u32 dsp_addr, u32 ul_num_bytes, u32 ulMemType); /* @@ -65,7 +65,7 @@ extern int write_dsp_data(struct bridge_dev_context *dev_context, * shm Memory manager in the CDB */ extern int write_ext_dsp_data(struct bridge_dev_context *dev_context, - IN u8 *pbHostBuf, u32 dwDSPAddr, + IN u8 *pbHostBuf, u32 dsp_addr, u32 ul_num_bytes, u32 ulMemType, bool dynamic_load); @@ -75,9 +75,9 @@ extern int write_ext_dsp_data(struct bridge_dev_context *dev_context, */ extern inline void write_ext32_bit_dsp_data(IN const struct bridge_dev_context *dev_context, - IN u32 dwDSPAddr, IN u32 val) + IN u32 dsp_addr, IN u32 val) { - *(u32 *) dwDSPAddr = ((dev_context->tc_word_swap_on) ? (((val << 16) & + *(u32 *) dsp_addr = ((dev_context->tc_word_swap_on) ? (((val << 16) & 0xFFFF0000) | ((val >> 16) & 0x0000FFFF)) : @@ -89,10 +89,10 @@ extern inline void write_ext32_bit_dsp_data(IN const * Reads 32 bit data from the external memory */ extern inline u32 read_ext32_bit_dsp_data(IN const struct bridge_dev_context - *dev_context, IN u32 dwDSPAddr) + *dev_context, IN u32 dsp_addr) { u32 ret; - ret = *(u32 *) dwDSPAddr; + ret = *(u32 *) dsp_addr; ret = ((dev_context->tc_word_swap_on) ? (((ret << 16) & 0xFFFF0000) | ((ret >> 16) & |