Searched refs:dx_ring (Results 1 – 4 of 4) sorted by relevance
148 self->dx_ring = dma_alloc_coherent(aq_nic_get_dev(aq_nic), in aq_ring_alloc()151 if (!self->dx_ring) { in aq_ring_alloc()220 self->dx_ring = dma_alloc_coherent(dev, sz, &self->dx_ring_pa, in aq_ring_hwts_rx_alloc()222 if (!self->dx_ring) { in aq_ring_hwts_rx_alloc()854 self->dx_ring + in aq_ring_hwts_rx_clean()914 if (self->dx_ring) { in aq_ring_free()916 self->size * self->dx_size, self->dx_ring, in aq_ring_free()918 self->dx_ring = NULL; in aq_ring_free()927 if (self->dx_ring) { in aq_ring_hwts_rx_free()930 self->dx_ring, self->dx_ring_pa); in aq_ring_hwts_rx_free()[all …]
137 u8 *dx_ring; /* descriptors ring, dma shared mem */ member
452 txd = (struct hw_atl_txd_s *)&ring->dx_ring[ring->sw_tail * in hw_atl_a0_hw_ring_tx_xmit()592 (struct hw_atl_rxd_s *)&ring->dx_ring[sw_tail_old * in hw_atl_a0_hw_ring_rx_fill()630 &ring->dx_ring[ring->hw_head * HW_ATL_A0_RXD_SIZE]; in hw_atl_a0_hw_ring_rx_receive()652 (&ring->dx_ring[(1U) * in hw_atl_a0_hw_ring_rx_receive()
676 txd = (struct hw_atl_txd_s *)&ring->dx_ring[ring->sw_tail * in hw_atl_b0_hw_ring_tx_xmit()826 (struct hw_atl_rxd_s *)&ring->dx_ring[sw_tail_old * in hw_atl_b0_hw_ring_rx_fill()849 &ring->dx_ring[ring->sw_tail * HW_ATL_B0_RXD_SIZE]; in hw_atl_b0_hw_ring_hwts_rx_fill()868 (ring->dx_ring + (ring->hw_head * HW_ATL_B0_RXD_SIZE)); in hw_atl_b0_hw_ring_hwts_rx_receive()912 &ring->dx_ring[ring->hw_head * HW_ATL_B0_RXD_SIZE]; in hw_atl_b0_hw_ring_rx_receive()