Searched refs:bm_pools (Results 1 – 5 of 5) sorted by relevance
162 struct mvneta_bm_pool *new_pool = &priv->bm_pools[pool_id]; in mvneta_bm_pool_use()296 bm_pool = &priv->bm_pools[i]; in mvneta_bm_pools_init()363 priv->bm_pools = devm_kcalloc(&priv->pdev->dev, MVNETA_BM_POOLS_NUM, in mvneta_bm_init()366 if (!priv->bm_pools) in mvneta_bm_init()469 struct mvneta_bm_pool *bm_pool = &priv->bm_pools[i]; in mvneta_bm_remove()
107 struct mvneta_bm_pool *bm_pools; member
1879 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rxq_drop_pkts()2130 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rx_hwbm()
502 bm_pool = &priv->bm_pools[i]; in mvpp2_bm_pools_init()514 mvpp2_bm_pool_destroy(pdev, priv, &priv->bm_pools[i]); in mvpp2_bm_pools_init()530 priv->bm_pools = devm_kcalloc(&pdev->dev, MVPP2_BM_POOLS_NUM, in mvpp2_bm_init()531 sizeof(*priv->bm_pools), GFP_KERNEL); in mvpp2_bm_init()532 if (!priv->bm_pools) in mvpp2_bm_init()709 struct mvpp2_bm_pool *new_pool = &port->priv->bm_pools[pool]; in mvpp2_bm_pool_use()2665 bm_pool = &port->priv->bm_pools[pool]; in mvpp2_rx()5336 struct mvpp2_bm_pool *bm_pool = &priv->bm_pools[i]; in mvpp2_remove()
741 struct mvpp2_bm_pool *bm_pools; member