Searched refs:head_idx (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_dev.c | 648 q->head_idx = 0; in ionic_q_init() 687 desc_info = &q->info[q->head_idx]; in ionic_q_post() 691 q->head_idx = (q->head_idx + 1) & (q->num_descs - 1); in ionic_q_post() 695 q->head_idx, ring_doorbell); in ionic_q_post() 699 q->dbval | q->head_idx); in ionic_q_post() 708 head = q->head_idx; in ionic_q_is_posted() 722 if (q->tail_idx == q->head_idx) in ionic_q_service() 729 q->name, stop_index, q->tail_idx, q->head_idx); in ionic_q_service()
|
D | ionic_dev.h | 217 u16 head_idx; member 287 if (q->head_idx >= avail) in ionic_q_space_avail() 288 avail += q->num_descs - q->head_idx - 1; in ionic_q_space_avail() 290 avail -= q->head_idx + 1; in ionic_q_space_avail()
|
D | ionic_txrx.c | 326 if (q->tail_idx == q->head_idx) in ionic_rx_service() 363 desc_info = &q->info[q->head_idx]; in ionic_rx_fill() 417 q->dbval | q->head_idx); in ionic_rx_fill() 439 q->head_idx = 0; in ionic_rx_empty() 800 while (q->head_idx != q->tail_idx) { in ionic_tx_empty() 920 desc_info = &q->info[q->head_idx]; in ionic_tx_tso() 1006 desc_info = &q->info[q->head_idx]; in ionic_tx_tso() 1108 struct ionic_desc_info *desc_info = &q->info[q->head_idx]; in ionic_tx()
|
D | ionic_main.c | 227 while (q->tail_idx != q->head_idx) { in ionic_adminq_flush() 316 desc_info = &q->info[q->head_idx]; in ionic_adminq_post()
|
D | ionic_debugfs.c | 89 seq_printf(seq, "%d\n", q->head_idx); in q_head_show()
|
D | ionic_lif.c | 717 qcq->q.head_idx = 0; in ionic_qcq_sanitize()
|
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_ooo.c | 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() 242 p_hwfn->p_ooo_info->ooo_history.head_idx = 0; in qed_ooo_setup()
|
D | qed_ooo.h | 42 u32 head_idx; member
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 537 u32 head_idx = i40e_get_head(tx_ring); in i40e_clean_xdp_tx_irq() local 541 if (head_idx < tx_ring->next_to_clean) in i40e_clean_xdp_tx_irq() 542 head_idx += tx_ring->count; in i40e_clean_xdp_tx_irq() 543 completed_frames = head_idx - tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq()
|
/linux-5.19.10/drivers/crypto/ccp/ |
D | ccp-dev-v5.c | 209 unsigned int head_idx, n; in ccp5_get_free_slots() local 214 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()
|
/linux-5.19.10/drivers/net/ethernet/cadence/ |
D | macb_main.c | 1642 unsigned int head_idx, tbqp; in macb_tx_restart() local 1651 head_idx = macb_adj_dma_desc_idx(bp, macb_tx_ring_wrap(bp, queue->tx_head)); in macb_tx_restart() 1653 if (tbqp == head_idx) in macb_tx_restart()
|