Home
last modified time | relevance | path

Searched refs:dpaa_bp (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c183 static struct dpaa_bp *dpaa_bp_array[BM_MAX_NUM_OF_POOLS];
499 static struct dpaa_bp *dpaa_bpid2pool(int bpid) in dpaa_bpid2pool()
519 static void dpaa_bpid2pool_map(int bpid, struct dpaa_bp *dpaa_bp) in dpaa_bpid2pool_map() argument
521 dpaa_bp_array[bpid] = dpaa_bp; in dpaa_bpid2pool_map()
522 refcount_set(&dpaa_bp->refs, 1); in dpaa_bpid2pool_map()
525 static int dpaa_bp_alloc_pool(struct dpaa_bp *dpaa_bp) in dpaa_bp_alloc_pool() argument
529 if (dpaa_bp->size == 0 || dpaa_bp->config_count == 0) { in dpaa_bp_alloc_pool()
536 if (dpaa_bp->bpid != FSL_DPAA_BPID_INV && in dpaa_bp_alloc_pool()
537 dpaa_bpid2pool_use(dpaa_bp->bpid)) in dpaa_bp_alloc_pool()
540 if (dpaa_bp->bpid == FSL_DPAA_BPID_INV) { in dpaa_bp_alloc_pool()
[all …]
Ddpaa_eth.h56 struct dpaa_bp { struct
73 int (*seed_cb)(struct dpaa_bp *); argument
75 void (*free_buf_cb)(const struct dpaa_bp *, struct bm_buffer *); argument
132 struct dpaa_bp *dpaa_bp; member
Ddpaa_ethtool.c182 struct dpaa_bp *dpaa_bp; in dpaa_get_ethtool_stats() local
198 dpaa_bp = priv->dpaa_bp; in dpaa_get_ethtool_stats()
199 if (!dpaa_bp->percpu_count) in dpaa_get_ethtool_stats()
201 bp_count = *(per_cpu_ptr(dpaa_bp->percpu_count, i)); in dpaa_get_ethtool_stats()
Ddpaa_eth_sysfs.c108 priv->dpaa_bp->bpid); in dpaa_eth_show_bpids()