Lines Matching defs:ntc
682 u16 ntc = asq->next_to_clean;
686 desc = I40E_ADMINQ_DESC(*asq, ntc);
687 details = I40E_ADMINQ_DETAILS(*asq, ntc);
688 while (rd32(hw, hw->aq.asq.head) != ntc) {
690 "%s: ntc %d head %d.\n", __FUNCTION__, ntc,
702 ntc++;
703 if (ntc == asq->count)
704 ntc = 0;
705 desc = I40E_ADMINQ_DESC(*asq, ntc);
706 details = I40E_ADMINQ_DETAILS(*asq, ntc);
709 asq->next_to_clean = ntc;
968 u16 ntc = hw->aq.arq.next_to_clean;
981 if (ntu == ntc) {
988 desc = I40E_ADMINQ_DESC(hw->aq.arq, ntc);
989 desc_idx = ntc;
1019 bi = &hw->aq.arq.r.arq_bi[ntc];
1030 wr32(hw, hw->aq.arq.tail, ntc);
1031 /* ntc is updated to tail + 1 */
1032 ntc++;
1033 if (ntc == hw->aq.num_arq_entries)
1034 ntc = 0;
1035 hw->aq.arq.next_to_clean = ntc;
1041 *pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc);