Searched refs:_ring (Results 1 – 14 of 14) sorted by relevance
934 ((_ring).tail + (_idx)) % (_ring).size \955 #define IRDMA_RING_SIZE(_ring) ((_ring).size) argument956 #define IRDMA_RING_CURRENT_HEAD(_ring) ((_ring).head) argument964 (_ring).head = ((_ring).head + 1) % size; \986 (_ring).head = ((_ring).head + 1) % size; \1004 (_ring).head = ((_ring).head + (_count)) % (_ring).size1007 (_ring).tail = ((_ring).tail + 1) % (_ring).size1010 (_ring).head = ((_ring).head + 1) % (_ring).size1013 (_ring).tail = ((_ring).tail + (_count)) % (_ring).size1016 (_ring).tail = (_pos) % (_ring).size[all …]
46 u32 _ring = ring; \53 ADF_RING_CSR_RING_LBASE + ((_ring) << 2), l_base); \56 ADF_RING_CSR_RING_UBASE + ((_ring) << 2), u_base); \
74 #define shadowptr(_a6xx_gpu, _ring) ((_a6xx_gpu)->shadow_iova + \ argument75 ((_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
656 #define hns3_buf_size(_ring) ((_ring)->buf_size) argument667 #define hns3_page_size(_ring) (PAGE_SIZE << hns3_page_order(_ring)) argument
95 typeof(ring) _ring = (ring); \96 ((_ring)->desc_data_head + \97 ((idx) & ((_ring)->dma_desc_count - 1))); \
412 #define ice_rx_pg_size(_ring) (PAGE_SIZE << ice_rx_pg_order(_ring)) argument
450 #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
257 #define XGBE_GET_DESC_DATA(_ring, _idx) \ argument258 ((_ring)->rdata + \259 ((_idx) & ((_ring)->rdesc_count - 1)))
636 #define igc_rx_pg_size(_ring) (PAGE_SIZE << igc_rx_pg_order(_ring)) argument
425 #define igb_rx_pg_size(_ring) (PAGE_SIZE << igb_rx_pg_order(_ring)) argument
421 #define ixgbe_rx_pg_size(_ring) (PAGE_SIZE << ixgbe_rx_pg_order(_ring)) argument
Completed in 60 milliseconds