Searched refs:head_idx (Results 1 – 4 of 4) sorted by relevance
96 if (p_history->head_idx == p_history->num_of_cqes) in qed_ooo_save_history_entry()97 p_history->head_idx = 0; in qed_ooo_save_history_entry()98 p_history->p_cqes[p_history->head_idx] = *p_cqe; in qed_ooo_save_history_entry()99 p_history->head_idx++; in qed_ooo_save_history_entry()267 p_hwfn->p_ooo_info->ooo_history.head_idx = 0; in qed_ooo_setup()
68 u32 head_idx; member
725 u32 head_idx = i40e_get_head(tx_ring); in i40e_clean_xdp_tx_irq() local729 if (head_idx < tx_ring->next_to_clean) in i40e_clean_xdp_tx_irq()730 head_idx += tx_ring->count; in i40e_clean_xdp_tx_irq()731 frames_ready = 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()