Lines Matching refs:ntc
611 u16 ntc = asq->next_to_clean; in i40e_clean_asq() local
615 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
616 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
617 while (rd32(hw, hw->aq.asq.head) != ntc) { in i40e_clean_asq()
619 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in i40e_clean_asq()
630 ntc++; in i40e_clean_asq()
631 if (ntc == asq->count) in i40e_clean_asq()
632 ntc = 0; in i40e_clean_asq()
633 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
634 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
637 asq->next_to_clean = ntc; in i40e_clean_asq()
882 u16 ntc = hw->aq.arq.next_to_clean; in i40evf_clean_arq_element() local
902 if (ntu == ntc) { in i40evf_clean_arq_element()
909 desc = I40E_ADMINQ_DESC(hw->aq.arq, ntc); in i40evf_clean_arq_element()
910 desc_idx = ntc; in i40evf_clean_arq_element()
938 bi = &hw->aq.arq.r.arq_bi[ntc]; in i40evf_clean_arq_element()
949 wr32(hw, hw->aq.arq.tail, ntc); in i40evf_clean_arq_element()
951 ntc++; in i40evf_clean_arq_element()
952 if (ntc == hw->aq.num_arq_entries) in i40evf_clean_arq_element()
953 ntc = 0; in i40evf_clean_arq_element()
954 hw->aq.arq.next_to_clean = ntc; in i40evf_clean_arq_element()
960 *pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc); in i40evf_clean_arq_element()