• Home
  • Raw
  • Download

Lines Matching defs:aq_hw_ops

208 struct aq_hw_ops {  struct
210 int (*hw_ring_tx_xmit)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
213 int (*hw_ring_rx_receive)(struct aq_hw_s *self,
216 int (*hw_ring_rx_fill)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
219 int (*hw_ring_tx_head_update)(struct aq_hw_s *self,
222 int (*hw_set_mac_address)(struct aq_hw_s *self, u8 *mac_addr);
224 int (*hw_soft_reset)(struct aq_hw_s *self);
226 int (*hw_prepare)(struct aq_hw_s *self,
229 int (*hw_reset)(struct aq_hw_s *self);
231 int (*hw_init)(struct aq_hw_s *self, u8 *mac_addr);
233 int (*hw_start)(struct aq_hw_s *self);
235 int (*hw_stop)(struct aq_hw_s *self);
237 int (*hw_ring_tx_init)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
240 int (*hw_ring_tx_start)(struct aq_hw_s *self,
243 int (*hw_ring_tx_stop)(struct aq_hw_s *self,
246 int (*hw_ring_rx_init)(struct aq_hw_s *self,
250 int (*hw_ring_rx_start)(struct aq_hw_s *self,
253 int (*hw_ring_rx_stop)(struct aq_hw_s *self,
256 int (*hw_irq_enable)(struct aq_hw_s *self, u64 mask);
258 int (*hw_irq_disable)(struct aq_hw_s *self, u64 mask);
260 int (*hw_irq_read)(struct aq_hw_s *self, u64 *mask);
262 int (*hw_packet_filter_set)(struct aq_hw_s *self,
265 int (*hw_filter_l3l4_set)(struct aq_hw_s *self,
268 int (*hw_filter_l3l4_clear)(struct aq_hw_s *self,
271 int (*hw_filter_l2_set)(struct aq_hw_s *self,
274 int (*hw_filter_l2_clear)(struct aq_hw_s *self,
277 int (*hw_filter_vlan_set)(struct aq_hw_s *self,
280 int (*hw_filter_vlan_ctrl)(struct aq_hw_s *self, bool enable);
282 int (*hw_multicast_list_set)(struct aq_hw_s *self,
287 int (*hw_interrupt_moderation_set)(struct aq_hw_s *self);
289 int (*hw_rss_set)(struct aq_hw_s *self,
292 int (*hw_rss_hash_set)(struct aq_hw_s *self,
295 int (*hw_tc_rate_limit_set)(struct aq_hw_s *self);
297 int (*hw_get_regs)(struct aq_hw_s *self,
301 struct aq_stats_s *(*hw_get_hw_stats)(struct aq_hw_s *self);
303 u32 (*hw_get_fw_version)(struct aq_hw_s *self);
305 int (*hw_set_offload)(struct aq_hw_s *self,
308 int (*hw_ring_hwts_rx_fill)(struct aq_hw_s *self,
311 int (*hw_ring_hwts_rx_receive)(struct aq_hw_s *self,
314 void (*hw_get_ptp_ts)(struct aq_hw_s *self, u64 *stamp);
316 int (*hw_adj_clock_freq)(struct aq_hw_s *self, s32 delta);
318 int (*hw_adj_sys_clock)(struct aq_hw_s *self, s64 delta);
320 int (*hw_set_sys_clock)(struct aq_hw_s *self, u64 time, u64 ts);
322 int (*hw_ts_to_sys_clock)(struct aq_hw_s *self, u64 ts, u64 *time);
324 int (*hw_gpio_pulse)(struct aq_hw_s *self, u32 index, u64 start,
327 int (*hw_extts_gpio_enable)(struct aq_hw_s *self, u32 index,
330 int (*hw_get_sync_ts)(struct aq_hw_s *self, u64 *ts);
332 u16 (*rx_extract_ts)(struct aq_hw_s *self, u8 *p, unsigned int len,
335 int (*extract_hwts)(struct aq_hw_s *self, u8 *p, unsigned int len,
338 int (*hw_set_fc)(struct aq_hw_s *self, u32 fc, u32 tc);
340 int (*hw_set_loopback)(struct aq_hw_s *self, u32 mode, bool enable);
342 int (*hw_get_mac_temp)(struct aq_hw_s *self, u32 *temp);