Searched refs:dpaa_bp (Results 1 – 4 of 4) sorted by relevance
207 static struct dpaa_bp *dpaa_bp_array[BM_MAX_NUM_OF_POOLS];501 static struct dpaa_bp *dpaa_bpid2pool(int bpid) in dpaa_bpid2pool()521 static void dpaa_bpid2pool_map(int bpid, struct dpaa_bp *dpaa_bp) in dpaa_bpid2pool_map() argument523 dpaa_bp_array[bpid] = dpaa_bp; in dpaa_bpid2pool_map()524 refcount_set(&dpaa_bp->refs, 1); in dpaa_bpid2pool_map()527 static int dpaa_bp_alloc_pool(struct dpaa_bp *dpaa_bp) in dpaa_bp_alloc_pool() argument531 if (dpaa_bp->size == 0 || dpaa_bp->config_count == 0) { in dpaa_bp_alloc_pool()538 if (dpaa_bp->bpid != FSL_DPAA_BPID_INV && in dpaa_bp_alloc_pool()539 dpaa_bpid2pool_use(dpaa_bp->bpid)) in dpaa_bp_alloc_pool()542 if (dpaa_bp->bpid == FSL_DPAA_BPID_INV) { in dpaa_bp_alloc_pool()[all …]
84 struct dpaa_bp { struct101 int (*seed_cb)(struct dpaa_bp *); argument103 void (*free_buf_cb)(const struct dpaa_bp *, struct bm_buffer *); argument160 struct dpaa_bp *dpaa_bp; member
266 struct dpaa_bp *dpaa_bp; in dpaa_get_ethtool_stats() local282 dpaa_bp = priv->dpaa_bp; in dpaa_get_ethtool_stats()283 if (!dpaa_bp->percpu_count) in dpaa_get_ethtool_stats()285 bp_count = *(per_cpu_ptr(dpaa_bp->percpu_count, i)); in dpaa_get_ethtool_stats()
136 priv->dpaa_bp->bpid); in dpaa_eth_show_bpids()