.. | .. |
---|
193 | 193 | u32 qm_get_pools_sdqcr(void); |
---|
194 | 194 | |
---|
195 | 195 | int qman_wq_alloc(void); |
---|
196 | | -void qman_liodn_fixup(u16 channel); |
---|
| 196 | +#ifdef CONFIG_FSL_PAMU |
---|
| 197 | +#define qman_liodn_fixup __qman_liodn_fixup |
---|
| 198 | +#else |
---|
| 199 | +static inline void qman_liodn_fixup(u16 channel) |
---|
| 200 | +{ |
---|
| 201 | +} |
---|
| 202 | +#endif |
---|
| 203 | +void __qman_liodn_fixup(u16 channel); |
---|
197 | 204 | void qman_set_sdest(u16 channel, unsigned int cpu_idx); |
---|
198 | 205 | |
---|
199 | 206 | struct qman_portal *qman_create_affine_portal( |
---|
.. | .. |
---|
265 | 272 | extern struct qman_portal *qman_dma_portal; |
---|
266 | 273 | const struct qm_portal_config *qman_get_qm_portal_config( |
---|
267 | 274 | struct qman_portal *portal); |
---|
| 275 | + |
---|
| 276 | +unsigned int qm_get_fqid_maxcnt(void); |
---|
| 277 | + |
---|
| 278 | +int qman_shutdown_fq(u32 fqid); |
---|
| 279 | + |
---|
| 280 | +int qman_requires_cleanup(void); |
---|
| 281 | +void qman_done_cleanup(void); |
---|
| 282 | +void qman_enable_irqs(void); |
---|