/Linux-v5.10/drivers/vfio/platform/reset/ |
D | vfio_platform_bcmflexrm.c | 80 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()
|
/Linux-v5.10/drivers/net/wireless/ath/ath11k/ |
D | hal.c | 303 struct hal_srng *srng, int ring_num) in ath11k_hal_ce_dst_setup() argument 311 ring_num * srng_config->reg_size[HAL_SRNG_REG_GRP_R0]; in ath11k_hal_ce_dst_setup() 509 int ring_num, int mac_id) in ath11k_hal_srng_get_ring_id() argument 514 if (ring_num >= srng_config->max_rings) { in ath11k_hal_srng_get_ring_id() 515 ath11k_warn(ab, "invalid ring number :%d\n", ring_num); in ath11k_hal_srng_get_ring_id() 519 ring_id = srng_config->start_ring_id + ring_num; in ath11k_hal_srng_get_ring_id() 962 int ring_num, int mac_id, in ath11k_hal_srng_setup() argument 973 ring_id = ath11k_hal_srng_get_ring_id(ab, type, ring_num, mac_id); in ath11k_hal_srng_setup() 997 (ring_num * srng_config->reg_size[i]); in ath11k_hal_srng_setup() 1029 type, ring_num, in ath11k_hal_srng_setup() [all …]
|
D | dp.c | 110 static int ath11k_dp_srng_find_ring_in_mask(int ring_num, const u8 *grp_mask) in ath11k_dp_srng_find_ring_in_mask() argument 113 u8 mask = 1 << ring_num; in ath11k_dp_srng_find_ring_in_mask() 125 enum hal_ring_type type, int ring_num) in ath11k_dp_srng_calculate_msi_group() argument 131 if (ring_num < 3) { in ath11k_dp_srng_calculate_msi_group() 133 } else if (ring_num == 3) { in ath11k_dp_srng_calculate_msi_group() 135 ring_num = 0; in ath11k_dp_srng_calculate_msi_group() 174 return ath11k_dp_srng_find_ring_in_mask(ring_num, grp_mask); in ath11k_dp_srng_calculate_msi_group() 179 enum hal_ring_type type, int ring_num) in ath11k_dp_srng_msi_setup() argument 192 ring_num); in ath11k_dp_srng_msi_setup() 196 type, ring_num); in ath11k_dp_srng_msi_setup() [all …]
|
D | dbring.c | 185 int ring_num, int num_entries) in ath11k_dbring_srng_setup() argument 190 ring_num, ar->pdev_idx, num_entries); in ath11k_dbring_srng_setup() 193 ret, ring_num); in ath11k_dbring_srng_setup()
|
D | dbring.h | 70 int ring_num, int num_entries);
|
D | hal.h | 937 int ring_num, int mac_id, 946 int ring_num);
|
D | dp.h | 1626 enum hal_ring_type type, int ring_num,
|
/Linux-v5.10/drivers/crypto/qat/qat_common/ |
D | adf_transport.c | 196 u32 ring_num; in adf_create_ring() local 218 if (kstrtouint(val, 10, &ring_num)) { in adf_create_ring() 222 if (ring_num >= ADF_ETR_MAX_RINGS_PER_BANK) { in adf_create_ring() 228 if (adf_reserve_ring(bank, ring_num)) { in adf_create_ring() 230 ring_num, ring_name); in adf_create_ring() 233 ring = &bank->rings[ring_num]; in adf_create_ring() 234 ring->ring_number = ring_num; in adf_create_ring() 263 adf_unreserve_ring(bank, ring_num); in adf_create_ring()
|
/Linux-v5.10/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 1211 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 …]
|
D | xgene_enet_main.h | 228 u16 ring_num; member
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 519 u32 ring_num = rcb_common->ring_num; in hns_rcb_get_cfg() local 525 for (i = 0; i < ring_num; i++) { in hns_rcb_get_cfg() 785 int ring_num = hns_rcb_get_ring_num(dsaf_dev); in hns_rcb_common_get_cfg() local 789 struct_size(rcb_common, ring_pair_cb, ring_num), in hns_rcb_common_get_cfg() 796 rcb_common->ring_num = ring_num; in hns_rcb_common_get_cfg()
|
D | hns_dsaf_rcb.h | 108 u32 ring_num; member
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mbx.c | 161 int ring_num; in hclge_get_ring_chain_from_mbx() local 164 ring_num = req->msg.ring_num; in hclge_get_ring_chain_from_mbx() 166 if (ring_num > HCLGE_MBX_MAX_RING_CHAIN_PARAM_NUM) in hclge_get_ring_chain_from_mbx() 179 for (i = 1; i < ring_num; i++) { in hclge_get_ring_chain_from_mbx()
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hclge_mbx.h | 116 u8 ring_num; member
|
D | hns3_enet.c | 3889 int ring_num = h->kinfo.num_tqps * 2; in hns3_init_all_ring() local 3893 for (i = 0; i < ring_num; i++) { in hns3_init_all_ring()
|
/Linux-v5.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1101 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()
|
/Linux-v5.10/drivers/dma/ |
D | xgene-dma.c | 305 int ring_num; member 1192 ring->num = chan->pdma->ring_num++; in xgene_dma_create_ring_one() 1605 pdma->ring_num = XGENE_DMA_RING_NUM; in xgene_dma_init_channels()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 5178 bnx2_init_tx_ring(struct bnx2 *bp, int ring_num) in bnx2_init_tx_ring() argument 5185 bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_tx_ring() 5188 if (ring_num == 0) in bnx2_init_tx_ring() 5191 cid = TX_TSS_CID + ring_num - 1; in bnx2_init_tx_ring() 5234 bnx2_init_rx_ring(struct bnx2 *bp, int ring_num) in bnx2_init_rx_ring() argument 5239 struct bnx2_napi *bnapi = &bp->bnx2_napi[ring_num]; in bnx2_init_rx_ring() 5242 if (ring_num == 0) in bnx2_init_rx_ring() 5245 cid = RX_RSS_CID + ring_num - 1; in bnx2_init_rx_ring() 5267 BNX2_L2CTX_RBDC_JUMBO_KEY - ring_num); in bnx2_init_rx_ring() 5289 ring_num, i, bp->rx_pg_ring_size); in bnx2_init_rx_ring() [all …]
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 525 static bool is_rx_ring(struct bnxt *bp, int ring_num) in is_rx_ring() argument 527 return ring_num < bp->rx_nr_rings; in is_rx_ring() 530 static bool is_tx_ring(struct bnxt *bp, int ring_num) in is_tx_ring() argument 537 if (ring_num >= tx_base && ring_num < (tx_base + bp->tx_nr_rings)) in is_tx_ring()
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 1054 send_msg.ring_num = i; in hclgevf_bind_ring_to_vector()
|