Lines Matching refs:poolnum
582 int i, err, size, poolnum = MVPP2_BM_POOLS_NUM; in mvpp2_bm_pools_init() local
586 poolnum = mvpp2_get_nrxqs(priv) * 2; in mvpp2_bm_pools_init()
590 for (i = 0; i < poolnum; i++) { in mvpp2_bm_pools_init()
639 int i, err, poolnum = MVPP2_BM_POOLS_NUM; in mvpp2_bm_init() local
643 poolnum = mvpp2_get_nrxqs(priv) * 2; in mvpp2_bm_init()
646 for (i = 0; i < poolnum; i++) in mvpp2_bm_init()
658 for (i = 0; i < poolnum; i++) { in mvpp2_bm_init()
660 int pn = i / (poolnum / 2); in mvpp2_bm_init()
679 dev_info(dev, "using %d %s buffers\n", poolnum, in mvpp2_bm_init()
682 for (i = 0; i < poolnum; i++) { in mvpp2_bm_init()
690 priv->bm_pools = devm_kcalloc(dev, poolnum, in mvpp2_bm_init()
7715 int i, poolnum = MVPP2_BM_POOLS_NUM; in mvpp2_remove() local
7727 poolnum = mvpp2_get_nrxqs(priv) * 2; in mvpp2_remove()
7729 for (i = 0; i < poolnum; i++) { in mvpp2_remove()