Lines Matching refs:ntp
424 u16 ntp = cq->next_to_post; in idpf_ctlq_post_rx_buffs() local
426 u16 tbp = ntp + 1; in idpf_ctlq_post_rx_buffs()
445 while (ntp != cq->next_to_clean) { in idpf_ctlq_post_rx_buffs()
446 desc = IDPF_CTLQ_DESC(cq, ntp); in idpf_ctlq_post_rx_buffs()
448 if (cq->bi.rx_buff[ntp]) in idpf_ctlq_post_rx_buffs()
456 tbp = ntp + 1; in idpf_ctlq_post_rx_buffs()
464 cq->bi.rx_buff[ntp] = in idpf_ctlq_post_rx_buffs()
484 cq->bi.rx_buff[ntp] = buffs[i]; in idpf_ctlq_post_rx_buffs()
496 desc->datalen = cpu_to_le16(cq->bi.rx_buff[ntp]->size); in idpf_ctlq_post_rx_buffs()
498 cpu_to_le32(upper_32_bits(cq->bi.rx_buff[ntp]->pa)); in idpf_ctlq_post_rx_buffs()
500 cpu_to_le32(lower_32_bits(cq->bi.rx_buff[ntp]->pa)); in idpf_ctlq_post_rx_buffs()
502 ntp++; in idpf_ctlq_post_rx_buffs()
503 if (ntp == cq->ring_size) in idpf_ctlq_post_rx_buffs()
504 ntp = 0; in idpf_ctlq_post_rx_buffs()
509 if (cq->next_to_post != ntp) { in idpf_ctlq_post_rx_buffs()
510 if (ntp) in idpf_ctlq_post_rx_buffs()
514 cq->next_to_post = ntp - 1; in idpf_ctlq_post_rx_buffs()