hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/soc/fsl/qbman/qman_priv.h
....@@ -193,7 +193,14 @@
193193 u32 qm_get_pools_sdqcr(void);
194194
195195 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);
197204 void qman_set_sdest(u16 channel, unsigned int cpu_idx);
198205
199206 struct qman_portal *qman_create_affine_portal(
....@@ -265,3 +272,11 @@
265272 extern struct qman_portal *qman_dma_portal;
266273 const struct qm_portal_config *qman_get_qm_portal_config(
267274 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);