Lines Matching defs:handle
16 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb()
28 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb()
139 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle()
150 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down()
185 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all()
210 static int hns_ae_set_mac_address(struct hnae_handle *handle, void *p) in hns_ae_set_mac_address()
230 static int hns_ae_add_uc_address(struct hnae_handle *handle, in hns_ae_add_uc_address()
241 static int hns_ae_rm_uc_address(struct hnae_handle *handle, in hns_ae_rm_uc_address()
252 static int hns_ae_set_multicast_one(struct hnae_handle *handle, void *addr) in hns_ae_set_multicast_one()
285 static int hns_ae_clr_multicast(struct hnae_handle *handle) in hns_ae_clr_multicast()
295 static int hns_ae_set_mtu(struct hnae_handle *handle, int new_mtu) in hns_ae_set_mtu()
326 static void hns_ae_set_tso_stats(struct hnae_handle *handle, int enable) in hns_ae_set_tso_stats()
333 static int hns_ae_start(struct hnae_handle *handle) in hns_ae_start()
359 static void hns_ae_stop(struct hnae_handle *handle) in hns_ae_stop()
380 static void hns_ae_reset(struct hnae_handle *handle) in hns_ae_reset()
414 static int hns_ae_get_link_status(struct hnae_handle *handle) in hns_ae_get_link_status()
424 static int hns_ae_get_mac_info(struct hnae_handle *handle, in hns_ae_get_mac_info()
432 static bool hns_ae_need_adjust_link(struct hnae_handle *handle, int speed, in hns_ae_need_adjust_link()
440 static void hns_ae_adjust_link(struct hnae_handle *handle, int speed, in hns_ae_adjust_link()
473 static void hns_ae_get_pauseparam(struct hnae_handle *handle, in hns_ae_get_pauseparam()
488 static void hns_ae_set_promisc_mode(struct hnae_handle *handle, u32 en) in hns_ae_set_promisc_mode()
496 static int hns_ae_set_pauseparam(struct hnae_handle *handle, in hns_ae_set_pauseparam()
518 static void hns_ae_get_coalesce_usecs(struct hnae_handle *handle, in hns_ae_get_coalesce_usecs()
530 static void hns_ae_get_max_coalesced_frames(struct hnae_handle *handle, in hns_ae_get_max_coalesced_frames()
548 static int hns_ae_set_coalesce_usecs(struct hnae_handle *handle, in hns_ae_set_coalesce_usecs()
558 static int hns_ae_set_coalesce_frames(struct hnae_handle *handle, in hns_ae_set_coalesce_frames()
588 static void hns_ae_get_coalesce_range(struct hnae_handle *handle, in hns_ae_get_coalesce_range()
619 static void hns_ae_update_stats(struct hnae_handle *handle, in hns_ae_update_stats()
702 static void hns_ae_get_stats(struct hnae_handle *handle, u64 *data) in hns_ae_get_stats()
734 static void hns_ae_get_strings(struct hnae_handle *handle, in hns_ae_get_strings()
767 static int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset) in hns_ae_get_sset_count()
787 static int hns_ae_config_loopback(struct hnae_handle *handle, in hns_ae_config_loopback()
813 static void hns_ae_update_led_status(struct hnae_handle *handle) in hns_ae_update_led_status()
825 static int hns_ae_cpld_set_led_id(struct hnae_handle *handle, in hns_ae_cpld_set_led_id()
837 static void hns_ae_get_regs(struct hnae_handle *handle, void *data) in hns_ae_get_regs()
862 static int hns_ae_get_regs_len(struct hnae_handle *handle) in hns_ae_get_regs_len()
878 static u32 hns_ae_get_rss_key_size(struct hnae_handle *handle) in hns_ae_get_rss_key_size()
883 static u32 hns_ae_get_rss_indir_size(struct hnae_handle *handle) in hns_ae_get_rss_indir_size()
888 static int hns_ae_get_rss(struct hnae_handle *handle, u32 *indir, u8 *key, in hns_ae_get_rss()
909 static int hns_ae_set_rss(struct hnae_handle *handle, const u32 *indir, in hns_ae_set_rss()