• Home
  • Raw
  • Download

Lines Matching refs:hnae_handle

18 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle)  in hns_get_mac_cb()
30 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb()
69 static struct hnae_handle *hns_ae_get_handle(struct hnae_ae_dev *dev, in hns_ae_get_handle()
76 struct hnae_handle *ae_handle; in hns_ae_get_handle()
141 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle()
152 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down()
187 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all()
212 static int hns_ae_set_mac_address(struct hnae_handle *handle, void *p) in hns_ae_set_mac_address()
232 static int hns_ae_add_uc_address(struct hnae_handle *handle, in hns_ae_add_uc_address()
243 static int hns_ae_rm_uc_address(struct hnae_handle *handle, in hns_ae_rm_uc_address()
254 static int hns_ae_set_multicast_one(struct hnae_handle *handle, void *addr) in hns_ae_set_multicast_one()
287 static int hns_ae_clr_multicast(struct hnae_handle *handle) in hns_ae_clr_multicast()
297 static int hns_ae_set_mtu(struct hnae_handle *handle, int new_mtu) in hns_ae_set_mtu()
328 static void hns_ae_set_tso_stats(struct hnae_handle *handle, int enable) in hns_ae_set_tso_stats()
335 static int hns_ae_start(struct hnae_handle *handle) in hns_ae_start()
361 static void hns_ae_stop(struct hnae_handle *handle) in hns_ae_stop()
382 static void hns_ae_reset(struct hnae_handle *handle) in hns_ae_reset()
416 static int hns_ae_get_link_status(struct hnae_handle *handle) in hns_ae_get_link_status()
426 static int hns_ae_get_mac_info(struct hnae_handle *handle, in hns_ae_get_mac_info()
434 static bool hns_ae_need_adjust_link(struct hnae_handle *handle, int speed, in hns_ae_need_adjust_link()
442 static void hns_ae_adjust_link(struct hnae_handle *handle, int speed, in hns_ae_adjust_link()
477 static void hns_ae_get_pauseparam(struct hnae_handle *handle, in hns_ae_get_pauseparam()
492 static int hns_ae_set_autoneg(struct hnae_handle *handle, u8 enable) in hns_ae_set_autoneg()
499 static void hns_ae_set_promisc_mode(struct hnae_handle *handle, u32 en) in hns_ae_set_promisc_mode()
507 static int hns_ae_get_autoneg(struct hnae_handle *handle) in hns_ae_get_autoneg()
518 static int hns_ae_set_pauseparam(struct hnae_handle *handle, in hns_ae_set_pauseparam()
540 static void hns_ae_get_coalesce_usecs(struct hnae_handle *handle, in hns_ae_get_coalesce_usecs()
552 static void hns_ae_get_max_coalesced_frames(struct hnae_handle *handle, in hns_ae_get_max_coalesced_frames()
570 static int hns_ae_set_coalesce_usecs(struct hnae_handle *handle, in hns_ae_set_coalesce_usecs()
580 static int hns_ae_set_coalesce_frames(struct hnae_handle *handle, in hns_ae_set_coalesce_frames()
610 static void hns_ae_get_coalesce_range(struct hnae_handle *handle, in hns_ae_get_coalesce_range()
641 static void hns_ae_update_stats(struct hnae_handle *handle, in hns_ae_update_stats()
724 static void hns_ae_get_stats(struct hnae_handle *handle, u64 *data) in hns_ae_get_stats()
756 static void hns_ae_get_strings(struct hnae_handle *handle, in hns_ae_get_strings()
789 static int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset) in hns_ae_get_sset_count()
809 static int hns_ae_config_loopback(struct hnae_handle *handle, in hns_ae_config_loopback()
835 static void hns_ae_update_led_status(struct hnae_handle *handle) in hns_ae_update_led_status()
847 static int hns_ae_cpld_set_led_id(struct hnae_handle *handle, in hns_ae_cpld_set_led_id()
859 static void hns_ae_get_regs(struct hnae_handle *handle, void *data) in hns_ae_get_regs()
884 static int hns_ae_get_regs_len(struct hnae_handle *handle) in hns_ae_get_regs_len()
900 static u32 hns_ae_get_rss_key_size(struct hnae_handle *handle) in hns_ae_get_rss_key_size()
905 static u32 hns_ae_get_rss_indir_size(struct hnae_handle *handle) in hns_ae_get_rss_indir_size()
910 static int hns_ae_get_rss(struct hnae_handle *handle, u32 *indir, u8 *key, in hns_ae_get_rss()
931 static int hns_ae_set_rss(struct hnae_handle *handle, const u32 *indir, in hns_ae_set_rss()