Lines Matching refs:aq_hw_s

177 struct aq_hw_s {  struct
210 int (*hw_ring_tx_xmit)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, argument
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, const 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, const 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);
346 int (*init)(struct aq_hw_s *self);
348 int (*deinit)(struct aq_hw_s *self);
350 int (*reset)(struct aq_hw_s *self);
352 int (*renegotiate)(struct aq_hw_s *self);
354 int (*get_mac_permanent)(struct aq_hw_s *self, u8 *mac);
356 int (*set_link_speed)(struct aq_hw_s *self, u32 speed);
358 int (*set_state)(struct aq_hw_s *self,
361 int (*update_link_status)(struct aq_hw_s *self);
363 int (*update_stats)(struct aq_hw_s *self);
365 int (*get_mac_temp)(struct aq_hw_s *self, int *temp);
367 int (*get_phy_temp)(struct aq_hw_s *self, int *temp);
369 u32 (*get_flow_control)(struct aq_hw_s *self, u32 *fcmode);
371 int (*set_flow_control)(struct aq_hw_s *self);
373 int (*led_control)(struct aq_hw_s *self, u32 mode);
375 int (*set_phyloopback)(struct aq_hw_s *self, u32 mode, bool enable);
377 int (*set_power)(struct aq_hw_s *self, unsigned int power_state,
380 int (*send_fw_request)(struct aq_hw_s *self,
384 void (*enable_ptp)(struct aq_hw_s *self, int enable);
386 void (*adjust_ptp)(struct aq_hw_s *self, uint64_t adj);
388 int (*set_eee_rate)(struct aq_hw_s *self, u32 speed);
390 int (*get_eee_rate)(struct aq_hw_s *self, u32 *rate,
393 int (*set_downshift)(struct aq_hw_s *self, u32 counter);
395 int (*set_media_detect)(struct aq_hw_s *self, bool enable);
397 u32 (*get_link_capabilities)(struct aq_hw_s *self);
399 int (*send_macsec_req)(struct aq_hw_s *self,