Searched refs:bm_pools (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/marvell/ |
D | mvneta_bm.c | 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() 467 struct mvneta_bm_pool *bm_pool = &priv->bm_pools[i]; in mvneta_bm_remove()
|
D | mvneta_bm.h | 107 struct mvneta_bm_pool *bm_pools; member
|
D | mvneta.c | 1957 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rxq_drop_pkts() 2485 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rx_hwbm()
|
/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 568 bm_pool = &priv->bm_pools[i]; in mvpp2_bm_pools_init() 580 mvpp2_bm_pool_destroy(dev, priv, &priv->bm_pools[i]); in mvpp2_bm_pools_init() 657 priv->bm_pools = devm_kcalloc(dev, poolnum, in mvpp2_bm_init() 658 sizeof(*priv->bm_pools), GFP_KERNEL); in mvpp2_bm_init() 659 if (!priv->bm_pools) in mvpp2_bm_init() 861 struct mvpp2_bm_pool *new_pool = &port->priv->bm_pools[pool]; in mvpp2_bm_pool_use() 918 struct mvpp2_bm_pool *new_pool = &port->priv->bm_pools[pool]; in mvpp2_bm_pool_use_percpu() 3582 bm_pool = &port->priv->bm_pools[pool]; in mvpp2_rx() 4651 mvpp2_bm_pool_destroy(port->dev->dev.parent, priv, &priv->bm_pools[i]); in mvpp2_bm_switch_buffers() 4653 devm_kfree(port->dev->dev.parent, priv->bm_pools); in mvpp2_bm_switch_buffers() [all …]
|
D | mvpp2.h | 985 struct mvpp2_bm_pool *bm_pools; member
|