Home
last modified time | relevance | path

Searched refs:pool_id (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/marvell/
Dmvneta_bm.c40 static void mvneta_bm_pool_enable(struct mvneta_bm *priv, int pool_id) in mvneta_bm_pool_enable() argument
44 val = mvneta_bm_read(priv, MVNETA_BM_POOL_BASE_REG(pool_id)); in mvneta_bm_pool_enable()
46 mvneta_bm_write(priv, MVNETA_BM_POOL_BASE_REG(pool_id), val); in mvneta_bm_pool_enable()
52 static void mvneta_bm_pool_disable(struct mvneta_bm *priv, int pool_id) in mvneta_bm_pool_disable() argument
56 val = mvneta_bm_read(priv, MVNETA_BM_POOL_BASE_REG(pool_id)); in mvneta_bm_pool_disable()
58 mvneta_bm_write(priv, MVNETA_BM_POOL_BASE_REG(pool_id), val); in mvneta_bm_pool_disable()
79 static void mvneta_bm_pool_target_set(struct mvneta_bm *priv, int pool_id, in mvneta_bm_pool_target_set() argument
84 val = mvneta_bm_read(priv, MVNETA_BM_XBAR_POOL_REG(pool_id)); in mvneta_bm_pool_target_set()
85 val &= ~MVNETA_BM_TARGET_ID_MASK(pool_id); in mvneta_bm_pool_target_set()
86 val &= ~MVNETA_BM_XBAR_ATTR_MASK(pool_id); in mvneta_bm_pool_target_set()
[all …]
Dmvneta_bm.h144 struct mvneta_bm_pool *mvneta_bm_pool_use(struct mvneta_bm *priv, u8 pool_id,
175 u8 pool_id, in mvneta_bm_pool_use() argument
Dmvneta.c1030 u8 pool_id) in mvneta_bm_pool_bufsize_set() argument
1041 val = mvreg_read(pp, MVNETA_PORT_POOL_BUFFER_SZ_REG(pool_id)); in mvneta_bm_pool_bufsize_set()
1043 mvreg_write(pp, MVNETA_PORT_POOL_BUFFER_SZ_REG(pool_id), val); in mvneta_bm_pool_bufsize_set()
1961 u8 pool_id = MVNETA_RX_GET_BM_POOL_ID(rx_desc); in mvneta_rxq_drop_pkts() local
1964 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rxq_drop_pkts()
2491 u8 pool_id; in mvneta_rx_hwbm() local
2498 pool_id = MVNETA_RX_GET_BM_POOL_ID(rx_desc); in mvneta_rx_hwbm()
2499 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rx_hwbm()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c894 int err, pool_id; in otx2_cq_init() local
919 pool_id = ((cq->cq_type == CQ_RX) && in otx2_cq_init()
921 cq->rbpool = &qset->pool[pool_id]; in otx2_cq_init()
1117 int pool_id, pool_start = 0, pool_end = 0, size = 0; in otx2_free_aura_ptr() local
1132 for (pool_id = pool_start; pool_id < pool_end; pool_id++) { in otx2_free_aura_ptr()
1133 iova = otx2_aura_allocptr(pfvf, pool_id); in otx2_free_aura_ptr()
1143 iova = otx2_aura_allocptr(pfvf, pool_id); in otx2_free_aura_ptr()
1151 int pool_id; in otx2_aura_pool_free() local
1156 for (pool_id = 0; pool_id < pfvf->hw.pool_cnt; pool_id++) { in otx2_aura_pool_free()
1157 pool = &pfvf->qset.pool[pool_id]; in otx2_aura_pool_free()
[all …]
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_cle.c701 u16 pool_id; in xgene_cle_set_rss_idt() local
705 pool_id = pdata->rx_ring[idx]->buf_pool->id; in xgene_cle_set_rss_idt()
706 fpsel = xgene_enet_get_fpsel(pool_id); in xgene_cle_set_rss_idt()
710 pool_id = pdata->rx_ring[idx]->page_pool->id; in xgene_cle_set_rss_idt()
711 nfpsel = xgene_enet_get_fpsel(pool_id); in xgene_cle_set_rss_idt()
764 u32 def_qid, def_fpsel, def_nxtfpsel, pool_id; in xgene_enet_cle_init() local
783 pool_id = pdata->rx_ring[0]->buf_pool->id; in xgene_enet_cle_init()
784 def_fpsel = xgene_enet_get_fpsel(pool_id); in xgene_enet_cle_init()
787 pool_id = pdata->rx_ring[0]->page_pool->id; in xgene_enet_cle_init()
788 def_nxtfpsel = xgene_enet_get_fpsel(pool_id); in xgene_enet_cle_init()
/drivers/block/
Drbd.c188 u64 pool_id; member
993 rbd_dev->layout.pool_id = rbd_dev->header.data_pool_id == CEPH_NOPOOL ? in rbd_init_layout()
994 rbd_dev->spec->pool_id : rbd_dev->header.data_pool_id; in rbd_init_layout()
1451 req->r_base_oloc.pool = rbd_dev->layout.pool_id; in __rbd_obj_add_osd_request()
5117 (unsigned long long) rbd_dev->spec->pool_id); in rbd_pool_id_show()
5193 spec->pool_id, spec->pool_name, in rbd_parent_show()
5230 static DEVICE_ATTR(pool_id, 0444, rbd_pool_id_show, NULL);
5299 spec->pool_id = CEPH_NOPOOL; in rbd_spec_alloc()
5368 rbd_dev->header_oloc.pool = spec->pool_id; in __rbd_dev_create()
5599 u64 pool_id; member
[all …]
/drivers/net/wireless/ath/ath11k/
Ddp_tx.c92 u8 pool_id; in ath11k_dp_tx() local
105 pool_id = skb_get_queue_mapping(skb) & (ATH11K_HW_MAX_QUEUES - 1); in ath11k_dp_tx()
146 FIELD_PREP(DP_TX_DESC_ID_POOL_ID, pool_id); in ath11k_dp_tx()
/drivers/s390/block/
Ddasd_eckd.h423 __u16 pool_id; member
Ddasd_devmap.c1707 DASD_DEFINE_ATTR(pool_id, device->discipline->ext_pool_id);
Ddasd_eckd.c1774 int pool_id = dasd_eckd_ext_pool_id(device); in dasd_eckd_cpy_ext_pool_data() local
1780 if (eps.pool_id == pool_id) { in dasd_eckd_cpy_ext_pool_data()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c618 static void mvpp2_bm_pool_cleanup(struct mvpp2 *priv, int pool_id) in mvpp2_bm_pool_cleanup() argument
626 mvpp2_thread_read(priv, thread, MVPP2_BM_PHY_ALLOC_REG(pool_id)); in mvpp2_bm_pool_cleanup()
631 val = mvpp2_read(priv, MVPP2_BM_POOL_CTRL_REG(pool_id)); in mvpp2_bm_pool_cleanup()
633 mvpp2_write(priv, MVPP2_BM_POOL_CTRL_REG(pool_id), val); in mvpp2_bm_pool_cleanup()