Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/irdma/
Ddefs.h935 #define IRDMA_RING_GET_NEXT_TAIL(_ring, _idx) \ argument
937 ((_ring).tail + (_idx)) % (_ring).size \
952 #define IRDMA_RING_INIT(_ring, _size) \ argument
954 (_ring).head = 0; \
955 (_ring).tail = 0; \
956 (_ring).size = (_size); \
958 #define IRDMA_RING_SIZE(_ring) ((_ring).size) argument
959 #define IRDMA_RING_CURRENT_HEAD(_ring) ((_ring).head) argument
960 #define IRDMA_RING_CURRENT_TAIL(_ring) ((_ring).tail) argument
962 #define IRDMA_RING_MOVE_HEAD(_ring, _retcode) \ argument
[all …]
/linux-6.6.21/include/linux/soc/mediatek/
Dmtk_wed.h223 #define mtk_wed_device_tx_ring_setup(_dev, _ring, _regs, _reset) \ argument
224 (_dev)->ops->tx_ring_setup(_dev, _ring, _regs, _reset)
235 #define mtk_wed_device_rx_ring_setup(_dev, _ring, _regs, _reset) \ argument
236 (_dev)->ops->rx_ring_setup(_dev, _ring, _regs, _reset)
252 #define mtk_wed_device_tx_ring_setup(_dev, _ring, _regs, _reset) -ENODEV argument
253 #define mtk_wed_device_txfree_ring_setup(_dev, _ring, _regs) -ENODEV argument
258 #define mtk_wed_device_rx_ring_setup(_dev, _ring, _regs, _reset) -ENODEV argument
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
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.6.21/drivers/gpu/drm/msm/adreno/
Da6xx_gpu.h80 #define shadowptr(_a6xx_gpu, _ring) ((_a6xx_gpu)->shadow_iova + \ argument
81 ((_ring)->id * sizeof(uint32_t)))
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
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.6.21/drivers/net/ethernet/hisilicon/hns3/
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.6.21/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h96 typeof(ring) _ring = (ring); \
97 ((_ring)->desc_data_head + \
98 ((idx) & ((_ring)->dma_desc_count - 1))); \
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h440 #define iavf_rx_pg_size(_ring) (PAGE_SIZE << iavf_rx_pg_order(_ring)) argument
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h456 #define i40e_rx_pg_size(_ring) (PAGE_SIZE << i40e_rx_pg_order(_ring)) argument
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_txrx.h463 #define ice_rx_pg_size(_ring) (PAGE_SIZE << ice_rx_pg_order(_ring)) argument
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h207 #define ixgbevf_rx_pg_size(_ring) (PAGE_SIZE << ixgbevf_rx_pg_order(_ring)) argument
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe.h258 #define XGBE_GET_DESC_DATA(_ring, _idx) \ argument
259 ((_ring)->rdata + \
260 ((_idx) & ((_ring)->rdesc_count - 1)))
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc.h704 #define igc_rx_pg_size(_ring) (PAGE_SIZE << igc_rx_pg_order(_ring)) argument
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb.h425 #define igb_rx_pg_size(_ring) (PAGE_SIZE << igb_rx_pg_order(_ring)) argument
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h465 #define ixgbe_rx_pg_size(_ring) (PAGE_SIZE << ixgbe_rx_pg_order(_ring)) argument