Lines Matching full:ntc
860 u16 ntc = sq->next_to_clean; in ice_clean_sq() local
863 desc = ICE_CTL_Q_DESC(*sq, ntc); in ice_clean_sq()
865 while (rd32(hw, cq->sq.head) != ntc) { in ice_clean_sq()
866 ice_debug(hw, ICE_DBG_AQ_MSG, "ntc %d head %d.\n", ntc, rd32(hw, cq->sq.head)); in ice_clean_sq()
868 ntc++; in ice_clean_sq()
869 if (ntc == sq->count) in ice_clean_sq()
870 ntc = 0; in ice_clean_sq()
871 desc = ICE_CTL_Q_DESC(*sq, ntc); in ice_clean_sq()
874 sq->next_to_clean = ntc; in ice_clean_sq()
1175 u16 ntc = cq->rq.next_to_clean; in ice_clean_rq_elem() local
1200 if (ntu == ntc) { in ice_clean_rq_elem()
1207 desc = ICE_CTL_Q_DESC(cq->rq, ntc); in ice_clean_rq_elem()
1208 desc_idx = ntc; in ice_clean_rq_elem()
1230 bi = &cq->rq.r.rq_bi[ntc]; in ice_clean_rq_elem()
1241 wr32(hw, cq->rq.tail, ntc); in ice_clean_rq_elem()
1242 /* ntc is updated to tail + 1 */ in ice_clean_rq_elem()
1243 ntc++; in ice_clean_rq_elem()
1244 if (ntc == cq->num_rq_entries) in ice_clean_rq_elem()
1245 ntc = 0; in ice_clean_rq_elem()
1246 cq->rq.next_to_clean = ntc; in ice_clean_rq_elem()
1254 *pending = (u16)((ntc > ntu ? cq->rq.count : 0) + (ntu - ntc)); in ice_clean_rq_elem()