Searched refs:ntu (Results 1 – 4 of 4) sorted by relevance
888 u16 ntu; in i40evf_clean_arq_element() local901 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()
350 u16 ntu = ring->next_to_use; in ixgbevf_desc_unused() local352 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbevf_desc_unused()
954 u16 ntu; in i40e_clean_arq_element() local967 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()
562 u16 ntu = ring->next_to_use; in ixgbe_desc_unused() local564 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; in ixgbe_desc_unused()