Home
last modified time | relevance | path

Searched refs:ring_mask (Results 1 – 22 of 22) sorted by relevance

/linux-5.19.10/net/xdp/
Dxsk_queue.h41 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()
Dxsk_queue.c34 q->ring_mask = nentries - 1; in xskq_create()
/linux-5.19.10/drivers/net/wireless/ath/ath11k/
Ddp.c135 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 …]
Dpcic.c522 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()
Dahb.c547 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()
Dcore.c47 .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,
Dhw.h142 const struct ath11k_hw_ring_mask *ring_mask; member
/linux-5.19.10/tools/io_uring/
Dio_uring-bench.c40 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()
Dsetup.c24 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/
Dag71xx.c794 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/
Dadf_transport.c43 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()
Dadf_hw_arbiter.c65 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()
Dadf_transport_internal.h37 u16 ring_mask; member
Dadf_transport_debug.c159 if (!(bank->ring_mask & 1 << ring_id)) in adf_bank_show()
/linux-5.19.10/include/uapi/linux/
Dio_uring.h307 __u32 ring_mask; member
326 __u32 ring_mask; member
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_sli.h305 uint32_t ring_mask; /* Binds HBQ to a ring e.g. Ring0=b0001, member
Dlpfc_mbox.c1215 hbqmb->ringMask = hbq_desc->ring_mask; /* Binds HBQ to a ring in lpfc_config_hbq()
Dlpfc_sli.c2493 .ring_mask = (1 << LPFC_ELS_RING),
/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf.h110 u32 ring_mask; member
Diavf_virtchnl.c414 vecmap->txq_map = q_vector->ring_mask; in iavf_map_queues()
415 vecmap->rxq_map = q_vector->ring_mask; in iavf_map_queues()
Diavf_main.c456 q_vector->ring_mask |= BIT(r_idx); in iavf_map_vector_to_rxq()
/linux-5.19.10/io_uring/
Dio_uring.c12062 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()