diff options
author | Rene Sapiens <rene.sapiens@ti.com> | 2010-07-09 22:24:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 13:45:36 -0400 |
commit | 13b18c29ec01068dce4b266cc179d4e90e79d0e9 (patch) | |
tree | 1ce214748543368d31d4de8cdb4a30eef0c2e77b /drivers/staging/tidspbridge/hw | |
parent | fb6aabb7f8b64aef7c4376b6cd4b760a62f75c5b (diff) |
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:
========================================
pPhysAddr to phys_addr
pPhysicalAddress to physical_address
ppIntfFxns to if_fxns
pProcLoadStat to proc_load_stat
pProcStat to proc_lstat
ppSym to sym_val
pRefData to ref_data
pRef to ref
preservedBit to preserved_bit
pResult to result
procID to proc_id
pSectInfo to sect_inf
pSrc to src
pstrContent to str_content
pstrDummyFile to str_dummy_file
pstrExecFile to str_exec_file
========================================
Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/hw')
-rw-r--r-- | drivers/staging/tidspbridge/hw/hw_mmu.c | 12 | ||||
-rw-r--r-- | drivers/staging/tidspbridge/hw/hw_mmu.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/tidspbridge/hw/hw_mmu.c b/drivers/staging/tidspbridge/hw/hw_mmu.c index 84a6332e738..668fb8a4bb9 100644 --- a/drivers/staging/tidspbridge/hw/hw_mmu.c +++ b/drivers/staging/tidspbridge/hw/hw_mmu.c | |||
@@ -85,7 +85,7 @@ static hw_status mmu_flush_entry(const void __iomem *base_address); | |||
85 | * TypE : const u32 | 85 | * TypE : const u32 |
86 | * Description : It indicates the page size | 86 | * Description : It indicates the page size |
87 | * | 87 | * |
88 | * Identifier : preservedBit | 88 | * Identifier : preserved_bit |
89 | * Type : const u32 | 89 | * Type : const u32 |
90 | * Description : It indicates the TLB entry is preserved entry | 90 | * Description : It indicates the TLB entry is preserved entry |
91 | * or not | 91 | * or not |
@@ -114,7 +114,7 @@ static hw_status mmu_flush_entry(const void __iomem *base_address); | |||
114 | */ | 114 | */ |
115 | static hw_status mmu_set_cam_entry(const void __iomem *base_address, | 115 | static hw_status mmu_set_cam_entry(const void __iomem *base_address, |
116 | const u32 page_sz, | 116 | const u32 page_sz, |
117 | const u32 preservedBit, | 117 | const u32 preserved_bit, |
118 | const u32 validBit, | 118 | const u32 validBit, |
119 | const u32 virtual_addr_tag); | 119 | const u32 virtual_addr_tag); |
120 | 120 | ||
@@ -337,7 +337,7 @@ hw_status hw_mmu_tlb_add(const void __iomem *base_address, | |||
337 | u32 page_sz, | 337 | u32 page_sz, |
338 | u32 entry_num, | 338 | u32 entry_num, |
339 | struct hw_mmu_map_attrs_t *map_attrs, | 339 | struct hw_mmu_map_attrs_t *map_attrs, |
340 | s8 preservedBit, s8 validBit) | 340 | s8 preserved_bit, s8 validBit) |
341 | { | 341 | { |
342 | hw_status status = RET_OK; | 342 | hw_status status = RET_OK; |
343 | u32 lock_reg; | 343 | u32 lock_reg; |
@@ -380,7 +380,7 @@ hw_status hw_mmu_tlb_add(const void __iomem *base_address, | |||
380 | virtual_addr_tag = ((virtualAddr & MMU_ADDR_MASK) >> 12); | 380 | virtual_addr_tag = ((virtualAddr & MMU_ADDR_MASK) >> 12); |
381 | 381 | ||
382 | /* Write the fields in the CAM Entry Register */ | 382 | /* Write the fields in the CAM Entry Register */ |
383 | mmu_set_cam_entry(base_address, mmu_pg_size, preservedBit, validBit, | 383 | mmu_set_cam_entry(base_address, mmu_pg_size, preserved_bit, validBit, |
384 | virtual_addr_tag); | 384 | virtual_addr_tag); |
385 | 385 | ||
386 | /* Write the different fields of the RAM Entry Register */ | 386 | /* Write the different fields of the RAM Entry Register */ |
@@ -538,7 +538,7 @@ static hw_status mmu_flush_entry(const void __iomem *base_address) | |||
538 | /* mmu_set_cam_entry */ | 538 | /* mmu_set_cam_entry */ |
539 | static hw_status mmu_set_cam_entry(const void __iomem *base_address, | 539 | static hw_status mmu_set_cam_entry(const void __iomem *base_address, |
540 | const u32 page_sz, | 540 | const u32 page_sz, |
541 | const u32 preservedBit, | 541 | const u32 preserved_bit, |
542 | const u32 validBit, | 542 | const u32 validBit, |
543 | const u32 virtual_addr_tag) | 543 | const u32 virtual_addr_tag) |
544 | { | 544 | { |
@@ -551,7 +551,7 @@ static hw_status mmu_set_cam_entry(const void __iomem *base_address, | |||
551 | 551 | ||
552 | mmu_cam_reg = (virtual_addr_tag << 12); | 552 | mmu_cam_reg = (virtual_addr_tag << 12); |
553 | mmu_cam_reg = (mmu_cam_reg) | (page_sz) | (validBit << 2) | | 553 | mmu_cam_reg = (mmu_cam_reg) | (page_sz) | (validBit << 2) | |
554 | (preservedBit << 3); | 554 | (preserved_bit << 3); |
555 | 555 | ||
556 | /* write values to register */ | 556 | /* write values to register */ |
557 | MMUMMU_CAM_WRITE_REGISTER32(base_address, mmu_cam_reg); | 557 | MMUMMU_CAM_WRITE_REGISTER32(base_address, mmu_cam_reg); |
diff --git a/drivers/staging/tidspbridge/hw/hw_mmu.h b/drivers/staging/tidspbridge/hw/hw_mmu.h index 063efbb2afa..25f1954ae4c 100644 --- a/drivers/staging/tidspbridge/hw/hw_mmu.h +++ b/drivers/staging/tidspbridge/hw/hw_mmu.h | |||
@@ -85,7 +85,7 @@ extern hw_status hw_mmu_tlb_add(const void __iomem *base_address, | |||
85 | u32 page_sz, | 85 | u32 page_sz, |
86 | u32 entry_num, | 86 | u32 entry_num, |
87 | struct hw_mmu_map_attrs_t *map_attrs, | 87 | struct hw_mmu_map_attrs_t *map_attrs, |
88 | s8 preservedBit, s8 validBit); | 88 | s8 preserved_bit, s8 validBit); |
89 | 89 | ||
90 | /* For PTEs */ | 90 | /* For PTEs */ |
91 | extern hw_status hw_mmu_pte_set(const u32 pg_tbl_va, | 91 | extern hw_status hw_mmu_pte_set(const u32 pg_tbl_va, |