Searched refs:head_idx (Results 1 – 11 of 11) sorted by relevance
553 q->head_idx = 0; in ionic_q_init()592 desc_info = &q->info[q->head_idx]; in ionic_q_post()596 q->head_idx = (q->head_idx + 1) & (q->num_descs - 1); in ionic_q_post()600 q->head_idx, ring_doorbell); in ionic_q_post()604 q->dbval | q->head_idx); in ionic_q_post()613 head = q->head_idx; in ionic_q_is_posted()627 if (q->tail_idx == q->head_idx) in ionic_q_service()634 q->name, stop_index, q->tail_idx, q->head_idx); in ionic_q_service()
200 u16 head_idx; member273 if (q->head_idx >= avail) in ionic_q_space_avail()274 avail += q->num_descs - q->head_idx - 1; in ionic_q_space_avail()276 avail -= q->head_idx + 1; in ionic_q_space_avail()
237 if (q->tail_idx == q->head_idx) in ionic_rx_service()344 desc_info = &q->info[q->head_idx]; in ionic_rx_fill()391 q->dbval | q->head_idx); in ionic_rx_fill()689 while (q->head_idx != q->tail_idx) { in ionic_tx_empty()778 struct ionic_txq_sg_desc *sg_desc = q->info[q->head_idx].txq_sg_desc; in ionic_tx_tso_next()779 struct ionic_txq_desc *desc = q->info[q->head_idx].txq_desc; in ionic_tx_tso_next()794 u16 abort = q->head_idx; in ionic_tx_tso()947 while (rewind != q->head_idx) { in ionic_tx_tso()952 q->head_idx = abort; in ionic_tx_tso()959 struct ionic_txq_desc *desc = q->info[q->head_idx].txq_desc; in ionic_tx_calc_csum()[all …]
195 while (q->tail_idx != q->head_idx) { in ionic_adminq_flush()275 desc_info = &q->info[q->head_idx]; in ionic_adminq_post()
269 struct ionic_txq_desc *desc = &q->txq[q->head_idx]; in debug_stats_txq_post()
89 seq_printf(seq, "%d\n", q->head_idx); in q_head_show()
697 qcq->q.head_idx = 0; in ionic_qcq_sanitize()
70 if (p_history->head_idx == p_history->num_of_cqes) in qed_ooo_save_history_entry()71 p_history->head_idx = 0; in qed_ooo_save_history_entry()72 p_history->p_cqes[p_history->head_idx] = *p_cqe; in qed_ooo_save_history_entry()73 p_history->head_idx++; in qed_ooo_save_history_entry()241 p_hwfn->p_ooo_info->ooo_history.head_idx = 0; in qed_ooo_setup()
42 u32 head_idx; member
475 u32 head_idx = i40e_get_head(tx_ring); in i40e_clean_xdp_tx_irq() local479 if (head_idx < tx_ring->next_to_clean) in i40e_clean_xdp_tx_irq()480 head_idx += tx_ring->count; in i40e_clean_xdp_tx_irq()481 completed_frames = head_idx - tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq()
209 unsigned int head_idx, n; in ccp5_get_free_slots() local214 head_idx = (head_lo - queue_start) / sizeof(struct ccp5_desc); in ccp5_get_free_slots()216 n = head_idx + COMMANDS_PER_QUEUE - cmd_q->qidx - 1; in ccp5_get_free_slots()