/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ring.h | 135 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 int aq_ring_tx_alloc(struct aq_ring_s *self, 190 int 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 …]
|
D | aq_hw.h | 203 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 …]
|
D | aq_ring.c | 52 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 int aq_ring_alloc(struct aq_ring_s *self, in aq_ring_alloc() 164 int aq_ring_tx_alloc(struct aq_ring_s *self, in aq_ring_tx_alloc() 177 int aq_ring_rx_alloc(struct aq_ring_s *self, in aq_ring_rx_alloc() 207 aq_ring_hwts_rx_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic, in aq_ring_hwts_rx_alloc() 230 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type) in aq_ring_init() 251 void aq_ring_update_queue_state(struct aq_ring_s *ring) in aq_ring_update_queue_state() 259 void aq_ring_queue_wake(struct aq_ring_s *ring) in aq_ring_queue_wake() 274 void aq_ring_queue_stop(struct aq_ring_s *ring) in aq_ring_queue_stop() [all …]
|
D | aq_vec.c | 22 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() 183 struct aq_ring_s *ring = NULL; in aq_vec_init() 228 struct aq_ring_s *ring = NULL; in aq_vec_start() 253 struct aq_ring_s *ring = NULL; in aq_vec_stop() 270 struct aq_ring_s *ring = NULL; in aq_vec_deinit() 299 struct aq_ring_s *ring = NULL; in aq_vec_ring_free()
|
D | aq_nic.h | 21 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,
|
D | aq_ptp.h | 68 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()
|
D | aq_ptp.c | 70 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()
|
D | aq_nic.c | 395 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-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_b0.h | 40 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);
|
D | hw_atl_a0.c | 406 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 …]
|
D | hw_atl_b0.c | 631 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-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
D | hw_atl2.c | 600 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()
|