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()
475 static void hns_ae_get_pauseparam(struct hnae_handle *handle, in hns_ae_get_pauseparam()
490 static int hns_ae_set_autoneg(struct hnae_handle *handle, u8 enable) in hns_ae_set_autoneg()
497 static void hns_ae_set_promisc_mode(struct hnae_handle *handle, u32 en) in hns_ae_set_promisc_mode()
505 static int hns_ae_get_autoneg(struct hnae_handle *handle) in hns_ae_get_autoneg()
516 static int hns_ae_set_pauseparam(struct hnae_handle *handle, in hns_ae_set_pauseparam()
538 static void hns_ae_get_coalesce_usecs(struct hnae_handle *handle, in hns_ae_get_coalesce_usecs()
550 static void hns_ae_get_max_coalesced_frames(struct hnae_handle *handle, in hns_ae_get_max_coalesced_frames()
568 static int hns_ae_set_coalesce_usecs(struct hnae_handle *handle, in hns_ae_set_coalesce_usecs()
578 static int hns_ae_set_coalesce_frames(struct hnae_handle *handle, in hns_ae_set_coalesce_frames()
608 static void hns_ae_get_coalesce_range(struct hnae_handle *handle, in hns_ae_get_coalesce_range()
639 static void hns_ae_update_stats(struct hnae_handle *handle, in hns_ae_update_stats()
722 static void hns_ae_get_stats(struct hnae_handle *handle, u64 *data) in hns_ae_get_stats()
754 static void hns_ae_get_strings(struct hnae_handle *handle, in hns_ae_get_strings()
787 static int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset) in hns_ae_get_sset_count()
807 static int hns_ae_config_loopback(struct hnae_handle *handle, in hns_ae_config_loopback()
833 static void hns_ae_update_led_status(struct hnae_handle *handle) in hns_ae_update_led_status()
845 static int hns_ae_cpld_set_led_id(struct hnae_handle *handle, in hns_ae_cpld_set_led_id()
857 static void hns_ae_get_regs(struct hnae_handle *handle, void *data) in hns_ae_get_regs()
882 static int hns_ae_get_regs_len(struct hnae_handle *handle) in hns_ae_get_regs_len()
898 static u32 hns_ae_get_rss_key_size(struct hnae_handle *handle) in hns_ae_get_rss_key_size()
903 static u32 hns_ae_get_rss_indir_size(struct hnae_handle *handle) in hns_ae_get_rss_indir_size()
908 static int hns_ae_get_rss(struct hnae_handle *handle, u32 *indir, u8 *key, in hns_ae_get_rss()
929 static int hns_ae_set_rss(struct hnae_handle *handle, const u32 *indir, in hns_ae_set_rss()