Lines Matching defs:handle
25 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb()
56 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb()
186 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle()
199 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all()
224 static int hns_ae_set_mac_address(struct hnae_handle *handle, void *p) in hns_ae_set_mac_address()
244 static int hns_ae_set_multicast_one(struct hnae_handle *handle, void *addr) in hns_ae_set_multicast_one()
273 static int hns_ae_set_mtu(struct hnae_handle *handle, int new_mtu) in hns_ae_set_mtu()
280 static int hns_ae_start(struct hnae_handle *handle) in hns_ae_start()
297 void hns_ae_stop(struct hnae_handle *handle) in hns_ae_stop()
315 static void hns_ae_reset(struct hnae_handle *handle) in hns_ae_reset()
346 static int hns_ae_get_link_status(struct hnae_handle *handle) in hns_ae_get_link_status()
356 static int hns_ae_get_mac_info(struct hnae_handle *handle, in hns_ae_get_mac_info()
364 static void hns_ae_adjust_link(struct hnae_handle *handle, int speed, in hns_ae_adjust_link()
378 static void hns_ae_get_pauseparam(struct hnae_handle *handle, in hns_ae_get_pauseparam()
388 static int hns_ae_set_autoneg(struct hnae_handle *handle, u8 enable) in hns_ae_set_autoneg()
395 static void hns_ae_set_promisc_mode(struct hnae_handle *handle, u32 en) in hns_ae_set_promisc_mode()
400 static int hns_ae_get_autoneg(struct hnae_handle *handle) in hns_ae_get_autoneg()
411 static int hns_ae_set_pauseparam(struct hnae_handle *handle, in hns_ae_set_pauseparam()
424 static void hns_ae_get_coalesce_usecs(struct hnae_handle *handle, in hns_ae_get_coalesce_usecs()
439 static void hns_ae_get_rx_max_coalesced_frames(struct hnae_handle *handle, in hns_ae_get_rx_max_coalesced_frames()
454 static void hns_ae_set_coalesce_usecs(struct hnae_handle *handle, in hns_ae_set_coalesce_usecs()
467 static int hns_ae_set_coalesce_frames(struct hnae_handle *handle, in hns_ae_set_coalesce_frames()
482 void hns_ae_update_stats(struct hnae_handle *handle, in hns_ae_update_stats()
565 void hns_ae_get_stats(struct hnae_handle *handle, u64 *data) in hns_ae_get_stats()
597 void hns_ae_get_strings(struct hnae_handle *handle, in hns_ae_get_strings()
629 int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset) in hns_ae_get_sset_count()
648 static int hns_ae_config_loopback(struct hnae_handle *handle, in hns_ae_config_loopback()
667 void hns_ae_update_led_status(struct hnae_handle *handle) in hns_ae_update_led_status()
678 int hns_ae_cpld_set_led_id(struct hnae_handle *handle, in hns_ae_cpld_set_led_id()
690 void hns_ae_get_regs(struct hnae_handle *handle, void *data) in hns_ae_get_regs()
717 int hns_ae_get_regs_len(struct hnae_handle *handle) in hns_ae_get_regs_len()