Lines Matching refs:ntc
584 u16 ntc = asq->next_to_clean; in iavf_clean_asq() local
588 desc = IAVF_ADMINQ_DESC(*asq, ntc); in iavf_clean_asq()
589 details = IAVF_ADMINQ_DETAILS(*asq, ntc); in iavf_clean_asq()
590 while (rd32(hw, hw->aq.asq.head) != ntc) { in iavf_clean_asq()
592 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in iavf_clean_asq()
603 ntc++; in iavf_clean_asq()
604 if (ntc == asq->count) in iavf_clean_asq()
605 ntc = 0; in iavf_clean_asq()
606 desc = IAVF_ADMINQ_DESC(*asq, ntc); in iavf_clean_asq()
607 details = IAVF_ADMINQ_DETAILS(*asq, ntc); in iavf_clean_asq()
610 asq->next_to_clean = ntc; in iavf_clean_asq()
858 u16 ntc = hw->aq.arq.next_to_clean; in iavf_clean_arq_element() local
882 if (ntu == ntc) { in iavf_clean_arq_element()
889 desc = IAVF_ADMINQ_DESC(hw->aq.arq, ntc); in iavf_clean_arq_element()
890 desc_idx = ntc; in iavf_clean_arq_element()
918 bi = &hw->aq.arq.r.arq_bi[ntc]; in iavf_clean_arq_element()
929 wr32(hw, hw->aq.arq.tail, ntc); in iavf_clean_arq_element()
931 ntc++; in iavf_clean_arq_element()
932 if (ntc == hw->aq.num_arq_entries) in iavf_clean_arq_element()
933 ntc = 0; in iavf_clean_arq_element()
934 hw->aq.arq.next_to_clean = ntc; in iavf_clean_arq_element()
940 *pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc); in iavf_clean_arq_element()