/linux-6.3-rc2/drivers/infiniband/hw/irdma/ |
A D | defs.h | 935 ((_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 D | mtk_wed.h | 220 #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 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.3-rc2/drivers/gpu/drm/msm/adreno/ |
A D | a6xx_gpu.h | 65 #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 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.3-rc2/drivers/net/ethernet/hisilicon/hns3/ |
A 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.3-rc2/drivers/net/ethernet/synopsys/ |
A D | dwc-xlgmac.h | 96 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 D | ice_txrx.h | 465 #define ice_rx_pg_size(_ring) (PAGE_SIZE << ice_rx_pg_order(_ring)) argument
|
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e_txrx.h | 452 #define i40e_rx_pg_size(_ring) (PAGE_SIZE << i40e_rx_pg_order(_ring)) argument
|
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/ |
A D | iavf_txrx.h | 441 #define iavf_rx_pg_size(_ring) (PAGE_SIZE << iavf_rx_pg_order(_ring)) argument
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbevf/ |
A D | ixgbevf.h | 207 #define ixgbevf_rx_pg_size(_ring) (PAGE_SIZE << ixgbevf_rx_pg_order(_ring)) argument
|
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe.h | 258 #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 D | igc.h | 638 #define igc_rx_pg_size(_ring) (PAGE_SIZE << igc_rx_pg_order(_ring)) argument
|
/linux-6.3-rc2/drivers/net/ethernet/intel/igb/ |
A D | igb.h | 425 #define igb_rx_pg_size(_ring) (PAGE_SIZE << igb_rx_pg_order(_ring)) argument
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe.h | 466 #define ixgbe_rx_pg_size(_ring) (PAGE_SIZE << ixgbe_rx_pg_order(_ring)) argument
|