Searched refs:_ring (Results 1 – 13 of 13) sorted by relevance
1564 #define I40IW_RING_INIT(_ring, _size) \ argument1566 (_ring).head = 0; \1567 (_ring).tail = 0; \1568 (_ring).size = (_size); \1570 #define I40IW_RING_GETSIZE(_ring) ((_ring).size) argument1571 #define I40IW_RING_GETCURRENT_HEAD(_ring) ((_ring).head) argument1572 #define I40IW_RING_GETCURRENT_TAIL(_ring) ((_ring).tail) argument1574 #define I40IW_RING_MOVE_HEAD(_ring, _retcode) \ argument1577 size = (_ring).size; \1578 if (!I40IW_RING_FULL_ERR(_ring)) { \[all …]
60 #define shadowptr(_a6xx_gpu, _ring) ((_a6xx_gpu)->shadow_iova + \ argument61 ((_ring)->id * sizeof(uint32_t)))
338 #define hnae_buf_size(_ring) ((_ring)->buf_size) argument339 #define hnae_page_order(_ring) (get_order(hnae_buf_size(_ring))) argument340 #define hnae_page_size(_ring) (PAGE_SIZE << hnae_page_order(_ring)) argument
551 #define hns3_buf_size(_ring) ((_ring)->buf_size) argument562 #define hns3_page_size(_ring) (PAGE_SIZE << hns3_page_order(_ring)) argument
369 #define ice_rx_pg_size(_ring) (PAGE_SIZE << ice_rx_pg_order(_ring)) argument
95 typeof(ring) _ring = (ring); \96 ((_ring)->desc_data_head + \97 ((idx) & ((_ring)->dma_desc_count - 1))); \
448 #define i40e_rx_pg_size(_ring) (PAGE_SIZE << i40e_rx_pg_order(_ring)) argument
437 #define iavf_rx_pg_size(_ring) (PAGE_SIZE << iavf_rx_pg_order(_ring)) argument
207 #define ixgbevf_rx_pg_size(_ring) (PAGE_SIZE << ixgbevf_rx_pg_order(_ring)) argument
555 #define igc_rx_pg_size(_ring) (PAGE_SIZE << igc_rx_pg_order(_ring)) argument
257 #define XGBE_GET_DESC_DATA(_ring, _idx) \ argument258 ((_ring)->rdata + \259 ((_idx) & ((_ring)->rdesc_count - 1)))
425 #define igb_rx_pg_size(_ring) (PAGE_SIZE << igb_rx_pg_order(_ring)) argument
417 #define ixgbe_rx_pg_size(_ring) (PAGE_SIZE << ixgbe_rx_pg_order(_ring)) argument