Home
last modified time | relevance | path

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

/drivers/vfio/platform/reset/
Dvfio_platform_bcmflexrm.c80 int rc = 0, ret = 0, ring_num = 0; in vfio_platform_bcmflexrm_reset() local
98 ring_num, rc); in vfio_platform_bcmflexrm_reset()
101 ring_num++; in vfio_platform_bcmflexrm_reset()
/drivers/crypto/qat/qat_common/
Dadf_transport.c240 uint32_t ring_num; in adf_create_ring() local
262 if (kstrtouint(val, 10, &ring_num)) { in adf_create_ring()
266 if (ring_num >= ADF_ETR_MAX_RINGS_PER_BANK) { in adf_create_ring()
272 if (adf_reserve_ring(bank, ring_num)) { in adf_create_ring()
274 ring_num, ring_name); in adf_create_ring()
277 ring = &bank->rings[ring_num]; in adf_create_ring()
278 ring->ring_number = ring_num; in adf_create_ring()
307 adf_unreserve_ring(bank, ring_num); in adf_create_ring()
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c1211 struct net_device *ndev, u32 ring_num, in xgene_enet_create_desc_ring() argument
1230 ring->num = ring_num; in xgene_enet_create_desc_ring()
1310 u16 ring_num = pdata->ring_num; in xgene_enet_create_desc_rings() local
1324 rx_ring = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings()
1335 buf_pool = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings()
1366 page_pool = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings()
1399 tx_ring = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings()
1424 cp_ring = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings()
1924 pdata->ring_num = START_RING_NUM_0; in xgene_enet_setup_ops()
1929 pdata->ring_num = START_RING_NUM_0; in xgene_enet_setup_ops()
[all …]
Dxgene_enet_main.h229 u16 ring_num; member
/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c518 u32 ring_num = rcb_common->ring_num; in hns_rcb_get_cfg() local
524 for (i = 0; i < ring_num; i++) { in hns_rcb_get_cfg()
784 int ring_num = hns_rcb_get_ring_num(dsaf_dev); in hns_rcb_common_get_cfg() local
788 struct_size(rcb_common, ring_pair_cb, ring_num), in hns_rcb_common_get_cfg()
795 rcb_common->ring_num = ring_num; in hns_rcb_common_get_cfg()
Dhns_dsaf_rcb.h108 u32 ring_num; member
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c138 int ring_num; in hclge_get_ring_chain_from_mbx() local
141 ring_num = req->msg[2]; in hclge_get_ring_chain_from_mbx()
143 if (ring_num > ((HCLGE_MBX_VF_MSG_DATA_NUM - in hclge_get_ring_chain_from_mbx()
157 for (i = 1; i < ring_num; i++) { in hclge_get_ring_chain_from_mbx()
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1101 unsigned int ring_num; in pch_gbe_tx_queue() local
1149 ring_num = tx_ring->next_to_use; in pch_gbe_tx_queue()
1150 if (unlikely((ring_num + 1) == tx_ring->count)) in pch_gbe_tx_queue()
1153 tx_ring->next_to_use = ring_num + 1; in pch_gbe_tx_queue()
1156 buffer_info = &tx_ring->buffer_info[ring_num]; in pch_gbe_tx_queue()
1175 tx_ring->next_to_use = ring_num; in pch_gbe_tx_queue()
1182 tx_desc = PCH_GBE_TX_DESC(*tx_ring, ring_num); in pch_gbe_tx_queue()
1189 if (unlikely(++ring_num == tx_ring->count)) in pch_gbe_tx_queue()
1190 ring_num = 0; in pch_gbe_tx_queue()
1194 (int)sizeof(struct pch_gbe_tx_desc) * ring_num, in pch_gbe_tx_queue()
/drivers/dma/
Dxgene-dma.c303 int ring_num; member
1190 ring->num = chan->pdma->ring_num++; in xgene_dma_create_ring_one()
1604 pdma->ring_num = XGENE_DMA_RING_NUM; in xgene_dma_init_channels()
/drivers/net/ethernet/broadcom/
Dbnx2.c5184 bnx2_init_tx_ring(struct bnx2 *bp, int ring_num) in bnx2_init_tx_ring() argument
5191 bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_tx_ring()
5194 if (ring_num == 0) in bnx2_init_tx_ring()
5197 cid = TX_TSS_CID + ring_num - 1; in bnx2_init_tx_ring()
5240 bnx2_init_rx_ring(struct bnx2 *bp, int ring_num) in bnx2_init_rx_ring() argument
5245 struct bnx2_napi *bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_rx_ring()
5248 if (ring_num == 0) in bnx2_init_rx_ring()
5251 cid = RX_RSS_CID + ring_num - 1; in bnx2_init_rx_ring()
5273 BNX2_L2CTX_RBDC_JUMBO_KEY - ring_num); in bnx2_init_rx_ring()
5295 ring_num, i, bp->rx_pg_ring_size); in bnx2_init_rx_ring()
[all …]
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c3718 int ring_num = h->kinfo.num_tqps * 2; in hns3_init_all_ring() local
3722 for (i = 0; i < ring_num; i++) { in hns3_init_all_ring()