diff options
author | 2010-07-09 21:23:55 -0500 | |
---|---|---|
committer | 2010-07-22 10:45:34 -0700 | |
commit | b301c85803376ef997bd7802cd5f0e3e88d10ae8 (patch) | |
tree | e6da9fe16047546c1e96c06f9296a45a6ea4e28e /drivers/staging/tidspbridge/pmgr | |
parent | staging: ti dspbridge: fix compilation error (diff) | |
download | linux-b301c85803376ef997bd7802cd5f0e3e88d10ae8.tar.gz linux-b301c85803376ef997bd7802cd5f0e3e88d10ae8.tar.bz2 linux-b301c85803376ef997bd7802cd5f0e3e88d10ae8.zip |
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/pmgr')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/cmm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/cmm.c b/drivers/staging/tidspbridge/pmgr/cmm.c index 711d206176df..b302db565bad 100644 --- a/drivers/staging/tidspbridge/pmgr/cmm.c +++ b/drivers/staging/tidspbridge/pmgr/cmm.c @@ -538,7 +538,7 @@ bool cmm_init(void) */ int cmm_register_gppsm_seg(struct cmm_object *hcmm_mgr, u32 dw_gpp_base_pa, u32 ul_size, - u32 dwDSPAddrOffset, s8 c_factor, + u32 dsp_addr_offset, s8 c_factor, u32 dw_dsp_base, u32 ul_dsp_size, u32 *pulSegId, u32 dw_gpp_base_va) { @@ -554,9 +554,9 @@ int cmm_register_gppsm_seg(struct cmm_object *hcmm_mgr, DBC_REQUIRE(dw_gpp_base_va != 0); DBC_REQUIRE((c_factor <= CMM_ADDTODSPPA) && (c_factor >= CMM_SUBFROMDSPPA)); - dev_dbg(bridge, "%s: dw_gpp_base_pa %x ul_size %x dwDSPAddrOffset %x " + dev_dbg(bridge, "%s: dw_gpp_base_pa %x ul_size %x dsp_addr_offset %x " "dw_dsp_base %x ul_dsp_size %x dw_gpp_base_va %x\n", __func__, - dw_gpp_base_pa, ul_size, dwDSPAddrOffset, dw_dsp_base, + dw_gpp_base_pa, ul_size, dsp_addr_offset, dw_dsp_base, ul_dsp_size, dw_gpp_base_va); if (!hcmm_mgr) { status = -EFAULT; @@ -586,7 +586,7 @@ int cmm_register_gppsm_seg(struct cmm_object *hcmm_mgr, psma->shm_base = dw_gpp_base_pa; /* SM Base phys */ psma->ul_sm_size = ul_size; /* SM segment size in bytes */ psma->dw_vm_base = dw_gpp_base_va; - psma->dw_dsp_phys_addr_offset = dwDSPAddrOffset; + psma->dw_dsp_phys_addr_offset = dsp_addr_offset; psma->c_factor = c_factor; psma->dw_dsp_base = dw_dsp_base; psma->ul_dsp_size = ul_dsp_size; |