Home
last modified time | relevance | path

Searched refs:dx_ring (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.c120 self->dx_ring = dma_alloc_coherent(aq_nic_get_dev(aq_nic), in aq_ring_alloc()
123 if (!self->dx_ring) { in aq_ring_alloc()
210 self->dx_ring = dma_alloc_coherent(dev, sz, &self->dx_ring_pa, in aq_ring_hwts_rx_alloc()
212 if (!self->dx_ring) { in aq_ring_hwts_rx_alloc()
521 self->dx_ring + in aq_ring_hwts_rx_clean()
582 if (self->dx_ring) { in aq_ring_free()
584 self->size * self->dx_size, self->dx_ring, in aq_ring_free()
586 self->dx_ring = NULL; in aq_ring_free()
Daq_ring.h126 u8 *dx_ring; /* descriptors ring, dma shared mem */ member
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.c452 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()
Dhw_atl_b0.c676 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()