Lines Matching full:ntc
693 u16 ntc = asq->next_to_clean; in i40e_clean_asq() local
697 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
698 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
699 while (rd32(hw, I40E_PF_ATQH) != ntc) { in i40e_clean_asq()
701 "ntc %d head %d.\n", ntc, rd32(hw, I40E_PF_ATQH)); in i40e_clean_asq()
711 ntc++; in i40e_clean_asq()
712 if (ntc == asq->count) in i40e_clean_asq()
713 ntc = 0; in i40e_clean_asq()
714 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq()
715 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq()
718 asq->next_to_clean = ntc; in i40e_clean_asq()
1059 u16 ntc = hw->aq.arq.next_to_clean; in i40e_clean_arq_element() local
1083 if (ntu == ntc) { in i40e_clean_arq_element()
1090 desc = I40E_ADMINQ_DESC(hw->aq.arq, ntc); in i40e_clean_arq_element()
1091 desc_idx = ntc; in i40e_clean_arq_element()
1119 bi = &hw->aq.arq.r.arq_bi[ntc]; in i40e_clean_arq_element()
1130 wr32(hw, I40E_PF_ARQT, ntc); in i40e_clean_arq_element()
1131 /* ntc is updated to tail + 1 */ in i40e_clean_arq_element()
1132 ntc++; in i40e_clean_arq_element()
1133 if (ntc == hw->aq.num_arq_entries) in i40e_clean_arq_element()
1134 ntc = 0; in i40e_clean_arq_element()
1135 hw->aq.arq.next_to_clean = ntc; in i40e_clean_arq_element()
1142 *pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc); in i40e_clean_arq_element()