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()
138 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle()
149 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down()
184 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all()
209 static int hns_ae_set_mac_address(struct hnae_handle *handle, const void *p) in hns_ae_set_mac_address()
229 static int hns_ae_add_uc_address(struct hnae_handle *handle, in hns_ae_add_uc_address()
240 static int hns_ae_rm_uc_address(struct hnae_handle *handle, in hns_ae_rm_uc_address()
251 static int hns_ae_set_multicast_one(struct hnae_handle *handle, void *addr) in hns_ae_set_multicast_one()
284 static int hns_ae_clr_multicast(struct hnae_handle *handle) in hns_ae_clr_multicast()
294 static int hns_ae_set_mtu(struct hnae_handle *handle, int new_mtu) in hns_ae_set_mtu()
325 static void hns_ae_set_tso_stats(struct hnae_handle *handle, int enable) in hns_ae_set_tso_stats()
332 static int hns_ae_start(struct hnae_handle *handle) in hns_ae_start()
358 static void hns_ae_stop(struct hnae_handle *handle) in hns_ae_stop()
379 static void hns_ae_reset(struct hnae_handle *handle) in hns_ae_reset()
413 static int hns_ae_get_link_status(struct hnae_handle *handle) in hns_ae_get_link_status()
423 static int hns_ae_get_mac_info(struct hnae_handle *handle, in hns_ae_get_mac_info()
431 static bool hns_ae_need_adjust_link(struct hnae_handle *handle, int speed, in hns_ae_need_adjust_link()
439 static void hns_ae_adjust_link(struct hnae_handle *handle, int speed, in hns_ae_adjust_link()
472 static void hns_ae_get_pauseparam(struct hnae_handle *handle, in hns_ae_get_pauseparam()
487 static void hns_ae_set_promisc_mode(struct hnae_handle *handle, u32 en) in hns_ae_set_promisc_mode()
495 static int hns_ae_set_pauseparam(struct hnae_handle *handle, in hns_ae_set_pauseparam()
517 static void hns_ae_get_coalesce_usecs(struct hnae_handle *handle, in hns_ae_get_coalesce_usecs()
529 static void hns_ae_get_max_coalesced_frames(struct hnae_handle *handle, in hns_ae_get_max_coalesced_frames()
547 static int hns_ae_set_coalesce_usecs(struct hnae_handle *handle, in hns_ae_set_coalesce_usecs()
557 static int hns_ae_set_coalesce_frames(struct hnae_handle *handle, in hns_ae_set_coalesce_frames()
587 static void hns_ae_get_coalesce_range(struct hnae_handle *handle, in hns_ae_get_coalesce_range()
618 static void hns_ae_update_stats(struct hnae_handle *handle, in hns_ae_update_stats()
701 static void hns_ae_get_stats(struct hnae_handle *handle, u64 *data) in hns_ae_get_stats()
733 static void hns_ae_get_strings(struct hnae_handle *handle, in hns_ae_get_strings()
766 static int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset) in hns_ae_get_sset_count()
786 static int hns_ae_config_loopback(struct hnae_handle *handle, in hns_ae_config_loopback()
812 static void hns_ae_update_led_status(struct hnae_handle *handle) in hns_ae_update_led_status()
824 static int hns_ae_cpld_set_led_id(struct hnae_handle *handle, in hns_ae_cpld_set_led_id()
836 static void hns_ae_get_regs(struct hnae_handle *handle, void *data) in hns_ae_get_regs()
861 static int hns_ae_get_regs_len(struct hnae_handle *handle) in hns_ae_get_regs_len()
877 static u32 hns_ae_get_rss_key_size(struct hnae_handle *handle) in hns_ae_get_rss_key_size()
882 static u32 hns_ae_get_rss_indir_size(struct hnae_handle *handle) in hns_ae_get_rss_indir_size()
887 static int hns_ae_get_rss(struct hnae_handle *handle, u32 *indir, u8 *key, in hns_ae_get_rss()
908 static int hns_ae_set_rss(struct hnae_handle *handle, const u32 *indir, in hns_ae_set_rss()