Home
last modified time | relevance | path

Searched refs:aq_ring_s (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.h124 struct aq_ring_s { struct
157 static inline unsigned int aq_ring_next_dx(struct aq_ring_s *self, in aq_ring_next_dx() argument
163 static inline unsigned int aq_ring_avail_dx(struct aq_ring_s *self) in aq_ring_avail_dx()
170 struct aq_ring_s *aq_ring_tx_alloc(struct aq_ring_s *self,
174 struct aq_ring_s *aq_ring_rx_alloc(struct aq_ring_s *self,
178 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type);
179 void aq_ring_rx_deinit(struct aq_ring_s *self);
180 void aq_ring_free(struct aq_ring_s *self);
181 void aq_ring_update_queue_state(struct aq_ring_s *ring);
182 void aq_ring_queue_wake(struct aq_ring_s *ring);
[all …]
Daq_hw.h201 struct aq_ring_s;
208 int (*hw_ring_tx_xmit)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
212 struct aq_ring_s *aq_ring);
214 int (*hw_ring_rx_fill)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
218 struct aq_ring_s *aq_ring);
235 int (*hw_ring_tx_init)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
239 struct aq_ring_s *aq_ring);
242 struct aq_ring_s *aq_ring);
245 struct aq_ring_s *aq_ring,
249 struct aq_ring_s *aq_ring);
[all …]
Daq_ring.c61 static int aq_get_rxpages(struct aq_ring_s *self, struct aq_ring_buff_s *rxbuf, in aq_get_rxpages()
108 static struct aq_ring_s *aq_ring_alloc(struct aq_ring_s *self, in aq_ring_alloc()
137 struct aq_ring_s *aq_ring_tx_alloc(struct aq_ring_s *self, in aq_ring_tx_alloc()
164 struct aq_ring_s *aq_ring_rx_alloc(struct aq_ring_s *self, in aq_ring_rx_alloc()
196 struct aq_ring_s *
197 aq_ring_hwts_rx_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic, in aq_ring_hwts_rx_alloc()
220 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type) in aq_ring_init()
241 void aq_ring_update_queue_state(struct aq_ring_s *ring) in aq_ring_update_queue_state()
249 void aq_ring_queue_wake(struct aq_ring_s *ring) in aq_ring_queue_wake()
264 void aq_ring_queue_stop(struct aq_ring_s *ring) in aq_ring_queue_stop()
[all …]
Daq_vec.c27 struct aq_ring_s ring[AQ_CFG_TCS_MAX][2];
37 struct aq_ring_s *ring = NULL; in aq_vec_poll()
137 struct aq_ring_s *ring = NULL; in aq_vec_ring_alloc()
178 struct aq_ring_s *ring = NULL; in aq_vec_init()
223 struct aq_ring_s *ring = NULL; in aq_vec_start()
248 struct aq_ring_s *ring = NULL; in aq_vec_stop()
265 struct aq_ring_s *ring = NULL; in aq_vec_deinit()
294 struct aq_ring_s *ring = NULL; in aq_vec_ring_free()
Daq_nic.h17 struct aq_ring_s;
127 struct aq_ring_s *aq_ring_tx[AQ_HW_QUEUES_MAX];
169 struct aq_ring_s *ring);
177 struct aq_ring_s *ring);
Daq_ptp.h68 bool aq_ptp_ring(struct aq_nic_s *aq_nic, struct aq_ring_s *ring);
140 static inline bool aq_ptp_ring(struct aq_nic_s *aq_nic, struct aq_ring_s *ring) in aq_ptp_ring()
Daq_ptp.c70 struct aq_ring_s ptp_tx;
71 struct aq_ring_s ptp_rx;
72 struct aq_ring_s hwts_rx;
631 bool aq_ptp_ring(struct aq_nic_s *aq_nic, struct aq_ring_s *ring) in aq_ptp_ring()
749 struct aq_ring_s *ring = &aq_ptp->ptp_tx; in aq_ptp_xmit()
956 struct aq_ring_s *hwts; in aq_ptp_ring_alloc()
957 struct aq_ring_s *ring; in aq_ptp_ring_alloc()
Daq_nic.c386 struct aq_ring_s *ring) in aq_nic_set_tx_ring()
567 struct aq_ring_s *ring) in aq_nic_map_skb()
727 struct aq_ring_s *ring = NULL; in aq_nic_xmit()
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.h40 int hw_atl_b0_hw_ring_tx_start(struct aq_hw_s *self, struct aq_ring_s *ring);
41 int hw_atl_b0_hw_ring_rx_start(struct aq_hw_s *self, struct aq_ring_s *ring);
43 int hw_atl_b0_hw_ring_rx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
45 int hw_atl_b0_hw_ring_rx_fill(struct aq_hw_s *self, struct aq_ring_s *ring,
47 int hw_atl_b0_hw_ring_rx_receive(struct aq_hw_s *self, struct aq_ring_s *ring);
49 int hw_atl_b0_hw_ring_tx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
51 int hw_atl_b0_hw_ring_tx_xmit(struct aq_hw_s *self, struct aq_ring_s *ring,
54 struct aq_ring_s *ring);
56 int hw_atl_b0_hw_ring_tx_stop(struct aq_hw_s *self, struct aq_ring_s *ring);
57 int hw_atl_b0_hw_ring_rx_stop(struct aq_hw_s *self, struct aq_ring_s *ring);
Dhw_atl_a0.c406 struct aq_ring_s *ring) in hw_atl_a0_hw_ring_tx_start()
414 struct aq_ring_s *ring) in hw_atl_a0_hw_ring_rx_start()
430 struct aq_ring_s *ring) in hw_atl_a0_hw_tx_ring_tail_update()
438 struct aq_ring_s *ring, in hw_atl_a0_hw_ring_tx_xmit()
514 struct aq_ring_s *aq_ring, in hw_atl_a0_hw_ring_rx_init()
556 struct aq_ring_s *aq_ring, in hw_atl_a0_hw_ring_tx_init()
586 struct aq_ring_s *ring, in hw_atl_a0_hw_ring_rx_fill()
607 struct aq_ring_s *ring) in hw_atl_a0_hw_ring_tx_head_update()
624 struct aq_ring_s *ring) in hw_atl_a0_hw_ring_rx_receive()
875 struct aq_ring_s *ring) in hw_atl_a0_hw_ring_tx_stop()
[all …]
Dhw_atl_b0.c631 int hw_atl_b0_hw_ring_tx_start(struct aq_hw_s *self, struct aq_ring_s *ring) in hw_atl_b0_hw_ring_tx_start()
638 int hw_atl_b0_hw_ring_rx_start(struct aq_hw_s *self, struct aq_ring_s *ring) in hw_atl_b0_hw_ring_rx_start()
654 struct aq_ring_s *ring) in hw_atl_b0_hw_tx_ring_tail_update()
661 int hw_atl_b0_hw_ring_tx_xmit(struct aq_hw_s *self, struct aq_ring_s *ring, in hw_atl_b0_hw_ring_tx_xmit()
749 int hw_atl_b0_hw_ring_rx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, in hw_atl_b0_hw_ring_rx_init()
791 int hw_atl_b0_hw_ring_tx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, in hw_atl_b0_hw_ring_tx_init()
820 int hw_atl_b0_hw_ring_rx_fill(struct aq_hw_s *self, struct aq_ring_s *ring, in hw_atl_b0_hw_ring_rx_fill()
841 struct aq_ring_s *ring) in hw_atl_b0_hw_ring_hwts_rx_fill()
863 struct aq_ring_s *ring) in hw_atl_b0_hw_ring_hwts_rx_receive()
881 struct aq_ring_s *ring) in hw_atl_b0_hw_ring_tx_head_update()
[all …]
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c586 struct aq_ring_s *aq_ring, in hw_atl2_hw_ring_rx_init()
593 struct aq_ring_s *aq_ring, in hw_atl2_hw_ring_tx_init()