Searched refs:head_idx (Results 1 – 12 of 12) sorted by relevance
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_dev.c | 554 q->head_idx = 0; in ionic_q_init() 593 desc_info = &q->info[q->head_idx]; in ionic_q_post() 597 q->head_idx = (q->head_idx + 1) & (q->num_descs - 1); in ionic_q_post() 601 q->head_idx, ring_doorbell); in ionic_q_post() 605 q->dbval | q->head_idx); in ionic_q_post() 614 head = q->head_idx; in ionic_q_is_posted() 628 if (q->tail_idx == q->head_idx) in ionic_q_service() 635 q->name, stop_index, q->tail_idx, q->head_idx); in ionic_q_service()
|
D | ionic_dev.h | 201 u16 head_idx; member 274 if (q->head_idx >= avail) in ionic_q_space_avail() 275 avail += q->num_descs - q->head_idx - 1; in ionic_q_space_avail() 277 avail -= q->head_idx + 1; in ionic_q_space_avail()
|
D | ionic_txrx.c | 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 …]
|
D | ionic_main.c | 195 while (q->tail_idx != q->head_idx) { in ionic_adminq_flush() 275 desc_info = &q->info[q->head_idx]; in ionic_adminq_post()
|
D | ionic_lif.h | 269 struct ionic_txq_desc *desc = &q->txq[q->head_idx]; in debug_stats_txq_post()
|
D | ionic_debugfs.c | 89 seq_printf(seq, "%d\n", q->head_idx); in q_head_show()
|
D | ionic_lif.c | 701 qcq->q.head_idx = 0; in ionic_qcq_sanitize()
|
/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() 241 p_hwfn->p_ooo_info->ooo_history.head_idx = 0; in qed_ooo_setup()
|
D | qed_ooo.h | 42 u32 head_idx; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 530 u32 head_idx = i40e_get_head(tx_ring); in i40e_clean_xdp_tx_irq() local 534 if (head_idx < tx_ring->next_to_clean) in i40e_clean_xdp_tx_irq() 535 head_idx += tx_ring->count; in i40e_clean_xdp_tx_irq() 536 completed_frames = head_idx - tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq()
|
/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()
|
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 1538 unsigned int head_idx, tbqp; in macb_tx_restart() local 1548 head_idx = macb_adj_dma_desc_idx(bp, macb_tx_ring_wrap(bp, head)); in macb_tx_restart() 1550 if (tbqp == head_idx) in macb_tx_restart()
|