Home
last modified time | relevance | path

Searched refs:aq_nic_get_dev (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.c31 self->dx_ring = dma_alloc_coherent(aq_nic_get_dev(aq_nic), in aq_ring_alloc()
141 struct device *dev = aq_nic_get_dev(self->aq_nic); in aq_ring_tx_clean()
320 buff->pa = dma_map_page(aq_nic_get_dev(self->aq_nic), in aq_ring_rx_fill()
324 if (dma_mapping_error(aq_nic_get_dev(self->aq_nic), buff->pa)) { in aq_ring_rx_fill()
350 dma_unmap_page(aq_nic_get_dev(self->aq_nic), buff->pa, in aq_ring_rx_deinit()
367 dma_free_coherent(aq_nic_get_dev(self->aq_nic), in aq_ring_free()
Daq_nic.c397 dx_buff->pa = dma_map_single(aq_nic_get_dev(self), in aq_nic_map_skb()
402 if (unlikely(dma_mapping_error(aq_nic_get_dev(self), dx_buff->pa))) in aq_nic_map_skb()
447 frag_pa = skb_frag_dma_map(aq_nic_get_dev(self), in aq_nic_map_skb()
453 if (unlikely(dma_mapping_error(aq_nic_get_dev(self), in aq_nic_map_skb()
486 dma_unmap_single(aq_nic_get_dev(self), in aq_nic_map_skb()
491 dma_unmap_page(aq_nic_get_dev(self), in aq_nic_map_skb()
Daq_nic.h86 static inline struct device *aq_nic_get_dev(struct aq_nic_s *self) in aq_nic_get_dev() function
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c650 struct device *ndev = aq_nic_get_dev(ring->aq_nic); in hw_atl_b0_hw_ring_rx_receive()
Dhw_atl_a0.c613 struct device *ndev = aq_nic_get_dev(ring->aq_nic); in hw_atl_a0_hw_ring_rx_receive()