Lines Matching refs:hnae_handle

342 struct hnae_handle;
358 struct hnae_handle *handle;
467 struct hnae_handle *(*get_handle)(struct hnae_ae_dev *dev,
469 void (*put_handle)(struct hnae_handle *handle);
472 int (*start)(struct hnae_handle *handle);
473 void (*stop)(struct hnae_handle *handle);
474 void (*reset)(struct hnae_handle *handle);
475 int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
476 int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
477 int (*get_status)(struct hnae_handle *handle);
478 int (*get_info)(struct hnae_handle *handle,
481 void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex);
482 bool (*need_adjust_link)(struct hnae_handle *handle,
484 int (*set_loopback)(struct hnae_handle *handle,
488 void (*get_pauseparam)(struct hnae_handle *handle,
490 int (*set_autoneg)(struct hnae_handle *handle, u8 enable);
491 int (*get_autoneg)(struct hnae_handle *handle);
492 int (*set_pauseparam)(struct hnae_handle *handle,
494 void (*get_coalesce_usecs)(struct hnae_handle *handle,
496 void (*get_max_coalesced_frames)(struct hnae_handle *handle,
498 int (*set_coalesce_usecs)(struct hnae_handle *handle, u32 timeout);
499 int (*set_coalesce_frames)(struct hnae_handle *handle,
501 void (*get_coalesce_range)(struct hnae_handle *handle,
506 void (*set_promisc_mode)(struct hnae_handle *handle, u32 en);
507 int (*get_mac_addr)(struct hnae_handle *handle, void **p);
508 int (*set_mac_addr)(struct hnae_handle *handle, void *p);
509 int (*add_uc_addr)(struct hnae_handle *handle,
511 int (*rm_uc_addr)(struct hnae_handle *handle,
513 int (*clr_mc_addr)(struct hnae_handle *handle);
514 int (*set_mc_addr)(struct hnae_handle *handle, void *addr);
515 int (*set_mtu)(struct hnae_handle *handle, int new_mtu);
516 void (*set_tso_stats)(struct hnae_handle *handle, int enable);
517 void (*update_stats)(struct hnae_handle *handle,
519 void (*get_stats)(struct hnae_handle *handle, u64 *data);
520 void (*get_strings)(struct hnae_handle *handle,
522 int (*get_sset_count)(struct hnae_handle *handle, int stringset);
523 void (*update_led_status)(struct hnae_handle *handle);
524 int (*set_led_id)(struct hnae_handle *handle,
526 void (*get_regs)(struct hnae_handle *handle, void *data);
527 int (*get_regs_len)(struct hnae_handle *handle);
528 u32 (*get_rss_key_size)(struct hnae_handle *handle);
529 u32 (*get_rss_indir_size)(struct hnae_handle *handle);
530 int (*get_rss)(struct hnae_handle *handle, u32 *indir, u8 *key,
532 int (*set_rss)(struct hnae_handle *handle, const u32 *indir,
548 struct hnae_handle { struct
572 struct hnae_handle *hnae_get_handle(struct device *owner_dev, argument
577 void hnae_put_handle(struct hnae_handle *handle);
583 int hnae_reinit_handle(struct hnae_handle *handle);
665 static inline void hnae_reinit_all_ring_desc(struct hnae_handle *h) in hnae_reinit_all_ring_desc()
680 static inline void hnae_reinit_all_ring_page_off(struct hnae_handle *h) in hnae_reinit_all_ring_page_off()