Lines Matching defs:channel
1017 static inline struct qman_portal *get_portal_for_channel(u16 channel)
1023 affine_portals[i]->config->channel == channel)
1368 affine_channels[c->cpu] = c->channel;
1932 qm_fqd_set_destwq(&mcc->initfq.fqd, p->config->channel, wq);
2384 #define PORTAL_IDX(n) (n->config->channel - QM_CHANNEL_SWPORTAL0)
2442 cgr->chan = p->config->channel;
2495 if (cgr->chan != p->config->channel) {
2499 cgr->chan, p->config->channel);
2625 u32 channel, wq, res;
2645 /* Query which channel the FQ is using */
2657 channel = qm_fqd_get_chan(&mcr->queryfq.fqd);
2660 if (channel < qm_channel_pool1) {
2661 channel_portal = get_portal_for_channel(channel);
2663 dev_err(dev, "Can't find portal for dedicated channel 0x%x\n",
2664 channel);
2697 * to dequeue from the channel the FQ is scheduled on
2705 if (channel >= qm_channel_pool1 &&
2706 channel < qm_channel_pool1 + 15) {
2707 /* Pool channel, enable the bit in the portal */
2708 dequeue_wq = (channel -
2710 } else if (channel < qm_channel_pool1) {
2711 /* Dedicated channel */
2715 fqid, channel);
2719 /* Set the sdqcr to drain this channel */
2720 if (channel < qm_channel_pool1)
2728 (channel));
2837 struct gen_pool *qm_qpalloc; /* pool-channel allocator */
2893 * whose destination channel is the pool-channel being released.
2918 /* The channel is the FQ's target, clean it */