Home
last modified time | relevance | path

Searched refs:_ring (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Ddefs.h935 ((_ring).tail + (_idx)) % (_ring).size \
956 #define IRDMA_RING_SIZE(_ring) ((_ring).size) argument
957 #define IRDMA_RING_CURRENT_HEAD(_ring) ((_ring).head) argument
965 (_ring).head = ((_ring).head + 1) % size; \
987 (_ring).head = ((_ring).head + 1) % size; \
1005 (_ring).head = ((_ring).head + (_count)) % (_ring).size
1008 (_ring).tail = ((_ring).tail + 1) % (_ring).size
1011 (_ring).head = ((_ring).head + 1) % (_ring).size
1014 (_ring).tail = ((_ring).tail + (_count)) % (_ring).size
1017 (_ring).tail = (_pos) % (_ring).size
[all …]
/linux-6.3-rc2/include/linux/soc/mediatek/
A Dmtk_wed.h220 #define mtk_wed_device_tx_ring_setup(_dev, _ring, _regs, _reset) \ argument
221 (_dev)->ops->tx_ring_setup(_dev, _ring, _regs, _reset)
232 #define mtk_wed_device_rx_ring_setup(_dev, _ring, _regs, _reset) \ argument
233 (_dev)->ops->rx_ring_setup(_dev, _ring, _regs, _reset)
247 #define mtk_wed_device_tx_ring_setup(_dev, _ring, _regs, _reset) -ENODEV argument
248 #define mtk_wed_device_txfree_ring_setup(_dev, _ring, _regs) -ENODEV argument
253 #define mtk_wed_device_rx_ring_setup(_dev, _ring, _regs, _reset) -ENODEV argument
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
A Dadf_gen4_hw_data.h47 u32 _ring = ring; \
54 ADF_RING_CSR_RING_LBASE + ((_ring) << 2), l_base); \
57 ADF_RING_CSR_RING_UBASE + ((_ring) << 2), u_base); \
/linux-6.3-rc2/drivers/gpu/drm/msm/adreno/
A Da6xx_gpu.h65 #define shadowptr(_a6xx_gpu, _ring) ((_a6xx_gpu)->shadow_iova + \ argument
66 ((_ring)->id * sizeof(uint32_t)))
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/
A Dhnae.h338 #define hnae_buf_size(_ring) ((_ring)->buf_size) argument
339 #define hnae_page_order(_ring) (get_order(hnae_buf_size(_ring))) argument
340 #define hnae_page_size(_ring) (PAGE_SIZE << hnae_page_order(_ring)) argument
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_enet.h671 #define hns3_buf_size(_ring) ((_ring)->buf_size) argument
689 #define hns3_page_size(_ring) (PAGE_SIZE << hns3_page_order(_ring)) argument
/linux-6.3-rc2/drivers/net/ethernet/synopsys/
A Ddwc-xlgmac.h96 typeof(ring) _ring = (ring); \
97 ((_ring)->desc_data_head + \
98 ((idx) & ((_ring)->dma_desc_count - 1))); \
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_txrx.h465 #define ice_rx_pg_size(_ring) (PAGE_SIZE << ice_rx_pg_order(_ring)) argument
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_txrx.h452 #define i40e_rx_pg_size(_ring) (PAGE_SIZE << i40e_rx_pg_order(_ring)) argument
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_txrx.h441 #define iavf_rx_pg_size(_ring) (PAGE_SIZE << iavf_rx_pg_order(_ring)) argument
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbevf/
A Dixgbevf.h207 #define ixgbevf_rx_pg_size(_ring) (PAGE_SIZE << ixgbevf_rx_pg_order(_ring)) argument
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/
A Dxgbe.h258 #define XGBE_GET_DESC_DATA(_ring, _idx) \ argument
259 ((_ring)->rdata + \
260 ((_idx) & ((_ring)->rdesc_count - 1)))
/linux-6.3-rc2/drivers/net/ethernet/intel/igc/
A Digc.h638 #define igc_rx_pg_size(_ring) (PAGE_SIZE << igc_rx_pg_order(_ring)) argument
/linux-6.3-rc2/drivers/net/ethernet/intel/igb/
A Digb.h425 #define igb_rx_pg_size(_ring) (PAGE_SIZE << igb_rx_pg_order(_ring)) argument
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe.h466 #define ixgbe_rx_pg_size(_ring) (PAGE_SIZE << ixgbe_rx_pg_order(_ring)) argument

Completed in 62 milliseconds