diff options
Diffstat (limited to 'drivers/staging/tidspbridge/include/dspbridge')
11 files changed, 28 insertions, 28 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h b/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h index d60e2525802..6e7ab4fd8c3 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h +++ b/drivers/staging/tidspbridge/include/dspbridge/_chnl_sm.h | |||
@@ -144,7 +144,7 @@ struct chnl_object { | |||
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; |
147 | /* Abstract syncronization object */ | 147 | /* Abstract synchronization object */ |
148 | struct sync_object *sync_event; | 148 | struct sync_object *sync_event; |
149 | u32 process; /* Process which created this channel */ | 149 | u32 process; /* Process which created this channel */ |
150 | u32 cb_arg; /* Argument to use with callback */ | 150 | u32 cb_arg; /* Argument to use with callback */ |
@@ -156,7 +156,7 @@ struct chnl_object { | |||
156 | struct list_head io_completions; | 156 | struct list_head io_completions; |
157 | struct list_head free_packets_list; /* List of free Irps */ | 157 | struct list_head free_packets_list; /* List of free Irps */ |
158 | struct ntfy_object *ntfy_obj; | 158 | struct ntfy_object *ntfy_obj; |
159 | u32 bytes_moved; /* Total number of bytes transfered */ | 159 | u32 bytes_moved; /* Total number of bytes transferred */ |
160 | 160 | ||
161 | /* For DSP-DMA */ | 161 | /* For DSP-DMA */ |
162 | 162 | ||
diff --git a/drivers/staging/tidspbridge/include/dspbridge/clk.h b/drivers/staging/tidspbridge/include/dspbridge/clk.h index b2395032342..685341c5069 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/clk.h +++ b/drivers/staging/tidspbridge/include/dspbridge/clk.h | |||
@@ -55,7 +55,7 @@ extern void dsp_clk_exit(void); | |||
55 | * Initializes private state of CLK module. | 55 | * Initializes private state of CLK module. |
56 | * Parameters: | 56 | * Parameters: |
57 | * Returns: | 57 | * Returns: |
58 | * TRUE if initialized; FALSE if error occured. | 58 | * TRUE if initialized; FALSE if error occurred. |
59 | * Requires: | 59 | * Requires: |
60 | * Ensures: | 60 | * Ensures: |
61 | * CLK initialized. | 61 | * CLK initialized. |
@@ -71,7 +71,7 @@ void dsp_gpt_wait_overflow(short int clk_id, unsigned int load); | |||
71 | * Parameters: | 71 | * Parameters: |
72 | * Returns: | 72 | * Returns: |
73 | * 0: Success. | 73 | * 0: Success. |
74 | * -EPERM: Error occured while enabling the clock. | 74 | * -EPERM: Error occurred while enabling the clock. |
75 | * Requires: | 75 | * Requires: |
76 | * Ensures: | 76 | * Ensures: |
77 | */ | 77 | */ |
@@ -86,7 +86,7 @@ u32 dsp_clock_enable_all(u32 dsp_per_clocks); | |||
86 | * Parameters: | 86 | * Parameters: |
87 | * Returns: | 87 | * Returns: |
88 | * 0: Success. | 88 | * 0: Success. |
89 | * -EPERM: Error occured while disabling the clock. | 89 | * -EPERM: Error occurred while disabling the clock. |
90 | * Requires: | 90 | * Requires: |
91 | * Ensures: | 91 | * Ensures: |
92 | */ | 92 | */ |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/cmm.h b/drivers/staging/tidspbridge/include/dspbridge/cmm.h index 27a21b5f3ff..aff22051cf5 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/cmm.h +++ b/drivers/staging/tidspbridge/include/dspbridge/cmm.h | |||
@@ -190,7 +190,7 @@ extern int cmm_get_info(struct cmm_object *hcmm_mgr, | |||
190 | * Initializes private state of CMM module. | 190 | * Initializes private state of CMM module. |
191 | * Parameters: | 191 | * Parameters: |
192 | * Returns: | 192 | * Returns: |
193 | * TRUE if initialized; FALSE if error occured. | 193 | * TRUE if initialized; FALSE if error occurred. |
194 | * Requires: | 194 | * Requires: |
195 | * Ensures: | 195 | * Ensures: |
196 | * CMM initialized. | 196 | * CMM initialized. |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/cod.h b/drivers/staging/tidspbridge/include/dspbridge/cod.h index 53bd4bb8b0b..cb684c11b30 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/cod.h +++ b/drivers/staging/tidspbridge/include/dspbridge/cod.h | |||
@@ -249,7 +249,7 @@ extern int cod_get_sym_value(struct cod_manager *cod_mgr_obj, | |||
249 | * Parameters: | 249 | * Parameters: |
250 | * None. | 250 | * None. |
251 | * Returns: | 251 | * Returns: |
252 | * TRUE if initialized; FALSE if error occured. | 252 | * TRUE if initialized; FALSE if error occurred. |
253 | * Requires: | 253 | * Requires: |
254 | * Ensures: | 254 | * Ensures: |
255 | * A requirement for each of the other public COD functions. | 255 | * A requirement for each of the other public COD functions. |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/dev.h b/drivers/staging/tidspbridge/include/dspbridge/dev.h index f41e4783157..f92b4be0b41 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/dev.h +++ b/drivers/staging/tidspbridge/include/dspbridge/dev.h | |||
@@ -497,7 +497,7 @@ extern void dev_exit(void); | |||
497 | * Initialize DEV's private state, keeping a reference count on each call. | 497 | * Initialize DEV's private state, keeping a reference count on each call. |
498 | * Parameters: | 498 | * Parameters: |
499 | * Returns: | 499 | * Returns: |
500 | * TRUE if initialized; FALSE if error occured. | 500 | * TRUE if initialized; FALSE if error occurred. |
501 | * Requires: | 501 | * Requires: |
502 | * Ensures: | 502 | * Ensures: |
503 | * TRUE: A requirement for the other public DEV functions. | 503 | * TRUE: A requirement for the other public DEV functions. |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/drv.h b/drivers/staging/tidspbridge/include/dspbridge/drv.h index 25ef1a2c58e..9cdbd955dce 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/drv.h +++ b/drivers/staging/tidspbridge/include/dspbridge/drv.h | |||
@@ -154,7 +154,7 @@ struct process_context { | |||
154 | * Parameters: | 154 | * Parameters: |
155 | * drv_obj: Location to store created DRV Object handle. | 155 | * drv_obj: Location to store created DRV Object handle. |
156 | * Returns: | 156 | * Returns: |
157 | * 0: Sucess | 157 | * 0: Success |
158 | * -ENOMEM: Failed in Memory allocation | 158 | * -ENOMEM: Failed in Memory allocation |
159 | * -EPERM: General Failure | 159 | * -EPERM: General Failure |
160 | * Requires: | 160 | * Requires: |
@@ -170,7 +170,7 @@ struct process_context { | |||
170 | * There is one Driver Object for the Driver representing | 170 | * There is one Driver Object for the Driver representing |
171 | * the driver itself. It contains the list of device | 171 | * the driver itself. It contains the list of device |
172 | * Objects and the list of Device Extensions in the system. | 172 | * Objects and the list of Device Extensions in the system. |
173 | * Also it can hold other neccessary | 173 | * Also it can hold other necessary |
174 | * information in its storage area. | 174 | * information in its storage area. |
175 | */ | 175 | */ |
176 | extern int drv_create(struct drv_object **drv_obj); | 176 | extern int drv_create(struct drv_object **drv_obj); |
@@ -180,7 +180,7 @@ extern int drv_create(struct drv_object **drv_obj); | |||
180 | * Purpose: | 180 | * Purpose: |
181 | * destroys the Dev Object list, DrvExt list | 181 | * destroys the Dev Object list, DrvExt list |
182 | * and destroy the DRV object | 182 | * and destroy the DRV object |
183 | * Called upon driver unLoading.or unsuccesful loading of the driver. | 183 | * Called upon driver unLoading.or unsuccessful loading of the driver. |
184 | * Parameters: | 184 | * Parameters: |
185 | * driver_obj: Handle to Driver object . | 185 | * driver_obj: Handle to Driver object . |
186 | * Returns: | 186 | * Returns: |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/dspdefs.h b/drivers/staging/tidspbridge/include/dspbridge/dspdefs.h index c2ba26c0930..ed32bf38313 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/dspdefs.h +++ b/drivers/staging/tidspbridge/include/dspbridge/dspdefs.h | |||
@@ -52,7 +52,7 @@ struct bridge_dev_context; | |||
52 | * dev_ctxt: Handle to Bridge driver defined device context. | 52 | * dev_ctxt: Handle to Bridge driver defined device context. |
53 | * Returns: | 53 | * Returns: |
54 | * 0: Success. | 54 | * 0: Success. |
55 | * -ETIMEDOUT: Timeout occured waiting for a response from hardware. | 55 | * -ETIMEDOUT: Timeout occurred waiting for a response from hardware. |
56 | * -EPERM: Other, unspecified error. | 56 | * -EPERM: Other, unspecified error. |
57 | * Requires: | 57 | * Requires: |
58 | * dev_ctxt != NULL | 58 | * dev_ctxt != NULL |
@@ -91,7 +91,7 @@ typedef int(*fxn_brd_setstate) (struct bridge_dev_context | |||
91 | * dsp_addr: DSP address at which to start execution. | 91 | * dsp_addr: DSP address at which to start execution. |
92 | * Returns: | 92 | * Returns: |
93 | * 0: Success. | 93 | * 0: Success. |
94 | * -ETIMEDOUT: Timeout occured waiting for a response from hardware. | 94 | * -ETIMEDOUT: Timeout occurred waiting for a response from hardware. |
95 | * -EPERM: Other, unspecified error. | 95 | * -EPERM: Other, unspecified error. |
96 | * Requires: | 96 | * Requires: |
97 | * dev_ctxt != NULL | 97 | * dev_ctxt != NULL |
@@ -142,7 +142,7 @@ typedef int(*fxn_brd_memcopy) (struct bridge_dev_context | |||
142 | * mem_type: Memory space on DSP to which to transfer. | 142 | * mem_type: Memory space on DSP to which to transfer. |
143 | * Returns: | 143 | * Returns: |
144 | * 0: Success. | 144 | * 0: Success. |
145 | * -ETIMEDOUT: Timeout occured waiting for a response from hardware. | 145 | * -ETIMEDOUT: Timeout occurred waiting for a response from hardware. |
146 | * -EPERM: Other, unspecified error. | 146 | * -EPERM: Other, unspecified error. |
147 | * Requires: | 147 | * Requires: |
148 | * dev_ctxt != NULL; | 148 | * dev_ctxt != NULL; |
@@ -205,7 +205,7 @@ typedef int(*fxn_brd_memunmap) (struct bridge_dev_context | |||
205 | * dev_ctxt: Handle to Bridge driver defined device context. | 205 | * dev_ctxt: Handle to Bridge driver defined device context. |
206 | * Returns: | 206 | * Returns: |
207 | * 0: Success. | 207 | * 0: Success. |
208 | * -ETIMEDOUT: Timeout occured waiting for a response from hardware. | 208 | * -ETIMEDOUT: Timeout occurred waiting for a response from hardware. |
209 | * -EPERM: Other, unspecified error. | 209 | * -EPERM: Other, unspecified error. |
210 | * Requires: | 210 | * Requires: |
211 | * dev_ctxt != NULL | 211 | * dev_ctxt != NULL |
@@ -248,7 +248,7 @@ typedef int(*fxn_brd_status) (struct bridge_dev_context *dev_ctxt, | |||
248 | * mem_type: Memory space on DSP from which to transfer. | 248 | * mem_type: Memory space on DSP from which to transfer. |
249 | * Returns: | 249 | * Returns: |
250 | * 0: Success. | 250 | * 0: Success. |
251 | * -ETIMEDOUT: Timeout occured waiting for a response from hardware. | 251 | * -ETIMEDOUT: Timeout occurred waiting for a response from hardware. |
252 | * -EPERM: Other, unspecified error. | 252 | * -EPERM: Other, unspecified error. |
253 | * Requires: | 253 | * Requires: |
254 | * dev_ctxt != NULL; | 254 | * dev_ctxt != NULL; |
@@ -274,7 +274,7 @@ typedef int(*fxn_brd_read) (struct bridge_dev_context *dev_ctxt, | |||
274 | * mem_type: Memory space on DSP to which to transfer. | 274 | * mem_type: Memory space on DSP to which to transfer. |
275 | * Returns: | 275 | * Returns: |
276 | * 0: Success. | 276 | * 0: Success. |
277 | * -ETIMEDOUT: Timeout occured waiting for a response from hardware. | 277 | * -ETIMEDOUT: Timeout occurred waiting for a response from hardware. |
278 | * -EPERM: Other, unspecified error. | 278 | * -EPERM: Other, unspecified error. |
279 | * Requires: | 279 | * Requires: |
280 | * dev_ctxt != NULL; | 280 | * dev_ctxt != NULL; |
@@ -601,7 +601,7 @@ typedef int(*fxn_chnl_getmgrinfo) (struct chnl_mgr | |||
601 | * Returns: | 601 | * Returns: |
602 | * 0: Success; | 602 | * 0: Success; |
603 | * -EFAULT: Invalid chnl_obj. | 603 | * -EFAULT: Invalid chnl_obj. |
604 | * -ETIMEDOUT: Timeout occured before channel could be idled. | 604 | * -ETIMEDOUT: Timeout occurred before channel could be idled. |
605 | * Requires: | 605 | * Requires: |
606 | * Ensures: | 606 | * Ensures: |
607 | */ | 607 | */ |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/mgr.h b/drivers/staging/tidspbridge/include/dspbridge/mgr.h index e506c4d4947..47b0318430e 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/mgr.h +++ b/drivers/staging/tidspbridge/include/dspbridge/mgr.h | |||
@@ -176,7 +176,7 @@ extern void mgr_exit(void); | |||
176 | * mgr_handle: Handle to the Manager Object | 176 | * mgr_handle: Handle to the Manager Object |
177 | * dcd_handle: Ptr to receive the DCD Handle. | 177 | * dcd_handle: Ptr to receive the DCD Handle. |
178 | * Returns: | 178 | * Returns: |
179 | * 0: Sucess | 179 | * 0: Success |
180 | * -EPERM: Failure to get the Handle | 180 | * -EPERM: Failure to get the Handle |
181 | * Requires: | 181 | * Requires: |
182 | * MGR is initialized. | 182 | * MGR is initialized. |
@@ -195,7 +195,7 @@ extern int mgr_get_dcd_handle(struct mgr_object | |||
195 | * call. Initializes the DCD. | 195 | * call. Initializes the DCD. |
196 | * Parameters: | 196 | * Parameters: |
197 | * Returns: | 197 | * Returns: |
198 | * TRUE if initialized; FALSE if error occured. | 198 | * TRUE if initialized; FALSE if error occurred. |
199 | * Requires: | 199 | * Requires: |
200 | * Ensures: | 200 | * Ensures: |
201 | * TRUE: A requirement for the other public MGR functions. | 201 | * TRUE: A requirement for the other public MGR functions. |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/node.h b/drivers/staging/tidspbridge/include/dspbridge/node.h index 53da0ef483c..16371d818e3 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/node.h +++ b/drivers/staging/tidspbridge/include/dspbridge/node.h | |||
@@ -44,7 +44,7 @@ | |||
44 | * -ESPIPE: iAlg functions not found for a DAIS node. | 44 | * -ESPIPE: iAlg functions not found for a DAIS node. |
45 | * -EDOM: attr_in != NULL and attr_in->prio out of | 45 | * -EDOM: attr_in != NULL and attr_in->prio out of |
46 | * range. | 46 | * range. |
47 | * -EPERM: A failure occured, unable to allocate node. | 47 | * -EPERM: A failure occurred, unable to allocate node. |
48 | * -EBADR: Proccessor is not in the running state. | 48 | * -EBADR: Proccessor is not in the running state. |
49 | * Requires: | 49 | * Requires: |
50 | * node_init(void) called. | 50 | * node_init(void) called. |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/proc.h b/drivers/staging/tidspbridge/include/dspbridge/proc.h index 5e09fd165d9..f00dffd5198 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/proc.h +++ b/drivers/staging/tidspbridge/include/dspbridge/proc.h | |||
@@ -89,7 +89,7 @@ extern int proc_auto_start(struct cfg_devnode *dev_node_obj, | |||
89 | * Returns: | 89 | * Returns: |
90 | * 0 : SUCCESS | 90 | * 0 : SUCCESS |
91 | * -EFAULT : Invalid processor handle. | 91 | * -EFAULT : Invalid processor handle. |
92 | * -ETIME: A Timeout Occured before the Control information | 92 | * -ETIME: A Timeout Occurred before the Control information |
93 | * could be sent. | 93 | * could be sent. |
94 | * -EPERM : General Failure. | 94 | * -EPERM : General Failure. |
95 | * Requires: | 95 | * Requires: |
@@ -169,7 +169,7 @@ extern int proc_enum_nodes(void *hprocessor, | |||
169 | * 0 : Success. | 169 | * 0 : Success. |
170 | * -EFAULT : Invalid processor handle. | 170 | * -EFAULT : Invalid processor handle. |
171 | * -EBADR: The processor is not in the PROC_RUNNING state. | 171 | * -EBADR: The processor is not in the PROC_RUNNING state. |
172 | * -ETIME: A timeout occured before the DSP responded to the | 172 | * -ETIME: A timeout occurred before the DSP responded to the |
173 | * querry. | 173 | * querry. |
174 | * -EPERM : Unable to get Resource Information | 174 | * -EPERM : Unable to get Resource Information |
175 | * Requires: | 175 | * Requires: |
@@ -229,7 +229,7 @@ extern int proc_get_dev_object(void *hprocessor, | |||
229 | * call. | 229 | * call. |
230 | * Parameters: | 230 | * Parameters: |
231 | * Returns: | 231 | * Returns: |
232 | * TRUE if initialized; FALSE if error occured. | 232 | * TRUE if initialized; FALSE if error occurred. |
233 | * Requires: | 233 | * Requires: |
234 | * Ensures: | 234 | * Ensures: |
235 | * TRUE: A requirement for the other public PROC functions. | 235 | * TRUE: A requirement for the other public PROC functions. |
diff --git a/drivers/staging/tidspbridge/include/dspbridge/pwr.h b/drivers/staging/tidspbridge/include/dspbridge/pwr.h index 5e3ab2123aa..0fb066488da 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/pwr.h +++ b/drivers/staging/tidspbridge/include/dspbridge/pwr.h | |||
@@ -46,7 +46,7 @@ | |||
46 | * 0: Success. | 46 | * 0: Success. |
47 | * 0: Success, but the DSP was already asleep. | 47 | * 0: Success, but the DSP was already asleep. |
48 | * -EINVAL: The specified sleep_code is not supported. | 48 | * -EINVAL: The specified sleep_code is not supported. |
49 | * -ETIME: A timeout occured while waiting for DSP sleep | 49 | * -ETIME: A timeout occurred while waiting for DSP sleep |
50 | * confirmation. | 50 | * confirmation. |
51 | * -EPERM: General failure, unable to send sleep command to | 51 | * -EPERM: General failure, unable to send sleep command to |
52 | * the DSP. | 52 | * the DSP. |
@@ -67,7 +67,7 @@ extern int pwr_sleep_dsp(const u32 sleep_code, const u32 timeout); | |||
67 | * Returns: | 67 | * Returns: |
68 | * 0: Success. | 68 | * 0: Success. |
69 | * 0: Success, but the DSP was already awake. | 69 | * 0: Success, but the DSP was already awake. |
70 | * -ETIME: A timeout occured while waiting for wake | 70 | * -ETIME: A timeout occurred while waiting for wake |
71 | * confirmation. | 71 | * confirmation. |
72 | * -EPERM: General failure, unable to send wake command to | 72 | * -EPERM: General failure, unable to send wake command to |
73 | * the DSP. | 73 | * the DSP. |
@@ -85,7 +85,7 @@ extern int pwr_wake_dsp(const u32 timeout); | |||
85 | * Returns: | 85 | * Returns: |
86 | * 0: Success. | 86 | * 0: Success. |
87 | * 0: Success, but the DSP was already awake. | 87 | * 0: Success, but the DSP was already awake. |
88 | * -ETIME: A timeout occured while waiting for wake | 88 | * -ETIME: A timeout occurred while waiting for wake |
89 | * confirmation. | 89 | * confirmation. |
90 | * -EPERM: General failure, unable to send wake command to | 90 | * -EPERM: General failure, unable to send wake command to |
91 | * the DSP. | 91 | * the DSP. |
@@ -103,7 +103,7 @@ extern int pwr_pm_pre_scale(u16 voltage_domain, u32 level); | |||
103 | * Returns: | 103 | * Returns: |
104 | * 0: Success. | 104 | * 0: Success. |
105 | * 0: Success, but the DSP was already awake. | 105 | * 0: Success, but the DSP was already awake. |
106 | * -ETIME: A timeout occured while waiting for wake | 106 | * -ETIME: A timeout occurred while waiting for wake |
107 | * confirmation. | 107 | * confirmation. |
108 | * -EPERM: General failure, unable to send wake command to | 108 | * -EPERM: General failure, unable to send wake command to |
109 | * the DSP. | 109 | * the DSP. |