Searched refs:ring_num (Results 1 – 9 of 9) sorted by relevance
/drivers/crypto/qat/qat_common/ |
D | adf_transport.c | 240 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/ |
D | xgene_enet_main.c | 1222 struct net_device *ndev, u32 ring_num, in xgene_enet_create_desc_ring() argument 1241 ring->num = ring_num; in xgene_enet_create_desc_ring() 1321 u16 ring_num = pdata->ring_num; in xgene_enet_create_desc_rings() local 1335 rx_ring = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings() 1346 buf_pool = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings() 1377 page_pool = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings() 1410 tx_ring = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings() 1435 cp_ring = xgene_enet_create_desc_ring(ndev, ring_num++, in xgene_enet_create_desc_rings() 1938 pdata->ring_num = START_RING_NUM_0; in xgene_enet_setup_ops() 1943 pdata->ring_num = START_RING_NUM_0; in xgene_enet_setup_ops() [all …]
|
D | xgene_enet_main.h | 241 u16 ring_num; member
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 522 u32 ring_num = rcb_common->ring_num; in hns_rcb_get_cfg() local 528 for (i = 0; i < ring_num; i++) { in hns_rcb_get_cfg() 788 int ring_num = hns_rcb_get_ring_num(dsaf_dev); in hns_rcb_common_get_cfg() local 792 ring_num * sizeof(struct ring_pair_cb), GFP_KERNEL); in hns_rcb_common_get_cfg() 798 rcb_common->ring_num = ring_num; in hns_rcb_common_get_cfg()
|
D | hns_dsaf_rcb.h | 112 u32 ring_num; member
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1156 unsigned int ring_num; in pch_gbe_tx_queue() local 1204 ring_num = tx_ring->next_to_use; in pch_gbe_tx_queue() 1205 if (unlikely((ring_num + 1) == tx_ring->count)) in pch_gbe_tx_queue() 1208 tx_ring->next_to_use = ring_num + 1; in pch_gbe_tx_queue() 1211 buffer_info = &tx_ring->buffer_info[ring_num]; in pch_gbe_tx_queue() 1230 tx_ring->next_to_use = ring_num; in pch_gbe_tx_queue() 1237 tx_desc = PCH_GBE_TX_DESC(*tx_ring, ring_num); in pch_gbe_tx_queue() 1244 if (unlikely(++ring_num == tx_ring->count)) in pch_gbe_tx_queue() 1245 ring_num = 0; in pch_gbe_tx_queue() 1249 (int)sizeof(struct pch_gbe_tx_desc) * ring_num, in pch_gbe_tx_queue()
|
/drivers/dma/ |
D | xgene-dma.c | 315 int ring_num; member 1202 ring->num = chan->pdma->ring_num++; in xgene_dma_create_ring_one() 1616 pdma->ring_num = XGENE_DMA_RING_NUM; in xgene_dma_init_channels()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 5185 bnx2_init_tx_ring(struct bnx2 *bp, int ring_num) in bnx2_init_tx_ring() argument 5192 bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_tx_ring() 5195 if (ring_num == 0) in bnx2_init_tx_ring() 5198 cid = TX_TSS_CID + ring_num - 1; in bnx2_init_tx_ring() 5241 bnx2_init_rx_ring(struct bnx2 *bp, int ring_num) in bnx2_init_rx_ring() argument 5246 struct bnx2_napi *bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_rx_ring() 5249 if (ring_num == 0) in bnx2_init_rx_ring() 5252 cid = RX_RSS_CID + ring_num - 1; in bnx2_init_rx_ring() 5274 BNX2_L2CTX_RBDC_JUMBO_KEY - ring_num); in bnx2_init_rx_ring() 5296 ring_num, i, bp->rx_pg_ring_size); in bnx2_init_rx_ring() [all …]
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hns3_enet.c | 2681 int ring_num = h->kinfo.num_tqps * 2; in hns3_init_all_ring() local 2685 for (i = 0; i < ring_num; i++) { in hns3_init_all_ring()
|