Searched refs:hw_head (Results 1 – 6 of 6) sorted by relevance
603 unsigned int hw_head = hw_atl_tdm_tx_desc_head_ptr_get(self, ring->idx); in hw_atl_a0_hw_ring_tx_head_update() local609 ring->hw_head = hw_head; in hw_atl_a0_hw_ring_tx_head_update()619 for (; ring->hw_head != ring->sw_tail; in hw_atl_a0_hw_ring_rx_receive()620 ring->hw_head = aq_ring_next_dx(ring, ring->hw_head)) { in hw_atl_a0_hw_ring_rx_receive()623 &ring->dx_ring[ring->hw_head * HW_ATL_A0_RXD_SIZE]; in hw_atl_a0_hw_ring_rx_receive()638 if (ring->hw_head || in hw_atl_a0_hw_ring_rx_receive()657 buff = &ring->buff_ring[ring->hw_head]; in hw_atl_a0_hw_ring_rx_receive()710 ring->hw_head); in hw_atl_a0_hw_ring_rx_receive()
677 ring->hw_head = hw_head_; in hw_atl_b0_hw_ring_tx_head_update()687 for (; ring->hw_head != ring->sw_tail; in hw_atl_b0_hw_ring_rx_receive()688 ring->hw_head = aq_ring_next_dx(ring, ring->hw_head)) { in hw_atl_b0_hw_ring_rx_receive()691 &ring->dx_ring[ring->hw_head * HW_ATL_B0_RXD_SIZE]; in hw_atl_b0_hw_ring_rx_receive()701 buff = &ring->buff_ring[ring->hw_head]; in hw_atl_b0_hw_ring_rx_receive()775 ring->hw_head); in hw_atl_b0_hw_ring_rx_receive()
182 self->hw_head = 0; in aq_ring_init()226 budget && self->sw_head != self->hw_head; budget--) { in aq_ring_tx_clean()235 self->hw_head))) in aq_ring_tx_clean()289 for (; (self->sw_head != self->hw_head) && budget; in aq_ring_rx_clean()310 self->hw_head); in aq_ring_rx_clean()
116 unsigned int hw_head; member
56 ring[AQ_VEC_TX_ID].hw_head) { in aq_vec_poll()67 ring[AQ_VEC_RX_ID].hw_head) { in aq_vec_poll()
1677 int hw_head, hw_tail; in hns3_get_tx_timeo_queue_info() local1737 hw_head = readl_relaxed(tx_ring->tqp->io_base + in hns3_get_tx_timeo_queue_info()1758 bd_num, hw_head, hw_tail, bd_err, in hns3_get_tx_timeo_queue_info()