.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Keystone Navigator QMSS driver internal header |
---|
3 | 4 | * |
---|
.. | .. |
---|
5 | 6 | * Author: Sandeep Nair <sandeep_n@ti.com> |
---|
6 | 7 | * Cyril Chemparathy <cyril@ti.com> |
---|
7 | 8 | * Santosh Shilimkar <santosh.shilimkar@ti.com> |
---|
8 | | - * |
---|
9 | | - * This program is free software; you can redistribute it and/or |
---|
10 | | - * modify it under the terms of the GNU General Public License |
---|
11 | | - * version 2 as published by the Free Software Foundation. |
---|
12 | | - * |
---|
13 | | - * This program is distributed in the hope that it will be useful, but |
---|
14 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
16 | | - * General Public License for more details. |
---|
17 | 9 | */ |
---|
18 | 10 | |
---|
19 | 11 | #ifndef __KNAV_QMSS_H__ |
---|
.. | .. |
---|
75 | 67 | u32 link_ram_size0; |
---|
76 | 68 | u32 link_ram_base1; |
---|
77 | 69 | u32 __pad2[2]; |
---|
78 | | - u32 starvation[0]; |
---|
| 70 | + u32 starvation[]; |
---|
79 | 71 | }; |
---|
80 | 72 | |
---|
81 | 73 | struct knav_reg_region { |
---|
.. | .. |
---|
240 | 232 | }; |
---|
241 | 233 | |
---|
242 | 234 | /** |
---|
243 | | - * struct knav_queue_inst: qmss queue instace properties |
---|
| 235 | + * struct knav_queue_inst: qmss queue instance properties |
---|
244 | 236 | * @descs: descriptor pointer |
---|
245 | 237 | * @desc_head, desc_tail, desc_count: descriptor counters |
---|
246 | 238 | * @acc: accumulator channel pointer |
---|
247 | 239 | * @kdev: qmss device pointer |
---|
248 | 240 | * @range: range info |
---|
249 | 241 | * @qmgr: queue manager info |
---|
250 | | - * @id: queue instace id |
---|
| 242 | + * @id: queue instance id |
---|
251 | 243 | * @irq_num: irq line number |
---|
252 | 244 | * @notify_needed: notifier needed based on queue type |
---|
253 | 245 | * @num_notifiers: total notifiers |
---|
.. | .. |
---|
274 | 266 | /** |
---|
275 | 267 | * struct knav_queue: qmss queue properties |
---|
276 | 268 | * @reg_push, reg_pop, reg_peek: push, pop queue registers |
---|
277 | | - * @inst: qmss queue instace properties |
---|
| 269 | + * @inst: qmss queue instance properties |
---|
278 | 270 | * @notifier_fn: notifier function |
---|
279 | 271 | * @notifier_fn_arg: notifier function argument |
---|
280 | 272 | * @notifier_enabled: notier enabled for a give queue |
---|