/linux-5.19.10/net/xdp/ |
D | xsk_queue.h | 41 u32 ring_mask; member 117 u32 idx = cached_cons & q->ring_mask; in __xskq_cons_read_addr_unchecked() 196 u32 idx = q->cached_cons & q->ring_mask; in xskq_cons_read_desc() 216 u32 idx = cached_cons & q->ring_mask; in xskq_cons_read_desc_batch() 349 ring->desc[q->cached_prod++ & q->ring_mask] = addr; in xskq_prod_reserve_addr() 364 ring->desc[cached_prod++ & q->ring_mask] = descs[i].addr; in xskq_prod_reserve_addr_batch() 380 idx = q->cached_prod++ & q->ring_mask; in xskq_prod_reserve_desc() 402 ring->desc[idx++ & q->ring_mask] = addr; in xskq_prod_submit_addr()
|
D | xsk_queue.c | 34 q->ring_mask = nentries - 1; in xskq_create()
|
/linux-5.19.10/drivers/net/wireless/ath/ath11k/ |
D | dp.c | 135 grp_mask = &ab->hw_params.ring_mask->tx[0]; in ath11k_dp_srng_calculate_msi_group() 137 grp_mask = &ab->hw_params.ring_mask->rx_wbm_rel[0]; in ath11k_dp_srng_calculate_msi_group() 144 grp_mask = &ab->hw_params.ring_mask->rx_err[0]; in ath11k_dp_srng_calculate_msi_group() 147 grp_mask = &ab->hw_params.ring_mask->rx[0]; in ath11k_dp_srng_calculate_msi_group() 150 grp_mask = &ab->hw_params.ring_mask->reo_status[0]; in ath11k_dp_srng_calculate_msi_group() 154 grp_mask = &ab->hw_params.ring_mask->rx_mon_status[0]; in ath11k_dp_srng_calculate_msi_group() 157 grp_mask = &ab->hw_params.ring_mask->rxdma2host[0]; in ath11k_dp_srng_calculate_msi_group() 160 grp_mask = &ab->hw_params.ring_mask->host2rxdma[0]; in ath11k_dp_srng_calculate_msi_group() 777 if (ab->hw_params.ring_mask->tx[grp_id]) { in ath11k_dp_service_srng() 778 i = __fls(ab->hw_params.ring_mask->tx[grp_id]); in ath11k_dp_service_srng() [all …]
|
D | pcic.c | 522 if (ab->hw_params.ring_mask->tx[i] || in ath11k_pcic_ext_irq_config() 523 ab->hw_params.ring_mask->rx[i] || in ath11k_pcic_ext_irq_config() 524 ab->hw_params.ring_mask->rx_err[i] || in ath11k_pcic_ext_irq_config() 525 ab->hw_params.ring_mask->rx_wbm_rel[i] || in ath11k_pcic_ext_irq_config() 526 ab->hw_params.ring_mask->reo_status[i] || in ath11k_pcic_ext_irq_config() 527 ab->hw_params.ring_mask->rxdma2host[i] || in ath11k_pcic_ext_irq_config() 528 ab->hw_params.ring_mask->host2rxdma[i] || in ath11k_pcic_ext_irq_config() 529 ab->hw_params.ring_mask->rx_mon_status[i]) { in ath11k_pcic_ext_irq_config()
|
D | ahb.c | 547 if (ab->hw_params.ring_mask->tx[i] & BIT(j)) { in ath11k_ahb_config_ext_irq() 552 if (ab->hw_params.ring_mask->rx[i] & BIT(j)) { in ath11k_ahb_config_ext_irq() 557 if (ab->hw_params.ring_mask->rx_err[i] & BIT(j)) in ath11k_ahb_config_ext_irq() 560 if (ab->hw_params.ring_mask->rx_wbm_rel[i] & BIT(j)) in ath11k_ahb_config_ext_irq() 563 if (ab->hw_params.ring_mask->reo_status[i] & BIT(j)) in ath11k_ahb_config_ext_irq() 567 if (ab->hw_params.ring_mask->rxdma2host[i] & BIT(j)) { in ath11k_ahb_config_ext_irq() 573 if (ab->hw_params.ring_mask->host2rxdma[i] & BIT(j)) { in ath11k_ahb_config_ext_irq() 579 if (ab->hw_params.ring_mask->rx_mon_status[i] & BIT(j)) { in ath11k_ahb_config_ext_irq()
|
D | core.c | 47 .ring_mask = &ath11k_hw_ring_mask_ipq8074, 124 .ring_mask = &ath11k_hw_ring_mask_ipq8074, 198 .ring_mask = &ath11k_hw_ring_mask_qca6390, 272 .ring_mask = &ath11k_hw_ring_mask_qcn9074, 344 .ring_mask = &ath11k_hw_ring_mask_qca6390, 417 .ring_mask = &ath11k_hw_ring_mask_qca6390, 489 .ring_mask = &ath11k_hw_ring_mask_qca6390,
|
D | hw.h | 142 const struct ath11k_hw_ring_mask *ring_mask; member
|
/linux-5.19.10/tools/io_uring/ |
D | io_uring-bench.c | 40 unsigned *ring_mask; member 49 unsigned *ring_mask; member 438 sring->ring_mask = ptr + p.sq_off.ring_mask; in setup_ring() 442 sq_ring_mask = *sring->ring_mask; in setup_ring() 455 cring->ring_mask = ptr + p.cq_off.ring_mask; in setup_ring() 458 cq_ring_mask = *cring->ring_mask; in setup_ring()
|
D | setup.c | 24 sq->kring_mask = ptr + p->sq_off.ring_mask; in io_uring_mmap() 51 cq->kring_mask = ptr + p->cq_off.ring_mask; in io_uring_mmap()
|
/linux-5.19.10/drivers/net/ethernet/atheros/ |
D | ag71xx.c | 794 int ring_mask, ring_size; in ag71xx_tx_packets() local 797 ring_mask = BIT(ring->order) - 1; in ag71xx_tx_packets() 807 i = (ring->dirty + n) & ring_mask; in ag71xx_tx_packets() 1142 int ring_mask = BIT(ring->order) - 1; in ag71xx_ring_tx_clean() local 1148 u32 i = ring->dirty & ring_mask; in ag71xx_ring_tx_clean() 1175 int ring_mask = ring_size - 1; in ag71xx_ring_tx_init() local 1182 AG71XX_DESC_SIZE * ((i + 1) & ring_mask)); in ag71xx_ring_tx_init() 1245 int ring_mask = BIT(ring->order) - 1; in ag71xx_ring_rx_init() local 1255 AG71XX_DESC_SIZE * ((i + 1) & ring_mask)); in ag71xx_ring_rx_init() 1285 int ring_mask = BIT(ring->order) - 1; in ag71xx_ring_rx_refill() local [all …]
|
/linux-5.19.10/drivers/crypto/qat/qat_common/ |
D | adf_transport.c | 43 if (bank->ring_mask & (1 << ring)) { in adf_reserve_ring() 47 bank->ring_mask |= (1 << ring); in adf_reserve_ring() 55 bank->ring_mask &= ~(1 << ring); in adf_unreserve_ring() 395 unsigned long ring_mask; in adf_init_bank() local 454 ring_mask = hw_data->tx_rings_mask; in adf_init_bank() 455 for_each_set_bit(i, &ring_mask, num_rings_per_bank) { in adf_init_bank() 534 if (bank->ring_mask & (1 << i)) in cleanup_bank()
|
D | adf_hw_arbiter.c | 65 arben_tx = (ring->bank->ring_mask & tx_ring_mask) >> 0; in adf_update_ring_arb() 66 arben_rx = (ring->bank->ring_mask & rx_ring_mask) >> shift; in adf_update_ring_arb()
|
D | adf_transport_internal.h | 37 u16 ring_mask; member
|
D | adf_transport_debug.c | 159 if (!(bank->ring_mask & 1 << ring_id)) in adf_bank_show()
|
/linux-5.19.10/include/uapi/linux/ |
D | io_uring.h | 307 __u32 ring_mask; member 326 __u32 ring_mask; member
|
/linux-5.19.10/drivers/scsi/lpfc/ |
D | lpfc_sli.h | 305 uint32_t ring_mask; /* Binds HBQ to a ring e.g. Ring0=b0001, member
|
D | lpfc_mbox.c | 1215 hbqmb->ringMask = hbq_desc->ring_mask; /* Binds HBQ to a ring in lpfc_config_hbq()
|
D | lpfc_sli.c | 2493 .ring_mask = (1 << LPFC_ELS_RING),
|
/linux-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf.h | 110 u32 ring_mask; member
|
D | iavf_virtchnl.c | 414 vecmap->txq_map = q_vector->ring_mask; in iavf_map_queues() 415 vecmap->rxq_map = q_vector->ring_mask; in iavf_map_queues()
|
D | iavf_main.c | 456 q_vector->ring_mask |= BIT(r_idx); in iavf_map_vector_to_rxq()
|
/linux-5.19.10/io_uring/ |
D | io_uring.c | 12062 p->sq_off.ring_mask = offsetof(struct io_rings, sq_ring_mask); in io_uring_create() 12071 p->cq_off.ring_mask = offsetof(struct io_rings, cq_ring_mask); in io_uring_create()
|