Lines Matching full:ntc
725 u16 ntc = asq->next_to_clean; in i40e_clean_asq() local
729 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
730 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
731 while (rd32(hw, hw->aq.asq.head) != ntc) { in i40e_clean_asq()
733 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in i40e_clean_asq()
743 ntc++; in i40e_clean_asq()
744 if (ntc == asq->count) in i40e_clean_asq()
745 ntc = 0; in i40e_clean_asq()
746 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
747 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
750 asq->next_to_clean = ntc; in i40e_clean_asq()
1092 u16 ntc = hw->aq.arq.next_to_clean; in i40e_clean_arq_element() local
1115 if (ntu == ntc) { in i40e_clean_arq_element()
1122 desc = I40E_ADMINQ_DESC(hw->aq.arq, ntc); in i40e_clean_arq_element()
1123 desc_idx = ntc; in i40e_clean_arq_element()
1151 bi = &hw->aq.arq.r.arq_bi[ntc]; in i40e_clean_arq_element()
1162 wr32(hw, hw->aq.arq.tail, ntc); in i40e_clean_arq_element()
1163 /* ntc is updated to tail + 1 */ in i40e_clean_arq_element()
1164 ntc++; in i40e_clean_arq_element()
1165 if (ntc == hw->aq.num_arq_entries) in i40e_clean_arq_element()
1166 ntc = 0; in i40e_clean_arq_element()
1167 hw->aq.arq.next_to_clean = ntc; in i40e_clean_arq_element()
1174 *pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc); in i40e_clean_arq_element()