/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp.c | 148 grp_mask = &ab->hw_params->ring_mask->tx[0]; in ath12k_dp_srng_calculate_msi_group() 152 grp_mask = &ab->hw_params->ring_mask->rx_err[0]; in ath12k_dp_srng_calculate_msi_group() 155 grp_mask = &ab->hw_params->ring_mask->rx[0]; in ath12k_dp_srng_calculate_msi_group() 887 u8 ring_mask; in ath12k_dp_service_srng() local 889 if (ab->hw_params->ring_mask->tx[grp_id]) { in ath12k_dp_service_srng() 894 if (ab->hw_params->ring_mask->rx_err[grp_id]) { in ath12k_dp_service_srng() 913 if (ab->hw_params->ring_mask->rx[grp_id]) { in ath12k_dp_service_srng() 925 ring_mask = ab->hw_params->ring_mask->rx_mon_dest[grp_id]; in ath12k_dp_service_srng() 930 if (ring_mask & BIT(id)) { in ath12k_dp_service_srng() 946 ring_mask = ab->hw_params->ring_mask->tx_mon_dest[grp_id]; in ath12k_dp_service_srng() [all …]
|
H A D | pci.c | 535 if (ab->hw_params->ring_mask->tx[i] || in ath12k_pci_ext_irq_config() 536 ab->hw_params->ring_mask->rx[i] || in ath12k_pci_ext_irq_config() 537 ab->hw_params->ring_mask->rx_err[i] || in ath12k_pci_ext_irq_config() 538 ab->hw_params->ring_mask->rx_wbm_rel[i] || in ath12k_pci_ext_irq_config() 539 ab->hw_params->ring_mask->reo_status[i] || in ath12k_pci_ext_irq_config() 540 ab->hw_params->ring_mask->host2rxdma[i] || in ath12k_pci_ext_irq_config() 541 ab->hw_params->ring_mask->rx_mon_dest[i]) { in ath12k_pci_ext_irq_config()
|
H A D | hw.c | 866 .ring_mask = &ath12k_hw_ring_mask_qcn9274, 923 .ring_mask = &ath12k_hw_ring_mask_wcn7850, 979 .ring_mask = &ath12k_hw_ring_mask_qcn9274,
|
H A D | hw.h | 149 const struct ath12k_hw_ring_mask *ring_mask; member
|
/openbmc/linux/net/xdp/ |
H A D | xsk_queue.h | 41 u32 ring_mask; member 123 u32 idx = cached_cons & q->ring_mask; in __xskq_cons_read_addr_unchecked() 211 u32 idx = q->cached_cons & q->ring_mask; in xskq_cons_read_desc() 246 u32 idx = cached_cons & q->ring_mask; in xskq_cons_read_desc_batch() 391 ring->desc[q->cached_prod++ & q->ring_mask] = addr; in xskq_prod_reserve_addr() 404 ring->desc[cached_prod++ & q->ring_mask] = descs[i].addr; in xskq_prod_write_addr_batch() 418 idx = q->cached_prod++ & q->ring_mask; in xskq_prod_reserve_desc()
|
H A D | xsk_queue.c | 34 q->ring_mask = nentries - 1; in xskq_create()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp.c | 138 grp_mask = &ab->hw_params.ring_mask->rx_wbm_rel[0]; in ath11k_dp_srng_calculate_msi_group() 141 grp_mask = &ab->hw_params.ring_mask->tx[0]; in ath11k_dp_srng_calculate_msi_group() 145 grp_mask = &ab->hw_params.ring_mask->rx_err[0]; in ath11k_dp_srng_calculate_msi_group() 148 grp_mask = &ab->hw_params.ring_mask->rx[0]; in ath11k_dp_srng_calculate_msi_group() 151 grp_mask = &ab->hw_params.ring_mask->reo_status[0]; in ath11k_dp_srng_calculate_msi_group() 158 grp_mask = &ab->hw_params.ring_mask->rxdma2host[0]; in ath11k_dp_srng_calculate_msi_group() 161 grp_mask = &ab->hw_params.ring_mask->host2rxdma[0]; in ath11k_dp_srng_calculate_msi_group() 784 ab->hw_params.ring_mask->tx[grp_id]) in ath11k_dp_service_srng() 788 if (ab->hw_params.ring_mask->rx_err[grp_id]) { in ath11k_dp_service_srng() 807 if (ab->hw_params.ring_mask->rx[grp_id]) { in ath11k_dp_service_srng() [all …]
|
H A D | pcic.c | 574 if (ab->hw_params.ring_mask->tx[i] || in ath11k_pcic_ext_irq_config() 575 ab->hw_params.ring_mask->rx[i] || in ath11k_pcic_ext_irq_config() 576 ab->hw_params.ring_mask->rx_err[i] || in ath11k_pcic_ext_irq_config() 577 ab->hw_params.ring_mask->rx_wbm_rel[i] || in ath11k_pcic_ext_irq_config() 578 ab->hw_params.ring_mask->reo_status[i] || in ath11k_pcic_ext_irq_config() 579 ab->hw_params.ring_mask->rxdma2host[i] || in ath11k_pcic_ext_irq_config() 580 ab->hw_params.ring_mask->host2rxdma[i] || in ath11k_pcic_ext_irq_config() 581 ab->hw_params.ring_mask->rx_mon_status[i]) { in ath11k_pcic_ext_irq_config()
|
H A D | ahb.c | 540 if (ab->hw_params.ring_mask->tx[i] & BIT(j)) { in ath11k_ahb_config_ext_irq() 545 if (ab->hw_params.ring_mask->rx[i] & BIT(j)) { in ath11k_ahb_config_ext_irq() 550 if (ab->hw_params.ring_mask->rx_err[i] & BIT(j)) in ath11k_ahb_config_ext_irq() 553 if (ab->hw_params.ring_mask->rx_wbm_rel[i] & BIT(j)) in ath11k_ahb_config_ext_irq() 556 if (ab->hw_params.ring_mask->reo_status[i] & BIT(j)) in ath11k_ahb_config_ext_irq() 560 if (ab->hw_params.ring_mask->rxdma2host[i] & BIT(j)) { in ath11k_ahb_config_ext_irq() 566 if (ab->hw_params.ring_mask->host2rxdma[i] & BIT(j)) { in ath11k_ahb_config_ext_irq() 572 if (ab->hw_params.ring_mask->rx_mon_status[i] & BIT(j)) { in ath11k_ahb_config_ext_irq()
|
H A D | core.c | 51 .ring_mask = &ath11k_hw_ring_mask_ipq8074, 136 .ring_mask = &ath11k_hw_ring_mask_ipq8074, 219 .ring_mask = &ath11k_hw_ring_mask_qca6390, 305 .ring_mask = &ath11k_hw_ring_mask_qcn9074, 386 .ring_mask = &ath11k_hw_ring_mask_qca6390, 471 .ring_mask = &ath11k_hw_ring_mask_qca6390, 554 .ring_mask = &ath11k_hw_ring_mask_wcn6750, 637 .ring_mask = &ath11k_hw_ring_mask_ipq8074,
|
H A D | hw.h | 152 const struct ath11k_hw_ring_mask *ring_mask; member
|
/openbmc/linux/drivers/net/ethernet/atheros/ |
H A D | ag71xx.c | 795 int ring_mask, ring_size; in ag71xx_tx_packets() local 798 ring_mask = BIT(ring->order) - 1; in ag71xx_tx_packets() 808 i = (ring->dirty + n) & ring_mask; in ag71xx_tx_packets() 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 1294 i = ring->dirty & ring_mask; in ag71xx_ring_rx_refill() 1468 int i, ring_mask, ndesc, split; in ag71xx_fill_dma_desc() local 1471 ring_mask = BIT(ring->order) - 1; in ag71xx_fill_dma_desc() 1525 ring_mask = BIT(ring->order) - 1; in ag71xx_hard_start_xmit() 1536 i = ring->curr & ring_mask; in ag71xx_hard_start_xmit() [all …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A 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()
|
H A 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()
|
H A D | adf_transport_internal.h | 37 u16 ring_mask; member
|
H A D | adf_transport_debug.c | 159 if (!(bank->ring_mask & 1 << ring_id)) in adf_bank_show()
|
/openbmc/linux/tools/testing/selftests/x86/ |
H A D | lam.c | 91 unsigned int *ring_mask; member 423 sring->ring_mask = sq_ptr + p.sq_off.ring_mask; in mmap_io_uring() 443 cring->ring_mask = cq_ptr + p.cq_off.ring_mask; in mmap_io_uring() 482 cqe = &cring->queue.cqes[head & *s->cq_ring.ring_mask]; in handle_uring_cq() 538 index = tail & *ring->sq_ring.ring_mask; in handle_uring_sq()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | io_uring_zerocopy_tx.c | 66 unsigned *ring_mask; member 75 unsigned *ring_mask; member 182 sq->kring_mask = ptr + p->sq_off.ring_mask; in io_uring_mmap() 208 cq->kring_mask = ptr + p->cq_off.ring_mask; in io_uring_mmap()
|
/openbmc/linux/include/uapi/linux/ |
H A D | io_uring.h | 426 __u32 ring_mask; member 445 __u32 ring_mask; member
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli.h | 305 uint32_t ring_mask; /* Binds HBQ to a ring e.g. Ring0=b0001, member
|
H A D | lpfc_mbox.c | 1215 hbqmb->ringMask = hbq_desc->ring_mask; /* Binds HBQ to a ring in lpfc_config_hbq()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf.h | 108 u32 ring_mask; member
|
H A D | iavf_virtchnl.c | 412 vecmap->txq_map = q_vector->ring_mask; in iavf_map_queues() 413 vecmap->rxq_map = q_vector->ring_mask; in iavf_map_queues()
|
H A D | iavf_main.c | 462 q_vector->ring_mask |= BIT(r_idx); in iavf_map_vector_to_rxq()
|
/openbmc/linux/io_uring/ |
H A D | io_uring.c | 3979 p->sq_off.ring_mask = offsetof(struct io_rings, sq_ring_mask); in io_uring_create() 3991 p->cq_off.ring_mask = offsetof(struct io_rings, cq_ring_mask); in io_uring_create()
|