Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.h137 struct aq_ring_s { struct
176 static inline unsigned int aq_ring_next_dx(struct aq_ring_s *self, in aq_ring_next_dx() argument
182 static inline unsigned int aq_ring_avail_dx(struct aq_ring_s *self) in aq_ring_avail_dx()
189 int aq_ring_tx_alloc(struct aq_ring_s *self,
193 int aq_ring_rx_alloc(struct aq_ring_s *self,
198 int aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type);
199 void aq_ring_rx_deinit(struct aq_ring_s *self);
200 void aq_ring_free(struct aq_ring_s *self);
201 void aq_ring_update_queue_state(struct aq_ring_s *ring);
202 void aq_ring_queue_wake(struct aq_ring_s *ring);
[all …]
H A 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 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 …]
H A 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()
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()
H A 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,
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A 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);