Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.h135 struct aq_ring_s { struct
173 static inline unsigned int aq_ring_next_dx(struct aq_ring_s *self, in aq_ring_next_dx() argument
179 static inline unsigned int aq_ring_avail_dx(struct aq_ring_s *self) in aq_ring_avail_dx()
186 struct aq_ring_s *aq_ring_tx_alloc(struct aq_ring_s *self,
190 struct aq_ring_s *aq_ring_rx_alloc(struct aq_ring_s *self,
195 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type);
196 void aq_ring_rx_deinit(struct aq_ring_s *self);
197 void aq_ring_free(struct aq_ring_s *self);
198 void aq_ring_update_queue_state(struct aq_ring_s *ring);
199 void aq_ring_queue_wake(struct aq_ring_s *ring);
[all …]
Daq_hw.h203 struct aq_ring_s;
210 int (*hw_ring_tx_xmit)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
214 struct aq_ring_s *aq_ring);
216 int (*hw_ring_rx_fill)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
220 struct aq_ring_s *aq_ring);
237 int (*hw_ring_tx_init)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
241 struct aq_ring_s *aq_ring);
244 struct aq_ring_s *aq_ring);
247 struct aq_ring_s *aq_ring,
251 struct aq_ring_s *aq_ring);
[all …]
Daq_ring.c52 static int aq_alloc_rxpages(struct aq_rxpage *rxpage, struct aq_ring_s *rx_ring) in aq_alloc_rxpages()
84 static int aq_get_rxpages(struct aq_ring_s *self, struct aq_ring_buff_s *rxbuf) in aq_get_rxpages()
135 static struct aq_ring_s *aq_ring_alloc(struct aq_ring_s *self, in aq_ring_alloc()
165 struct aq_ring_s *aq_ring_tx_alloc(struct aq_ring_s *self, in aq_ring_tx_alloc()
192 struct aq_ring_s *aq_ring_rx_alloc(struct aq_ring_s *self, in aq_ring_rx_alloc()
235 struct aq_ring_s *
236 aq_ring_hwts_rx_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic, in aq_ring_hwts_rx_alloc()
259 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type) in aq_ring_init()
280 void aq_ring_update_queue_state(struct aq_ring_s *ring) in aq_ring_update_queue_state()
288 void aq_ring_queue_wake(struct aq_ring_s *ring) in aq_ring_queue_wake()
[all …]
Daq_vec.c22 struct aq_ring_s ring[AQ_CFG_TCS_MAX][2];
32 struct aq_ring_s *ring = NULL; in aq_vec_poll()
131 struct aq_ring_s *ring = NULL; in aq_vec_ring_alloc()
186 struct aq_ring_s *ring = NULL; in aq_vec_init()
231 struct aq_ring_s *ring = NULL; in aq_vec_start()
256 struct aq_ring_s *ring = NULL; in aq_vec_stop()
273 struct aq_ring_s *ring = NULL; in aq_vec_deinit()
302 struct aq_ring_s *ring = NULL; in aq_vec_ring_free()
Daq_nic.h21 struct aq_ring_s;
131 struct aq_ring_s *aq_ring_tx[AQ_HW_QUEUES_MAX];
176 struct aq_ring_s *ring);
184 struct aq_ring_s *ring);
185 int aq_nic_xmit_xdpf(struct aq_nic_s *aq_nic, struct aq_ring_s *tx_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.c395 struct aq_ring_s *ring) in aq_nic_set_tx_ring()
577 struct aq_ring_s *ring) in aq_nic_map_xdp()
673 struct aq_ring_s *ring) in aq_nic_map_skb()
829 int aq_nic_xmit_xdpf(struct aq_nic_s *aq_nic, struct aq_ring_s *tx_ring, in aq_nic_xmit_xdpf()
872 struct aq_ring_s *ring = NULL; in aq_nic_xmit()
/Linux-v6.6/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-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c600 struct aq_ring_s *aq_ring, in hw_atl2_hw_ring_rx_init()
607 struct aq_ring_s *aq_ring, in hw_atl2_hw_ring_tx_init()