qman_portal
static void caam_fq_ern_cb(struct qman_portal *qm, struct qman_fq *fq,
struct qman_portal *p;
struct qman_portal *p;
static void cgr_cb(struct qman_portal *qm, struct qman_cgr *cgr, int congested)
static int caam_qi_napi_schedule(struct qman_portal *p, struct caam_napi *np,
static enum qman_cb_dqrr_result caam_rsp_fq_dqrr_cb(struct qman_portal *p,
struct qman_portal *portal, bool sched_napi)
static enum qman_cb_dqrr_result rx_error_dqrr(struct qman_portal *portal,
static enum qman_cb_dqrr_result rx_default_dqrr(struct qman_portal *portal,
static enum qman_cb_dqrr_result conf_error_dqrr(struct qman_portal *portal,
static enum qman_cb_dqrr_result conf_dflt_dqrr(struct qman_portal *portal,
static void egress_ern(struct qman_portal *portal,
struct qman_portal *portal;
static void dpaa_eth_cgscn(struct qman_portal *qm, struct qman_cgr *cgr,
struct qman_portal *p;
struct qman_portal *portal;
struct qman_portal *portal;
static DEFINE_PER_CPU(struct qman_portal, qman_affine_portal);
struct qman_portal *affine_portals[NR_CPUS];
static inline struct qman_portal *get_affine_portal(void)
static inline struct qman_portal *get_portal_for_channel(u16 channel)
int qman_dqrr_set_ithresh(struct qman_portal *portal, u8 ithresh)
void qman_dqrr_get_ithresh(struct qman_portal *portal, u8 *ithresh)
void qman_portal_get_iperiod(struct qman_portal *portal, u32 *iperiod)
int qman_portal_set_iperiod(struct qman_portal *portal, u32 iperiod)
static u32 __poll_portal_slow(struct qman_portal *p, u32 is);
static inline unsigned int __poll_portal_fast(struct qman_portal *p,
struct qman_portal *p = ptr;
static int qman_create_portal(struct qman_portal *portal,
struct qman_portal *qman_create_affine_portal(const struct qm_portal_config *c,
struct qman_portal *portal;
static void qman_destroy_portal(struct qman_portal *qm)
struct qman_portal *qm = get_affine_portal();
static inline void fq_state_change(struct qman_portal *p, struct qman_fq *fq,
struct qman_portal *p = container_of(work, struct qman_portal,
struct qman_portal *p = container_of(work, struct qman_portal,
static u32 __poll_portal_slow(struct qman_portal *p, u32 is)
static noinline void clear_vdqcr(struct qman_portal *p, struct qman_fq *fq)
static inline unsigned int __poll_portal_fast(struct qman_portal *p,
void qman_p_irqsource_add(struct qman_portal *p, u32 bits)
void qman_p_irqsource_remove(struct qman_portal *p, u32 bits)
struct qman_portal *portal = get_affine_portal();
struct qman_portal *qman_get_affine_portal(int cpu)
int qman_start_using_portal(struct qman_portal *p, struct device *dev)
int qman_p_poll_dqrr(struct qman_portal *p, unsigned int limit)
void qman_p_static_dequeue_add(struct qman_portal *p, u32 pools)
struct qman_portal *p;
struct qman_portal *p = qman_dma_portal;
struct qman_portal *p;
struct qman_portal *p;
struct qman_portal *p;
struct qman_portal *p = get_affine_portal();
struct qman_portal *p = get_affine_portal();
struct qman_portal *p = get_affine_portal();
static int set_p_vdqcr(struct qman_portal *p, struct qman_fq *fq, u32 vdqcr)
static int set_vdqcr(struct qman_portal **p, struct qman_fq *fq, u32 vdqcr)
static int wait_vdqcr_start(struct qman_portal **p, struct qman_fq *fq,
struct qman_portal *p;
static void update_eqcr_ci(struct qman_portal *p, u8 avail)
struct qman_portal *p;
struct qman_portal *p = get_affine_portal();
struct qman_portal *p;
static struct qman_portal *qman_cgr_get_affine_portal(struct qman_cgr *cgr)
struct qman_portal *p = get_affine_portal();
struct qman_portal *p = qman_cgr_get_affine_portal(cgr);
struct qman_portal *p = qman_cgr_get_affine_portal(cgr);
struct qman_portal *p, *channel_portal;
struct qman_portal *portal)
struct qman_portal *p;
struct qman_portal *p;
struct qman_portal *qman_dma_portal;
static struct qman_portal *init_pcfg(struct qm_portal_config *pcfg)
struct qman_portal *p;
struct qman_portal *qman_create_affine_portal(
extern struct qman_portal *affine_portals[NR_CPUS];
extern struct qman_portal *qman_dma_portal;
struct qman_portal *portal);
static enum qman_cb_dqrr_result cb_dqrr(struct qman_portal *p,
static void cb_ern(struct qman_portal *p, struct qman_fq *fq,
static void cb_fqs(struct qman_portal *p, struct qman_fq *fq,
static enum qman_cb_dqrr_result cb_dqrr(struct qman_portal *,
static void cb_ern(struct qman_portal *, struct qman_fq *,
static void cb_fqs(struct qman_portal *, struct qman_fq *,
static enum qman_cb_dqrr_result normal_dqrr(struct qman_portal *portal,
static enum qman_cb_dqrr_result special_dqrr(struct qman_portal *portal,
void qman_dqrr_get_ithresh(struct qman_portal *portal, u8 *ithresh);
int qman_dqrr_set_ithresh(struct qman_portal *portal, u8 ithresh);
void qman_portal_get_iperiod(struct qman_portal *portal, u32 *iperiod);
int qman_portal_set_iperiod(struct qman_portal *portal, u32 iperiod);
struct qman_portal;
typedef enum qman_cb_dqrr_result (*qman_cb_dqrr)(struct qman_portal *qm,
typedef void (*qman_cb_mr)(struct qman_portal *qm, struct qman_fq *fq,
typedef void (*qman_cb_cgr)(struct qman_portal *qm,
void qman_p_irqsource_add(struct qman_portal *p, u32 bits);
void qman_p_irqsource_remove(struct qman_portal *p, u32 bits);
struct qman_portal *qman_get_affine_portal(int cpu);
int qman_start_using_portal(struct qman_portal *p, struct device *dev);
int qman_p_poll_dqrr(struct qman_portal *p, unsigned int limit);
void qman_p_static_dequeue_add(struct qman_portal *p, u32 pools);