Lines Matching refs:hnae_handle
342 struct hnae_handle;
358 struct hnae_handle *handle;
463 struct hnae_handle *(*get_handle)(struct hnae_ae_dev *dev,
465 void (*put_handle)(struct hnae_handle *handle);
468 int (*start)(struct hnae_handle *handle);
469 void (*stop)(struct hnae_handle *handle);
470 void (*reset)(struct hnae_handle *handle);
471 int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
472 int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
473 int (*get_status)(struct hnae_handle *handle);
474 int (*get_info)(struct hnae_handle *handle,
477 void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex);
478 bool (*need_adjust_link)(struct hnae_handle *handle,
480 int (*set_loopback)(struct hnae_handle *handle,
484 void (*get_pauseparam)(struct hnae_handle *handle,
486 int (*set_pauseparam)(struct hnae_handle *handle,
488 void (*get_coalesce_usecs)(struct hnae_handle *handle,
490 void (*get_max_coalesced_frames)(struct hnae_handle *handle,
492 int (*set_coalesce_usecs)(struct hnae_handle *handle, u32 timeout);
493 int (*set_coalesce_frames)(struct hnae_handle *handle,
495 void (*get_coalesce_range)(struct hnae_handle *handle,
500 void (*set_promisc_mode)(struct hnae_handle *handle, u32 en);
501 int (*get_mac_addr)(struct hnae_handle *handle, void **p);
502 int (*set_mac_addr)(struct hnae_handle *handle, const void *p);
503 int (*add_uc_addr)(struct hnae_handle *handle,
505 int (*rm_uc_addr)(struct hnae_handle *handle,
507 int (*clr_mc_addr)(struct hnae_handle *handle);
508 int (*set_mc_addr)(struct hnae_handle *handle, void *addr);
509 int (*set_mtu)(struct hnae_handle *handle, int new_mtu);
510 void (*set_tso_stats)(struct hnae_handle *handle, int enable);
511 void (*update_stats)(struct hnae_handle *handle,
513 void (*get_stats)(struct hnae_handle *handle, u64 *data);
514 void (*get_strings)(struct hnae_handle *handle,
516 int (*get_sset_count)(struct hnae_handle *handle, int stringset);
517 void (*update_led_status)(struct hnae_handle *handle);
518 int (*set_led_id)(struct hnae_handle *handle,
520 void (*get_regs)(struct hnae_handle *handle, void *data);
521 int (*get_regs_len)(struct hnae_handle *handle);
522 u32 (*get_rss_key_size)(struct hnae_handle *handle);
523 u32 (*get_rss_indir_size)(struct hnae_handle *handle);
524 int (*get_rss)(struct hnae_handle *handle, u32 *indir, u8 *key,
526 int (*set_rss)(struct hnae_handle *handle, const u32 *indir,
542 struct hnae_handle { struct
566 struct hnae_handle *hnae_get_handle(struct device *owner_dev, argument
571 void hnae_put_handle(struct hnae_handle *handle);
577 int hnae_reinit_handle(struct hnae_handle *handle);
659 static inline void hnae_reinit_all_ring_desc(struct hnae_handle *h) in hnae_reinit_all_ring_desc()
674 static inline void hnae_reinit_all_ring_page_off(struct hnae_handle *h) in hnae_reinit_all_ring_page_off()