diff options
author | Rene Sapiens <rene.sapiens@ti.com> | 2011-01-17 22:19:05 -0500 |
---|---|---|
committer | Omar Ramirez Luna <omar.ramirez@ti.com> | 2011-02-04 21:12:11 -0500 |
commit | 3c882de542f67d0a7768f2e64c017e3657b519b3 (patch) | |
tree | 866e6f14853244d085e875428734935901954cef /drivers/staging/tidspbridge/include | |
parent | 5108de0ae06190f2ab54b9a1da315b77b33be1e2 (diff) |
staging: tidspbridge: set3 remove hungarian from structs
hungarian notation will be removed from the elements inside
structures, the next varibles will be renamed:
Original: Replacement:
dw_seg_base_va seg_base_va
dw_self_loop self_loop
dw_state state
dw_tc_endianism tc_endianism
dw_test_base test_base
dw_type type
dw_val1 val1
dw_val2 val2
dw_val3 val3
dw_va va
dw_virt_base virt_base
dw_vm_base vm_base
dw_vm_size vm_size
pfn_allocate allocate
pfn_brd_mem_copy brd_mem_copy
pfn_brd_mem_map brd_mem_map
pfn_brd_mem_un_map brd_mem_un_map
pfn_brd_mem_write brd_mem_write
pfn_brd_monitor brd_monitor
pfn_brd_read brd_read
Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Diffstat (limited to 'drivers/staging/tidspbridge/include')
6 files changed, 17 insertions, 17 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h b/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h index ea547380012..318f6b007d5 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h +++ b/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h | |||
@@ -127,7 +127,7 @@ struct chnl_mgr { | |||
127 | u8 max_channels; /* Total number of channels */ | 127 | u8 max_channels; /* Total number of channels */ |
128 | u8 open_channels; /* Total number of open channels */ | 128 | u8 open_channels; /* Total number of open channels */ |
129 | struct chnl_object **ap_channel; /* Array of channels */ | 129 | struct chnl_object **ap_channel; /* Array of channels */ |
130 | u8 dw_type; /* Type of channel class library */ | 130 | u8 type; /* Type of channel class library */ |
131 | /* If no shm syms, return for CHNL_Open */ | 131 | /* If no shm syms, return for CHNL_Open */ |
132 | int chnl_open_status; | 132 | int chnl_open_status; |
133 | }; | 133 | }; |
@@ -140,7 +140,7 @@ struct chnl_object { | |||
140 | /* Pointer back to channel manager */ | 140 | /* Pointer back to channel manager */ |
141 | struct chnl_mgr *chnl_mgr_obj; | 141 | struct chnl_mgr *chnl_mgr_obj; |
142 | u32 chnl_id; /* Channel id */ | 142 | u32 chnl_id; /* Channel id */ |
143 | u8 dw_state; /* Current channel state */ | 143 | u8 state; /* Current channel state */ |
144 | s8 chnl_mode; /* Chnl mode and attributes */ | 144 | s8 chnl_mode; /* Chnl mode and attributes */ |
145 | /* Chnl I/O completion event (user mode) */ | 145 | /* Chnl I/O completion event (user mode) */ |
146 | void *user_event; | 146 | void *user_event; |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/chnlpriv.h b/drivers/staging/tidspbridge/include/dspbridge/chnlpriv.h index 29e66dd525e..e79cbd583c0 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/chnlpriv.h +++ b/drivers/staging/tidspbridge/include/dspbridge/chnlpriv.h | |||
@@ -59,7 +59,7 @@ struct chnl_info { | |||
59 | /*Abstraction of I/O completion event. */ | 59 | /*Abstraction of I/O completion event. */ |
60 | struct sync_object *sync_event; | 60 | struct sync_object *sync_event; |
61 | s8 mode; /* Channel mode. */ | 61 | s8 mode; /* Channel mode. */ |
62 | u8 dw_state; /* Current channel state. */ | 62 | u8 state; /* Current channel state. */ |
63 | u32 bytes_tx; /* Total bytes transferred. */ | 63 | u32 bytes_tx; /* Total bytes transferred. */ |
64 | u32 cio_cs; /* Number of IOCs in queue. */ | 64 | u32 cio_cs; /* Number of IOCs in queue. */ |
65 | u32 cio_reqs; /* Number of IO Requests in queue. */ | 65 | u32 cio_reqs; /* Number of IO Requests in queue. */ |
@@ -68,7 +68,7 @@ struct chnl_info { | |||
68 | 68 | ||
69 | /* Channel manager info: */ | 69 | /* Channel manager info: */ |
70 | struct chnl_mgrinfo { | 70 | struct chnl_mgrinfo { |
71 | u8 dw_type; /* Type of channel class library. */ | 71 | u8 type; /* Type of channel class library. */ |
72 | /* Channel handle, given the channel id. */ | 72 | /* Channel handle, given the channel id. */ |
73 | struct chnl_object *chnl_obj; | 73 | struct chnl_object *chnl_obj; |
74 | u8 open_channels; /* Number of open channels. */ | 74 | u8 open_channels; /* Number of open channels. */ |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/cmmdefs.h b/drivers/staging/tidspbridge/include/dspbridge/cmmdefs.h index 8cd1494ccc8..719628e0e60 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/cmmdefs.h +++ b/drivers/staging/tidspbridge/include/dspbridge/cmmdefs.h | |||
@@ -60,7 +60,7 @@ struct cmm_seginfo { | |||
60 | u32 ul_dsp_size; /* DSP seg size in bytes */ | 60 | u32 ul_dsp_size; /* DSP seg size in bytes */ |
61 | /* # of current GPP allocations from this segment */ | 61 | /* # of current GPP allocations from this segment */ |
62 | u32 ul_in_use_cnt; | 62 | u32 ul_in_use_cnt; |
63 | u32 dw_seg_base_va; /* Start Virt address of SM seg */ | 63 | u32 seg_base_va; /* Start Virt address of SM seg */ |
64 | 64 | ||
65 | }; | 65 | }; |
66 | 66 | ||
@@ -83,8 +83,8 @@ struct cmm_xlatorattrs { | |||
83 | u32 dsp_buf_size; /* size of DSP-side bufs in GPP bytes */ | 83 | u32 dsp_buf_size; /* size of DSP-side bufs in GPP bytes */ |
84 | /* Vm base address alloc'd in client process context */ | 84 | /* Vm base address alloc'd in client process context */ |
85 | void *vm_base; | 85 | void *vm_base; |
86 | /* dw_vm_size must be >= (dwMaxNumBufs * dwMaxSize) */ | 86 | /* vm_size must be >= (dwMaxNumBufs * dwMaxSize) */ |
87 | u32 dw_vm_size; | 87 | u32 vm_size; |
88 | }; | 88 | }; |
89 | 89 | ||
90 | /* | 90 | /* |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h b/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h index 6ba66c500e7..7a0573dd91f 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h +++ b/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h | |||
@@ -369,9 +369,9 @@ struct dsp_processorinfo { | |||
369 | /* Error information of last DSP exception signalled to the GPP */ | 369 | /* Error information of last DSP exception signalled to the GPP */ |
370 | struct dsp_errorinfo { | 370 | struct dsp_errorinfo { |
371 | u32 err_mask; | 371 | u32 err_mask; |
372 | u32 dw_val1; | 372 | u32 val1; |
373 | u32 dw_val2; | 373 | u32 val2; |
374 | u32 dw_val3; | 374 | u32 val3; |
375 | }; | 375 | }; |
376 | 376 | ||
377 | /* The dsp_processorstate structure describes the state of a DSP processor */ | 377 | /* The dsp_processorstate structure describes the state of a DSP processor */ |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/dspdefs.h b/drivers/staging/tidspbridge/include/dspbridge/dspdefs.h index 4eaeb21727b..380d8884307 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/dspdefs.h +++ b/drivers/staging/tidspbridge/include/dspbridge/dspdefs.h | |||
@@ -978,17 +978,17 @@ struct bridge_drv_interface { | |||
978 | fxn_dev_create pfn_dev_create; /* Create device context */ | 978 | fxn_dev_create pfn_dev_create; /* Create device context */ |
979 | fxn_dev_destroy pfn_dev_destroy; /* Destroy device context */ | 979 | fxn_dev_destroy pfn_dev_destroy; /* Destroy device context */ |
980 | fxn_dev_ctrl pfn_dev_cntrl; /* Optional vendor interface */ | 980 | fxn_dev_ctrl pfn_dev_cntrl; /* Optional vendor interface */ |
981 | fxn_brd_monitor pfn_brd_monitor; /* Load and/or start monitor */ | 981 | fxn_brd_monitor brd_monitor; /* Load and/or start monitor */ |
982 | fxn_brd_start pfn_brd_start; /* Start DSP program. */ | 982 | fxn_brd_start pfn_brd_start; /* Start DSP program. */ |
983 | fxn_brd_stop pfn_brd_stop; /* Stop/reset board. */ | 983 | fxn_brd_stop pfn_brd_stop; /* Stop/reset board. */ |
984 | fxn_brd_status pfn_brd_status; /* Get current board status. */ | 984 | fxn_brd_status pfn_brd_status; /* Get current board status. */ |
985 | fxn_brd_read pfn_brd_read; /* Read board memory */ | 985 | fxn_brd_read brd_read; /* Read board memory */ |
986 | fxn_brd_write pfn_brd_write; /* Write board memory. */ | 986 | fxn_brd_write pfn_brd_write; /* Write board memory. */ |
987 | fxn_brd_setstate pfn_brd_set_state; /* Sets the Board State */ | 987 | fxn_brd_setstate pfn_brd_set_state; /* Sets the Board State */ |
988 | fxn_brd_memcopy pfn_brd_mem_copy; /* Copies DSP Memory */ | 988 | fxn_brd_memcopy brd_mem_copy; /* Copies DSP Memory */ |
989 | fxn_brd_memwrite pfn_brd_mem_write; /* Write DSP Memory w/o halt */ | 989 | fxn_brd_memwrite brd_mem_write; /* Write DSP Memory w/o halt */ |
990 | fxn_brd_memmap pfn_brd_mem_map; /* Maps MPU mem to DSP mem */ | 990 | fxn_brd_memmap brd_mem_map; /* Maps MPU mem to DSP mem */ |
991 | fxn_brd_memunmap pfn_brd_mem_un_map; /* Unmaps MPU mem to DSP mem */ | 991 | fxn_brd_memunmap brd_mem_un_map; /* Unmaps MPU mem to DSP mem */ |
992 | fxn_chnl_create pfn_chnl_create; /* Create channel manager. */ | 992 | fxn_chnl_create pfn_chnl_create; /* Create channel manager. */ |
993 | fxn_chnl_destroy pfn_chnl_destroy; /* Destroy channel manager. */ | 993 | fxn_chnl_destroy pfn_chnl_destroy; /* Destroy channel manager. */ |
994 | fxn_chnl_open pfn_chnl_open; /* Create a new channel. */ | 994 | fxn_chnl_open pfn_chnl_open; /* Create a new channel. */ |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/nldrdefs.h b/drivers/staging/tidspbridge/include/dspbridge/nldrdefs.h index c85d3da3fe2..b1a9072a1ff 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/nldrdefs.h +++ b/drivers/staging/tidspbridge/include/dspbridge/nldrdefs.h | |||
@@ -280,7 +280,7 @@ typedef int(*nldr_unloadfxn) (struct nldr_nodeobject *nldr_node_obj, | |||
280 | * ======== node_ldr_fxns ======== | 280 | * ======== node_ldr_fxns ======== |
281 | */ | 281 | */ |
282 | struct node_ldr_fxns { | 282 | struct node_ldr_fxns { |
283 | nldr_allocatefxn pfn_allocate; | 283 | nldr_allocatefxn allocate; |
284 | nldr_createfxn pfn_create; | 284 | nldr_createfxn pfn_create; |
285 | nldr_deletefxn pfn_delete; | 285 | nldr_deletefxn pfn_delete; |
286 | nldr_exitfxn pfn_exit; | 286 | nldr_exitfxn pfn_exit; |