Searched refs:head_idx (Results 1 – 14 of 14) sorted by relevance
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_dev.c | 622 q->head_idx = 0; in ionic_q_init() 661 desc_info = &q->info[q->head_idx]; in ionic_q_post() 665 q->head_idx = (q->head_idx + 1) & (q->num_descs - 1); in ionic_q_post() 669 q->head_idx, ring_doorbell); in ionic_q_post() 673 q->dbval | q->head_idx); in ionic_q_post() 682 head = q->head_idx; in ionic_q_is_posted() 696 if (q->tail_idx == q->head_idx) in ionic_q_service() 703 q->name, stop_index, q->tail_idx, q->head_idx); in ionic_q_service()
|
D | ionic_dev.h | 219 u16 head_idx; member 293 if (q->head_idx >= avail) in ionic_q_space_avail() 294 avail += q->num_descs - q->head_idx - 1; in ionic_q_space_avail() 296 avail -= q->head_idx + 1; in ionic_q_space_avail()
|
D | ionic_txrx.c | 332 if (q->tail_idx == q->head_idx) in ionic_rx_service() 378 desc_info = &q->info[q->head_idx]; in ionic_rx_fill() 435 q->dbval | q->head_idx); in ionic_rx_fill() 457 q->head_idx = 0; in ionic_rx_empty() 808 while (q->head_idx != q->tail_idx) { in ionic_tx_empty() 928 desc_info = &q->info[q->head_idx]; in ionic_tx_tso() 1011 desc_info = &q->info[q->head_idx]; in ionic_tx_tso() 1119 struct ionic_desc_info *desc_info = &q->info[q->head_idx]; in ionic_tx()
|
D | ionic_main.c | 204 while (q->tail_idx != q->head_idx) { in ionic_adminq_flush() 285 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.h | 356 struct ionic_txq_desc *desc = &q->txq[q->head_idx]; in debug_stats_txq_post()
|
D | ionic_lif.c | 721 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() 242 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 | 580 u32 head_idx = i40e_get_head(tx_ring); in i40e_clean_xdp_tx_irq() local 584 if (head_idx < tx_ring->next_to_clean) in i40e_clean_xdp_tx_irq() 585 head_idx += tx_ring->count; in i40e_clean_xdp_tx_irq() 586 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/scsi/lpfc/ |
D | lpfc_sli.c | 7898 rx_monitor->head_idx = 0; in lpfc_rx_monitor_create_ring() 7916 rx_monitor->head_idx = 0; in lpfc_rx_monitor_destroy_ring() 7937 u32 *head_idx = &rx_monitor->head_idx; in lpfc_rx_monitor_record() local 7947 if (*tail_idx == *head_idx) in lpfc_rx_monitor_record() 7948 *head_idx = (*head_idx + 1) % ring_size; in lpfc_rx_monitor_record() 7975 u32 *head_idx = &rx_monitor->head_idx; in lpfc_rx_monitor_report() local 7999 while (*head_idx != *tail_idx) { in lpfc_rx_monitor_report() 8000 entry = &ring[*head_idx]; in lpfc_rx_monitor_report() 8008 *head_idx, entry->max_bytes_per_interval, in lpfc_rx_monitor_report() 8032 entry->timer_interval, *head_idx); in lpfc_rx_monitor_report() [all …]
|
D | lpfc.h | 1628 u32 head_idx, tail_idx; /* index to head/tail of ring */ member
|
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 1727 unsigned int head_idx, tbqp; in macb_tx_restart() local 1737 head_idx = macb_adj_dma_desc_idx(bp, macb_tx_ring_wrap(bp, head)); in macb_tx_restart() 1739 if (tbqp == head_idx) in macb_tx_restart()
|