Lines Matching full:ntc
360 u16 ntc, desc_err; in idpf_ctlq_clean_sq() local
369 ntc = cq->next_to_clean; in idpf_ctlq_clean_sq()
375 desc = IDPF_CTLQ_DESC(cq, ntc); in idpf_ctlq_clean_sq()
382 msg_status[i] = cq->bi.tx_msg[ntc]; in idpf_ctlq_clean_sq()
385 cq->bi.tx_msg[ntc] = NULL; in idpf_ctlq_clean_sq()
390 ntc++; in idpf_ctlq_clean_sq()
391 if (ntc == cq->ring_size) in idpf_ctlq_clean_sq()
392 ntc = 0; in idpf_ctlq_clean_sq()
395 cq->next_to_clean = ntc; in idpf_ctlq_clean_sq()
546 u16 num_to_clean, ntc, flags; in idpf_ctlq_recv() local
554 ntc = cq->next_to_clean; in idpf_ctlq_recv()
560 desc = IDPF_CTLQ_DESC(cq, ntc); in idpf_ctlq_recv()
590 q_msg[i].ctx.indirect.payload = cq->bi.rx_buff[ntc]; in idpf_ctlq_recv()
595 cq->bi.rx_buff[ntc] = NULL; in idpf_ctlq_recv()
604 ntc++; in idpf_ctlq_recv()
605 if (ntc == cq->ring_size) in idpf_ctlq_recv()
606 ntc = 0; in idpf_ctlq_recv()
609 cq->next_to_clean = ntc; in idpf_ctlq_recv()