Lines Matching refs:next_to_use
31 i = tx_ring->next_to_use; in i40e_fdir()
35 tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; in i40e_fdir()
120 i = tx_ring->next_to_use; in i40e_program_fdir_filter()
125 i = tx_ring->next_to_use; in i40e_program_fdir_filter()
129 tx_ring->next_to_use = ((i + 1) < tx_ring->count) ? i + 1 : 0; in i40e_program_fdir_filter()
154 writel(tx_ring->next_to_use, tx_ring->tail); in i40e_program_fdir_filter()
812 tx_ring->next_to_use = 0; in i40e_clean_tx_ring()
858 tail = ring->next_to_use; in i40e_get_tx_pending()
1449 tx_ring->next_to_use = 0; in i40e_setup_tx_descriptors()
1524 rx_ring->next_to_use = 0; in i40e_clean_rx_ring()
1576 rx_ring->next_to_use = 0; in i40e_setup_rx_descriptors()
1603 rx_ring->next_to_use = val; in i40e_release_rx_desc()
1695 u16 ntu = rx_ring->next_to_use; in i40e_alloc_rx_buffers()
1736 if (rx_ring->next_to_use != ntu) in i40e_alloc_rx_buffers()
1742 if (rx_ring->next_to_use != ntu) in i40e_alloc_rx_buffers()
2363 writel_relaxed(xdp_ring->next_to_use, xdp_ring->tail); in i40e_xdp_ring_update_tail()
2873 i = tx_ring->next_to_use; in i40e_atr()
2877 tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; in i40e_atr()
3365 int i = tx_ring->next_to_use; in i40e_create_tx_ctx()
3375 tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; in i40e_create_tx_ctx()
3514 u16 i = tx_ring->next_to_use; in i40e_tx_map()
3597 tx_ring->next_to_use = i; in i40e_tx_map()
3652 tx_ring->next_to_use = i; in i40e_tx_map()
3717 u16 i = 0, index = xdp_ring->next_to_use; in i40e_xmit_xdp_ring()
3773 xdp_ring->next_to_use = index; in i40e_xmit_xdp_ring()
3844 first = &tx_ring->tx_bi[tx_ring->next_to_use]; in i40e_xmit_frame_ring()