Searched refs:dpaa_bp (Results 1 – 4 of 4) sorted by relevance
183 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() argument521 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() argument529 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 …]
56 struct dpaa_bp { struct73 int (*seed_cb)(struct dpaa_bp *); argument75 void (*free_buf_cb)(const struct dpaa_bp *, struct bm_buffer *); argument132 struct dpaa_bp *dpaa_bp; member
182 struct dpaa_bp *dpaa_bp; in dpaa_get_ethtool_stats() local198 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()
108 priv->dpaa_bp->bpid); in dpaa_eth_show_bpids()