Home
last modified time | relevance | path

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

/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.c222 self->hw_head = 0; in aq_ring_init()
281 budget && self->sw_head != self->hw_head; budget--) { in aq_ring_tx_clean()
290 self->hw_head))) in aq_ring_tx_clean()
350 for (; (self->sw_head != self->hw_head) && budget; in aq_ring_rx_clean()
381 self->hw_head); in aq_ring_rx_clean()
517 while (self->sw_head != self->hw_head) { in aq_ring_hwts_rx_clean()
Daq_vec.c60 ring[AQ_VEC_TX_ID].hw_head) { in aq_vec_poll()
71 ring[AQ_VEC_RX_ID].hw_head) { in aq_vec_poll()
Daq_ring.h129 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()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2635 int hw_head, hw_tail; in hns3_get_tx_timeo_queue_info() local
2698 hw_head = readl_relaxed(tx_ring->tqp->io_base + in hns3_get_tx_timeo_queue_info()
2719 bd_num, hw_head, hw_tail, bd_err, in hns3_get_tx_timeo_queue_info()