hnae_handle
static int hnae_init_queue(struct hnae_handle *h, struct hnae_queue *q,
int hnae_reinit_handle(struct hnae_handle *handle)
struct hnae_handle *hnae_get_handle(struct device *owner_dev,
struct hnae_handle *handle;
void hnae_put_handle(struct hnae_handle *h)
struct hnae_handle;
struct hnae_handle *handle;
struct hnae_handle *(*get_handle)(struct hnae_ae_dev *dev,
void (*put_handle)(struct hnae_handle *handle);
int (*start)(struct hnae_handle *handle);
void (*stop)(struct hnae_handle *handle);
void (*reset)(struct hnae_handle *handle);
int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
int (*get_status)(struct hnae_handle *handle);
int (*get_info)(struct hnae_handle *handle,
void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex);
bool (*need_adjust_link)(struct hnae_handle *handle,
int (*set_loopback)(struct hnae_handle *handle,
void (*get_pauseparam)(struct hnae_handle *handle,
int (*set_pauseparam)(struct hnae_handle *handle,
void (*get_coalesce_usecs)(struct hnae_handle *handle,
void (*get_max_coalesced_frames)(struct hnae_handle *handle,
int (*set_coalesce_usecs)(struct hnae_handle *handle, u32 timeout);
int (*set_coalesce_frames)(struct hnae_handle *handle,
void (*get_coalesce_range)(struct hnae_handle *handle,
void (*set_promisc_mode)(struct hnae_handle *handle, u32 en);
int (*get_mac_addr)(struct hnae_handle *handle, void **p);
int (*set_mac_addr)(struct hnae_handle *handle, const void *p);
int (*add_uc_addr)(struct hnae_handle *handle,
int (*rm_uc_addr)(struct hnae_handle *handle,
int (*clr_mc_addr)(struct hnae_handle *handle);
int (*set_mc_addr)(struct hnae_handle *handle, void *addr);
int (*set_mtu)(struct hnae_handle *handle, int new_mtu);
void (*set_tso_stats)(struct hnae_handle *handle, int enable);
void (*update_stats)(struct hnae_handle *handle,
void (*get_stats)(struct hnae_handle *handle, u64 *data);
void (*get_strings)(struct hnae_handle *handle,
int (*get_sset_count)(struct hnae_handle *handle, int stringset);
void (*update_led_status)(struct hnae_handle *handle);
int (*set_led_id)(struct hnae_handle *handle,
void (*get_regs)(struct hnae_handle *handle, void *data);
int (*get_regs_len)(struct hnae_handle *handle);
u32 (*get_rss_key_size)(struct hnae_handle *handle);
u32 (*get_rss_indir_size)(struct hnae_handle *handle);
int (*get_rss)(struct hnae_handle *handle, u32 *indir, u8 *key,
int (*set_rss)(struct hnae_handle *handle, const u32 *indir,
struct hnae_handle *hnae_get_handle(struct device *owner_dev,
void hnae_put_handle(struct hnae_handle *handle);
int hnae_reinit_handle(struct hnae_handle *handle);
static inline void hnae_reinit_all_ring_desc(struct hnae_handle *h)
static inline void hnae_reinit_all_ring_page_off(struct hnae_handle *h)
static void hns_ae_put_handle(struct hnae_handle *handle)
static int hns_ae_wait_flow_down(struct hnae_handle *handle)
static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle)
static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val)
static int hns_ae_set_mac_address(struct hnae_handle *handle, const void *p)
static int hns_ae_add_uc_address(struct hnae_handle *handle,
static int hns_ae_rm_uc_address(struct hnae_handle *handle,
static int hns_ae_set_multicast_one(struct hnae_handle *handle, void *addr)
static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle)
static int hns_ae_clr_multicast(struct hnae_handle *handle)
static int hns_ae_set_mtu(struct hnae_handle *handle, int new_mtu)
static void hns_ae_set_tso_stats(struct hnae_handle *handle, int enable)
static int hns_ae_start(struct hnae_handle *handle)
static void hns_ae_stop(struct hnae_handle *handle)
static void hns_ae_reset(struct hnae_handle *handle)
static int hns_ae_get_link_status(struct hnae_handle *handle)
static int hns_ae_get_mac_info(struct hnae_handle *handle,
static bool hns_ae_need_adjust_link(struct hnae_handle *handle, int speed,
static void hns_ae_adjust_link(struct hnae_handle *handle, int speed,
static void hns_ae_get_pauseparam(struct hnae_handle *handle,
static void hns_ae_set_promisc_mode(struct hnae_handle *handle, u32 en)
static int hns_ae_set_pauseparam(struct hnae_handle *handle,
static void hns_ae_get_coalesce_usecs(struct hnae_handle *handle,
static void hns_ae_get_max_coalesced_frames(struct hnae_handle *handle,
static int hns_ae_set_coalesce_usecs(struct hnae_handle *handle,
static int hns_ae_set_coalesce_frames(struct hnae_handle *handle,
static void hns_ae_get_coalesce_range(struct hnae_handle *handle,
static void hns_ae_update_stats(struct hnae_handle *handle,
static struct hnae_handle *hns_ae_get_handle(struct hnae_ae_dev *dev,
static void hns_ae_get_stats(struct hnae_handle *handle, u64 *data)
static void hns_ae_get_strings(struct hnae_handle *handle, u32 stringset,
struct hnae_handle *ae_handle;
static int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset)
static int hns_ae_config_loopback(struct hnae_handle *handle,
static void hns_ae_update_led_status(struct hnae_handle *handle)
static int hns_ae_cpld_set_led_id(struct hnae_handle *handle,
static void hns_ae_get_regs(struct hnae_handle *handle, void *data)
static int hns_ae_get_regs_len(struct hnae_handle *handle)
static u32 hns_ae_get_rss_key_size(struct hnae_handle *handle)
static u32 hns_ae_get_rss_indir_size(struct hnae_handle *handle)
static int hns_ae_get_rss(struct hnae_handle *handle, u32 *indir, u8 *key,
static int hns_ae_set_rss(struct hnae_handle *handle, const u32 *indir,
struct hnae_handle ae_handle; /* must be the last member */
struct hnae_handle *handle)
struct hnae_handle *h = priv->ae_handle;
int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h)
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *handle = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h;
struct hnae_handle *handle = ring->q->handle;
struct hnae_handle *ae_handle;
int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h);
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h;
struct hnae_handle *h;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;
struct hnae_handle *h = priv->ae_handle;