Home
last modified time | relevance | path

Searched refs:ntu (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/intel/i40evf/
Di40e_adminq.c888 u16 ntu; in i40evf_clean_arq_element() local
901 ntu = (rd32(hw, hw->aq.arq.head) & I40E_VF_ARQH1_ARQH_MASK); in i40evf_clean_arq_element()
902 if (ntu == ntc) { in i40evf_clean_arq_element()
955 hw->aq.arq.next_to_use = ntu; in i40evf_clean_arq_element()
960 *pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc); in i40evf_clean_arq_element()
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h350 u16 ntu = ring->next_to_use; in ixgbevf_desc_unused() local
352 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbevf_desc_unused()
/drivers/net/ethernet/intel/i40e/
Di40e_adminq.c954 u16 ntu; in i40e_clean_arq_element() local
967 ntu = (rd32(hw, hw->aq.arq.head) & I40E_PF_ARQH_ARQH_MASK); in i40e_clean_arq_element()
968 if (ntu == ntc) { in i40e_clean_arq_element()
1021 hw->aq.arq.next_to_use = ntu; in i40e_clean_arq_element()
1026 *pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc); in i40e_clean_arq_element()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h562 u16 ntu = ring->next_to_use; in ixgbe_desc_unused() local
564 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbe_desc_unused()