Lines Matching refs:bpid
317 while ((err = dpaa2_io_service_release(ch->dpio, ch->bp->bpid, in dpaa2_eth_recycle_buf()
1713 ch->bp->bpid); in dpaa2_eth_add_bufs()
1740 ch->bp->bpid); in dpaa2_eth_add_bufs()
1746 while ((err = dpaa2_io_service_release(ch->dpio, ch->bp->bpid, in dpaa2_eth_add_bufs()
1815 channel->bp->bpid); in dpaa2_eth_seed_pools()
1824 static void dpaa2_eth_drain_bufs(struct dpaa2_eth_priv *priv, int bpid, in dpaa2_eth_drain_bufs() argument
1833 if (priv->channel[i]->bp->bpid == bpid) in dpaa2_eth_drain_bufs()
1837 ret = dpaa2_io_service_acquire(NULL, bpid, buf_array, count); in dpaa2_eth_drain_bufs()
1850 static void dpaa2_eth_drain_pool(struct dpaa2_eth_priv *priv, int bpid) in dpaa2_eth_drain_pool() argument
1855 dpaa2_eth_drain_bufs(priv, bpid, DPAA2_ETH_BUFS_PER_CMD); in dpaa2_eth_drain_pool()
1856 dpaa2_eth_drain_bufs(priv, bpid, 1); in dpaa2_eth_drain_pool()
1862 if (priv->channel[i]->bp->bpid == bpid) in dpaa2_eth_drain_pool()
1871 dpaa2_eth_drain_pool(priv, priv->bp[i]->bpid); in dpaa2_eth_drain_pools()
3414 bp->bpid = dpbp_attrs.bpid; in dpaa2_eth_allocate_dpbp()
3459 dpaa2_eth_drain_pool(priv, bp->bpid); in dpaa2_eth_free_dpbp()