Home
last modified time | relevance | path

Searched refs:hw_head (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/fungible/funeth/
Dfuneth_trace.h48 u32 hw_head),
50 TP_ARGS(txq, sqe_idx, num_sqes, hw_head),
56 __field(u32, hw_head)
64 __entry->hw_head = hw_head;
70 __entry->num_sqes, __entry->hw_head)
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.c609 unsigned int hw_head = hw_atl_tdm_tx_desc_head_ptr_get(self, ring->idx); in hw_atl_a0_hw_ring_tx_head_update() local
616 ring->hw_head = hw_head; in hw_atl_a0_hw_ring_tx_head_update()
626 for (; ring->hw_head != ring->sw_tail; in hw_atl_a0_hw_ring_rx_receive()
627 ring->hw_head = aq_ring_next_dx(ring, ring->hw_head)) { in hw_atl_a0_hw_ring_rx_receive()
630 &ring->dx_ring[ring->hw_head * HW_ATL_A0_RXD_SIZE]; in hw_atl_a0_hw_ring_rx_receive()
645 if (ring->hw_head || in hw_atl_a0_hw_ring_rx_receive()
664 buff = &ring->buff_ring[ring->hw_head]; in hw_atl_a0_hw_ring_rx_receive()
717 ring->hw_head); in hw_atl_a0_hw_ring_rx_receive()
Dhw_atl_b0.c865 while (ring->hw_head != ring->sw_tail) { in hw_atl_b0_hw_ring_hwts_rx_receive()
868 (ring->dx_ring + (ring->hw_head * HW_ATL_B0_RXD_SIZE)); in hw_atl_b0_hw_ring_hwts_rx_receive()
874 ring->hw_head = aq_ring_next_dx(ring, ring->hw_head); in hw_atl_b0_hw_ring_hwts_rx_receive()
899 ring->hw_head = hw_head_; in hw_atl_b0_hw_ring_tx_head_update()
908 for (; ring->hw_head != ring->sw_tail; in hw_atl_b0_hw_ring_rx_receive()
909 ring->hw_head = aq_ring_next_dx(ring, ring->hw_head)) { in hw_atl_b0_hw_ring_rx_receive()
912 &ring->dx_ring[ring->hw_head * HW_ATL_B0_RXD_SIZE]; in hw_atl_b0_hw_ring_rx_receive()
922 buff = &ring->buff_ring[ring->hw_head]; in hw_atl_b0_hw_ring_rx_receive()
997 ring->hw_head); in hw_atl_b0_hw_ring_rx_receive()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.c232 self->hw_head = 0; in aq_ring_init()
291 budget && self->sw_head != self->hw_head; budget--) { in aq_ring_tx_clean()
300 self->hw_head))) in aq_ring_tx_clean()
534 for (; (self->sw_head != self->hw_head) && budget; in __aq_ring_rx_clean()
565 self->hw_head); in __aq_ring_rx_clean()
710 for (; (rx_ring->sw_head != rx_ring->hw_head) && budget; in __aq_ring_xdp_clean()
738 rx_ring->hw_head); in __aq_ring_xdp_clean()
850 while (self->sw_head != self->hw_head) { in aq_ring_hwts_rx_clean()
Daq_vec.c55 ring[AQ_VEC_TX_ID].hw_head) { in aq_vec_poll()
66 ring[AQ_VEC_RX_ID].hw_head) { in aq_vec_poll()
Daq_ring.h140 unsigned int hw_head; member
Daq_ptp.c670 if (aq_ptp->ptp_tx.sw_head != aq_ptp->ptp_tx.hw_head) { in aq_ptp_poll()
682 if (aq_ptp->hwts_rx.sw_head != aq_ptp->hwts_rx.hw_head) { in aq_ptp_poll()
699 if (aq_ptp->ptp_rx.sw_head != aq_ptp->ptp_rx.hw_head) { in aq_ptp_poll()