Lines Matching refs:tail_idx
36 if (q->tail_idx == q->head_idx) { in ionic_txq_poke_doorbell()
63 if (q->tail_idx == q->head_idx) in ionic_rxq_poke_doorbell()
387 if (q->tail_idx == q->head_idx) in ionic_rx_service()
390 if (q->tail_idx != le16_to_cpu(comp->comp_index)) in ionic_rx_service()
393 desc_info = &q->info[q->tail_idx]; in ionic_rx_service()
394 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_rx_service()
526 q->tail_idx = 0; in ionic_rx_empty()
856 desc_info = &q->info[q->tail_idx]; in ionic_tx_service()
858 index = q->tail_idx; in ionic_tx_service()
859 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_tx_service()
894 while (q->head_idx != q->tail_idx) { in ionic_tx_empty()
895 desc_info = &q->info[q->tail_idx]; in ionic_tx_empty()
897 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_tx_empty()