Lines Matching refs: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,
1488 struct qman_portal *p = container_of(work, struct qman_portal,
1547 static u32 __poll_portal_slow(struct qman_portal *p, u32 is)
1574 static noinline void clear_vdqcr(struct qman_portal *p, struct qman_fq *fq)
1607 static inline unsigned int __poll_portal_fast(struct qman_portal *p,
1685 void qman_p_irqsource_add(struct qman_portal *p, u32 bits)
1696 void qman_p_irqsource_remove(struct qman_portal *p, u32 bits)
1734 struct qman_portal *portal = get_affine_portal();
1744 struct qman_portal *qman_get_affine_portal(int cpu)
1750 int qman_start_using_portal(struct qman_portal *p, struct device *dev)
1757 int qman_p_poll_dqrr(struct qman_portal *p, unsigned int limit)
1763 void qman_p_static_dequeue_add(struct qman_portal *p, u32 pools)
1860 struct qman_portal *p;
1913 struct qman_portal *p = qman_dma_portal;
1973 struct qman_portal *p;
2014 struct qman_portal *p;
2096 struct qman_portal *p;
2134 struct qman_portal *p = get_affine_portal();
2159 struct qman_portal *p = get_affine_portal();
2188 struct qman_portal *p = get_affine_portal();
2226 static int set_p_vdqcr(struct qman_portal *p, struct qman_fq *fq, u32 vdqcr)
2246 static int set_vdqcr(struct qman_portal **p, struct qman_fq *fq, u32 vdqcr)
2256 static int wait_vdqcr_start(struct qman_portal **p, struct qman_fq *fq,
2271 struct qman_portal *p;
2307 static void update_eqcr_ci(struct qman_portal *p, u8 avail)
2317 struct qman_portal *p;
2362 struct qman_portal *p = get_affine_portal();
2429 struct qman_portal *p;
2489 static struct qman_portal *qman_cgr_get_affine_portal(struct qman_cgr *cgr)
2491 struct qman_portal *p = get_affine_portal();
2512 struct qman_portal *p = qman_cgr_get_affine_portal(cgr);
2578 struct qman_portal *p = qman_cgr_get_affine_portal(cgr);
2680 struct qman_portal *p, *channel_portal;
2886 struct qman_portal *portal)