Lines Matching refs:tail_idx
51 if (q->tail_idx == q->head_idx) { in ionic_txq_poke_doorbell()
78 if (q->tail_idx == q->head_idx) in ionic_rxq_poke_doorbell()
728 comp = &((struct ionic_rxq_comp *)cq->base)[cq->tail_idx]; in __ionic_rx_service()
734 if (q->tail_idx == q->head_idx) in __ionic_rx_service()
737 if (q->tail_idx != le16_to_cpu(comp->comp_index)) in __ionic_rx_service()
740 desc_info = &q->rx_info[q->tail_idx]; in __ionic_rx_service()
741 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in __ionic_rx_service()
897 q->tail_idx = 0; in ionic_rx_empty()
985 if (cq->tail_idx == cq->num_descs - 1) in ionic_rx_cq_service()
988 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in ionic_rx_cq_service()
1243 comp = &((struct ionic_txq_comp *)cq->base)[cq->tail_idx]; in ionic_tx_service()
1252 desc_info = &q->tx_info[q->tail_idx]; in ionic_tx_service()
1254 index = q->tail_idx; in ionic_tx_service()
1255 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_tx_service()
1282 if (cq->tail_idx == cq->num_descs - 1) in ionic_tx_cq_service()
1284 cq->tail_idx = (cq->tail_idx + 1) & (cq->num_descs - 1); in ionic_tx_cq_service()
1320 while (q->head_idx != q->tail_idx) { in ionic_tx_empty()
1321 desc_info = &q->tx_info[q->tail_idx]; in ionic_tx_empty()
1323 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_tx_empty()