Searched refs:head_idx (Results 1 – 18 of 18) sorted by relevance
| /linux/drivers/net/ethernet/amd/pds_core/ |
| A D | adminq.c | 99 if (q->tail_idx == q->head_idx) in pdsc_process_adminq() 179 if (q->head_idx >= avail) in __pdsc_adminq_post() 180 avail += q->num_descs - q->head_idx - 1; in __pdsc_adminq_post() 182 avail -= q->head_idx + 1; in __pdsc_adminq_post() 206 index = q->head_idx; in __pdsc_adminq_post() 213 q->head_idx, q->tail_idx); in __pdsc_adminq_post() 218 q->head_idx = (q->head_idx + 1) & (q->num_descs - 1); in __pdsc_adminq_post() 221 q->hw_type, q->dbval | q->head_idx); in __pdsc_adminq_post()
|
| A D | debugfs.c | 135 debugfs_create_u16("head", 0400, q_dentry, &q->head_idx); in pdsc_debugfs_add_qcq()
|
| A D | core.h | 52 u16 head_idx; member
|
| A D | core.c | 212 qcq->q.head_idx = 0; in pdsc_qcq_alloc()
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| A D | ionic_txrx.c | 51 if (q->tail_idx == q->head_idx) { in ionic_txq_poke_doorbell() 62 q->dbval | q->head_idx); in ionic_txq_poke_doorbell() 78 if (q->tail_idx == q->head_idx) in ionic_rxq_poke_doorbell() 87 q->dbval | q->head_idx); in ionic_rxq_poke_doorbell() 313 desc = &q->txq[q->head_idx]; in ionic_xdp_post_frame() 444 txq->dbval | txq->head_idx); in ionic_xdp_xmit() 734 if (q->tail_idx == q->head_idx) in __ionic_rx_service() 811 desc = &q->rxq[q->head_idx]; in ionic_rx_fill() 878 q->dbval | q->head_idx); in ionic_rx_fill() 896 q->head_idx = 0; in ionic_rx_empty() [all …]
|
| A D | ionic_dev.h | 233 u16 head_idx; member 316 if (q->head_idx >= avail) in ionic_q_space_avail() 317 avail += q->num_descs - q->head_idx - 1; in ionic_q_space_avail() 319 avail -= q->head_idx + 1; in ionic_q_space_avail()
|
| A D | ionic_main.c | 206 while (q->tail_idx != q->head_idx) { in ionic_adminq_flush() 316 if (q->tail_idx == q->head_idx) in ionic_adminq_service() 347 if (q->tail_idx == q->head_idx) { in ionic_adminq_poke_doorbell() 358 q->dbval | q->head_idx); in ionic_adminq_poke_doorbell() 393 desc_info = &q->admin_info[q->head_idx]; in ionic_adminq_post() 396 desc = &q->adminq[q->head_idx]; in ionic_adminq_post()
|
| A D | ionic_dev.c | 799 q->head_idx = 0; in ionic_q_init() 812 q->head_idx = (q->head_idx + 1) & (q->num_descs - 1); in ionic_q_post() 816 q->head_idx, ring_doorbell); in ionic_q_post() 820 q->dbval | q->head_idx); in ionic_q_post() 832 head = q->head_idx; in ionic_q_is_posted()
|
| A D | ionic_debugfs.c | 89 seq_printf(seq, "%d\n", q->head_idx); in q_head_show()
|
| A D | ionic_lif.c | 820 qcq->q.head_idx = 0; in ionic_qcq_sanitize()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| A 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()
|
| A D | qed_ooo.h | 42 u32 head_idx; member
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| A D | i40e_xsk.c | 656 u32 head_idx = i40e_get_head(tx_ring); in i40e_clean_xdp_tx_irq() local 660 if (head_idx < tx_ring->next_to_clean) in i40e_clean_xdp_tx_irq() 661 head_idx += tx_ring->count; in i40e_clean_xdp_tx_irq() 662 completed_frames = head_idx - tx_ring->next_to_clean; in i40e_clean_xdp_tx_irq()
|
| /linux/drivers/crypto/ccp/ |
| A 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/drivers/gpu/drm/nouveau/dispnv50/ |
| A D | disp.c | 2693 int head_idx; in nv50_display_read_hw_or_state() local 2719 head_idx = ret; in nv50_display_read_hw_or_state() 2722 if (crtc->index != head_idx) in nv50_display_read_hw_or_state()
|
| /linux/drivers/scsi/lpfc/ |
| A D | lpfc_sli.c | 8059 rx_monitor->head_idx = 0; in lpfc_rx_monitor_create_ring() 8078 rx_monitor->head_idx = 0; in lpfc_rx_monitor_destroy_ring() 8098 u32 *head_idx = &rx_monitor->head_idx; in lpfc_rx_monitor_record() local 8108 if (*tail_idx == *head_idx) in lpfc_rx_monitor_record() 8109 *head_idx = (*head_idx + 1) % ring_size; in lpfc_rx_monitor_record() 8136 u32 *head_idx = &rx_monitor->head_idx; in lpfc_rx_monitor_report() local 8160 while (*head_idx != *tail_idx) { in lpfc_rx_monitor_report() 8161 entry = &ring[*head_idx]; in lpfc_rx_monitor_report() 8169 *head_idx, entry->max_bytes_per_interval, in lpfc_rx_monitor_report() 8193 entry->timer_interval, *head_idx); in lpfc_rx_monitor_report() [all …]
|
| A D | lpfc.h | 1618 u32 head_idx, tail_idx; /* index to head/tail of ring */ member
|
| /linux/drivers/net/ethernet/cadence/ |
| A D | macb_main.c | 1722 unsigned int head_idx, tbqp; in macb_tx_restart() local 1731 head_idx = macb_adj_dma_desc_idx(bp, macb_tx_ring_wrap(bp, queue->tx_head)); in macb_tx_restart() 1733 if (tbqp == head_idx) in macb_tx_restart()
|
Completed in 101 milliseconds