Lines Matching refs:ntc
880 u16 ntc = sq->next_to_clean;
884 desc = ICE_CTL_Q_DESC(*sq, ntc);
894 while (head != ntc) {
896 "ntc %d head %d.\n",
897 ntc, head);
899 ntc++;
900 if (ntc == sq->count)
901 ntc = 0;
902 desc = ICE_CTL_Q_DESC(*sq, ntc);
913 sq->next_to_clean = ntc;
1246 u16 ntc = cq->rq.next_to_clean;
1271 if (ntu == ntc) {
1278 desc = ICE_CTL_Q_DESC(cq->rq, ntc);
1279 desc_idx = ntc;
1301 bi = &cq->rq.r.rq_bi[ntc];
1312 wr32(hw, cq->rq.tail, ntc);
1313 /* ntc is updated to tail + 1 */
1314 ntc++;
1315 if (ntc == cq->num_rq_entries)
1316 ntc = 0;
1317 cq->rq.next_to_clean = ntc;
1325 *pending = (u16)((ntc > ntu ? cq->rq.count : 0) + (ntu - ntc));