aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/tidspbridge/include')
-rw-r--r--drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h4
-rw-r--r--drivers/staging/tidspbridge/include/dspbridge/cfgdefs.h20
-rw-r--r--drivers/staging/tidspbridge/include/dspbridge/chnlpriv.h2
-rw-r--r--drivers/staging/tidspbridge/include/dspbridge/cmmdefs.h2
4 files changed, 14 insertions, 14 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h b/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h
index 14b0567e531..ea547380012 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h
@@ -119,8 +119,8 @@ struct chnl_mgr {
119 struct dev_object *hdev_obj; 119 struct dev_object *hdev_obj;
120 120
121 /* These fields initialized in bridge_chnl_create(): */ 121 /* These fields initialized in bridge_chnl_create(): */
122 u32 dw_output_mask; /* Host output channels w/ full buffers */ 122 u32 output_mask; /* Host output channels w/ full buffers */
123 u32 dw_last_output; /* Last output channel fired from DPC */ 123 u32 last_output; /* Last output channel fired from DPC */
124 /* Critical section object handle */ 124 /* Critical section object handle */
125 spinlock_t chnl_mgr_lock; 125 spinlock_t chnl_mgr_lock;
126 u32 word_size; /* Size in bytes of DSP word */ 126 u32 word_size; /* Size in bytes of DSP word */
diff --git a/drivers/staging/tidspbridge/include/dspbridge/cfgdefs.h b/drivers/staging/tidspbridge/include/dspbridge/cfgdefs.h
index f7c105af3da..60a278136bd 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/cfgdefs.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/cfgdefs.h
@@ -34,28 +34,28 @@ struct cfg_devnode;
34struct cfg_hostres { 34struct cfg_hostres {
35 u32 num_mem_windows; /* Set to default */ 35 u32 num_mem_windows; /* Set to default */
36 /* This is the base.memory */ 36 /* This is the base.memory */
37 u32 dw_mem_base[CFG_MAXMEMREGISTERS]; /* shm virtual address */ 37 u32 mem_base[CFG_MAXMEMREGISTERS]; /* shm virtual address */
38 u32 dw_mem_length[CFG_MAXMEMREGISTERS]; /* Length of the Base */ 38 u32 mem_length[CFG_MAXMEMREGISTERS]; /* Length of the Base */
39 u32 dw_mem_phys[CFG_MAXMEMREGISTERS]; /* shm Physical address */ 39 u32 mem_phys[CFG_MAXMEMREGISTERS]; /* shm Physical address */
40 u8 birq_registers; /* IRQ Number */ 40 u8 birq_registers; /* IRQ Number */
41 u8 birq_attrib; /* IRQ Attribute */ 41 u8 birq_attrib; /* IRQ Attribute */
42 u32 dw_offset_for_monitor; /* The Shared memory starts from 42 u32 offset_for_monitor; /* The Shared memory starts from
43 * dw_mem_base + this offset */ 43 * mem_base + this offset */
44 /* 44 /*
45 * Info needed by NODE for allocating channels to communicate with RMS: 45 * Info needed by NODE for allocating channels to communicate with RMS:
46 * chnl_offset: Offset of RMS channels. Lower channels are 46 * chnl_offset: Offset of RMS channels. Lower channels are
47 * reserved. 47 * reserved.
48 * chnl_buf_size: Size of channel buffer to send to RMS 48 * chnl_buf_size: Size of channel buffer to send to RMS
49 * dw_num_chnls: Total number of channels 49 * num_chnls: Total number of channels
50 * (including reserved). 50 * (including reserved).
51 */ 51 */
52 u32 chnl_offset; 52 u32 chnl_offset;
53 u32 chnl_buf_size; 53 u32 chnl_buf_size;
54 u32 dw_num_chnls; 54 u32 num_chnls;
55 void __iomem *dw_per_base; 55 void __iomem *per_base;
56 u32 dw_per_pm_base; 56 u32 per_pm_base;
57 u32 core_pm_base; 57 u32 core_pm_base;
58 void __iomem *dw_dmmu_base; 58 void __iomem *dmmu_base;
59}; 59};
60 60
61#endif /* CFGDEFS_ */ 61#endif /* CFGDEFS_ */
diff --git a/drivers/staging/tidspbridge/include/dspbridge/chnlpriv.h b/drivers/staging/tidspbridge/include/dspbridge/chnlpriv.h
index 1785c3e8371..29e66dd525e 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/chnlpriv.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/chnlpriv.h
@@ -58,7 +58,7 @@ struct chnl_info {
58 void *event_obj; /* Channel I/O completion event. */ 58 void *event_obj; /* Channel I/O completion event. */
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 dw_mode; /* Channel mode. */ 61 s8 mode; /* Channel mode. */
62 u8 dw_state; /* Current channel state. */ 62 u8 dw_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. */
diff --git a/drivers/staging/tidspbridge/include/dspbridge/cmmdefs.h b/drivers/staging/tidspbridge/include/dspbridge/cmmdefs.h
index 943d91f809e..8cd1494ccc8 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/cmmdefs.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/cmmdefs.h
@@ -51,7 +51,7 @@ struct cmm_attrs {
51 */ 51 */
52 52
53struct cmm_seginfo { 53struct cmm_seginfo {
54 u32 dw_seg_base_pa; /* Start Phys address of SM segment */ 54 u32 seg_base_pa; /* Start Phys address of SM segment */
55 /* Total size in bytes of segment: DSP+GPP */ 55 /* Total size in bytes of segment: DSP+GPP */
56 u32 ul_total_seg_size; 56 u32 ul_total_seg_size;
57 u32 gpp_base_pa; /* Start Phys addr of Gpp SM seg */ 57 u32 gpp_base_pa; /* Start Phys addr of Gpp SM seg */