Home
last modified time | relevance | path

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

/drivers/net/ethernet/atheros/
Dag71xx.c634 int ring_mask, ring_size; in ag71xx_tx_packets() local
637 ring_mask = BIT(ring->order) - 1; in ag71xx_tx_packets()
647 i = (ring->dirty + n) & ring_mask; in ag71xx_tx_packets()
958 int ring_mask = BIT(ring->order) - 1; in ag71xx_ring_tx_clean() local
964 u32 i = ring->dirty & ring_mask; in ag71xx_ring_tx_clean()
991 int ring_mask = ring_size - 1; in ag71xx_ring_tx_init() local
998 AG71XX_DESC_SIZE * ((i + 1) & ring_mask)); in ag71xx_ring_tx_init()
1061 int ring_mask = BIT(ring->order) - 1; in ag71xx_ring_rx_init() local
1071 AG71XX_DESC_SIZE * ((i + 1) & ring_mask)); in ag71xx_ring_rx_init()
1101 int ring_mask = BIT(ring->order) - 1; in ag71xx_ring_rx_refill() local
[all …]
/drivers/crypto/qat/qat_common/
Dadf_transport.c83 if (bank->ring_mask & (1 << ring)) { in adf_reserve_ring()
87 bank->ring_mask |= (1 << ring); in adf_reserve_ring()
95 bank->ring_mask &= ~(1 << ring); in adf_unreserve_ring()
518 if (bank->ring_mask & (1 << i)) in cleanup_bank()
Dadf_transport_internal.h81 uint16_t ring_mask; member
Dadf_hw_arbiter.c113 ring->bank->ring_mask & 0xFF); in adf_update_ring_arb()
Dadf_transport_debug.c212 if (!(bank->ring_mask & 1 << ring_id)) in adf_bank_show()
/drivers/scsi/lpfc/
Dlpfc_sli.h273 uint32_t ring_mask; /* Binds HBQ to a ring e.g. Ring0=b0001, member
Dlpfc_mbox.c1157 hbqmb->ringMask = hbq_desc->ring_mask; /* Binds HBQ to a ring in lpfc_config_hbq()
Dlpfc_sli.c2105 .ring_mask = (1 << LPFC_ELS_RING),
/drivers/net/ethernet/intel/iavf/
Diavf.h99 u32 ring_mask; member
Diavf_virtchnl.c381 vecmap->txq_map = q_vector->ring_mask; in iavf_map_queues()
382 vecmap->rxq_map = q_vector->ring_mask; in iavf_map_queues()
Diavf_main.c315 q_vector->ring_mask |= BIT(r_idx); in iavf_map_vector_to_rxq()
/drivers/infiniband/hw/bnxt_re/
Dmain.c399 int pages, int type, u32 ring_mask, in bnxt_re_net_ring_alloc() argument
423 req.length = cpu_to_le32(ring_mask + 1); in bnxt_re_net_ring_alloc()