Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_d.h1564 #define I40IW_RING_INIT(_ring, _size) \ argument
1566 (_ring).head = 0; \
1567 (_ring).tail = 0; \
1568 (_ring).size = (_size); \
1570 #define I40IW_RING_GETSIZE(_ring) ((_ring).size) argument
1571 #define I40IW_RING_GETCURRENT_HEAD(_ring) ((_ring).head) argument
1572 #define I40IW_RING_GETCURRENT_TAIL(_ring) ((_ring).tail) argument
1574 #define I40IW_RING_MOVE_HEAD(_ring, _retcode) \ argument
1577 size = (_ring).size; \
1578 if (!I40IW_RING_FULL_ERR(_ring)) { \
[all …]
/Linux-v5.10/drivers/gpu/drm/msm/adreno/
Da6xx_gpu.h60 #define shadowptr(_a6xx_gpu, _ring) ((_a6xx_gpu)->shadow_iova + \ argument
61 ((_ring)->id * sizeof(uint32_t)))
/Linux-v5.10/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-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h551 #define hns3_buf_size(_ring) ((_ring)->buf_size) argument
562 #define hns3_page_size(_ring) (PAGE_SIZE << hns3_page_order(_ring)) argument
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_txrx.h369 #define ice_rx_pg_size(_ring) (PAGE_SIZE << ice_rx_pg_order(_ring)) argument
/Linux-v5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h95 typeof(ring) _ring = (ring); \
96 ((_ring)->desc_data_head + \
97 ((idx) & ((_ring)->dma_desc_count - 1))); \
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h448 #define i40e_rx_pg_size(_ring) (PAGE_SIZE << i40e_rx_pg_order(_ring)) argument
/Linux-v5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h437 #define iavf_rx_pg_size(_ring) (PAGE_SIZE << iavf_rx_pg_order(_ring)) argument
/Linux-v5.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h207 #define ixgbevf_rx_pg_size(_ring) (PAGE_SIZE << ixgbevf_rx_pg_order(_ring)) argument
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc.h555 #define igc_rx_pg_size(_ring) (PAGE_SIZE << igc_rx_pg_order(_ring)) argument
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe.h257 #define XGBE_GET_DESC_DATA(_ring, _idx) \ argument
258 ((_ring)->rdata + \
259 ((_idx) & ((_ring)->rdesc_count - 1)))
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb.h425 #define igb_rx_pg_size(_ring) (PAGE_SIZE << igb_rx_pg_order(_ring)) argument
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h417 #define ixgbe_rx_pg_size(_ring) (PAGE_SIZE << ixgbe_rx_pg_order(_ring)) argument