Lines Matching defs:qman_portal
977 struct qman_portal {
1003 static DEFINE_PER_CPU(struct qman_portal, qman_affine_portal);
1004 struct qman_portal *affine_portals[NR_CPUS];
1006 static inline struct qman_portal *get_affine_portal(void)
1017 static inline struct qman_portal *get_portal_for_channel(u16 channel)
1032 int qman_dqrr_set_ithresh(struct qman_portal *portal, u8 ithresh)
1049 void qman_dqrr_get_ithresh(struct qman_portal *portal, u8 *ithresh)
1056 void qman_portal_get_iperiod(struct qman_portal *portal, u32 *iperiod)
1063 int qman_portal_set_iperiod(struct qman_portal *portal, u32 iperiod)
1160 static u32 __poll_portal_slow(struct qman_portal *p, u32 is);
1161 static inline unsigned int __poll_portal_fast(struct qman_portal *p,
1168 struct qman_portal *p = ptr;
1223 static int qman_create_portal(struct qman_portal *portal,
1355 struct qman_portal *qman_create_affine_portal(const struct qm_portal_config *c,
1358 struct qman_portal *portal;
1375 static void qman_destroy_portal(struct qman_portal *qm)
1408 struct qman_portal *qm = get_affine_portal();
1425 static inline void fq_state_change(struct qman_portal *p, struct qman_fq *fq,
1453 struct qman_portal *p = container_of(work, struct qman_portal,
1485 struct qman_portal *p = container_of(work, struct qman_portal,
1544 static u32 __poll_portal_slow(struct qman_portal *p, u32 is)
1571 static noinline void clear_vdqcr(struct qman_portal *p, struct qman_fq *fq)
1604 static inline unsigned int __poll_portal_fast(struct qman_portal *p,
1682 void qman_p_irqsource_add(struct qman_portal *p, u32 bits)
1693 void qman_p_irqsource_remove(struct qman_portal *p, u32 bits)
1731 struct qman_portal *portal = get_affine_portal();
1741 struct qman_portal *qman_get_affine_portal(int cpu)
1747 int qman_start_using_portal(struct qman_portal *p, struct device *dev)
1754 int qman_p_poll_dqrr(struct qman_portal *p, unsigned int limit)
1760 void qman_p_static_dequeue_add(struct qman_portal *p, u32 pools)
1857 struct qman_portal *p;
1910 struct qman_portal *p = qman_dma_portal;
1970 struct qman_portal *p;
2011 struct qman_portal *p;
2093 struct qman_portal *p;
2131 struct qman_portal *p = get_affine_portal();
2156 struct qman_portal *p = get_affine_portal();
2185 struct qman_portal *p = get_affine_portal();
2223 static int set_p_vdqcr(struct qman_portal *p, struct qman_fq *fq, u32 vdqcr)
2243 static int set_vdqcr(struct qman_portal **p, struct qman_fq *fq, u32 vdqcr)
2253 static int wait_vdqcr_start(struct qman_portal **p, struct qman_fq *fq,
2268 struct qman_portal *p;
2304 static void update_eqcr_ci(struct qman_portal *p, u8 avail)
2314 struct qman_portal *p;
2359 struct qman_portal *p = get_affine_portal();
2426 struct qman_portal *p;
2493 struct qman_portal *p = get_affine_portal();
2620 struct qman_portal *p, *channel_portal;
2830 struct qman_portal *portal)