/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | defs.h | 935 #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/ |
D | mtk_wed.h | 223 #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/ |
D | adf_gen4_hw_data.h | 47 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/ |
D | a6xx_gpu.h | 80 #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/ |
D | hnae.h | 338 #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/ |
D | hns3_enet.h | 671 #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/ |
D | dwc-xlgmac.h | 96 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/ |
D | iavf_txrx.h | 440 #define iavf_rx_pg_size(_ring) (PAGE_SIZE << iavf_rx_pg_order(_ring)) argument
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.h | 456 #define i40e_rx_pg_size(_ring) (PAGE_SIZE << i40e_rx_pg_order(_ring)) argument
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.h | 463 #define ice_rx_pg_size(_ring) (PAGE_SIZE << ice_rx_pg_order(_ring)) argument
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 207 #define ixgbevf_rx_pg_size(_ring) (PAGE_SIZE << ixgbevf_rx_pg_order(_ring)) argument
|
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 258 #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/ |
D | igc.h | 704 #define igc_rx_pg_size(_ring) (PAGE_SIZE << igc_rx_pg_order(_ring)) argument
|
/linux-6.6.21/drivers/net/ethernet/intel/igb/ |
D | igb.h | 425 #define igb_rx_pg_size(_ring) (PAGE_SIZE << igb_rx_pg_order(_ring)) argument
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 465 #define ixgbe_rx_pg_size(_ring) (PAGE_SIZE << ixgbe_rx_pg_order(_ring)) argument
|