Lines Matching defs:handle
574 struct hnae3_handle *handle; in hclge_update_stats_for_all() local
595 static void hclge_update_stats(struct hnae3_handle *handle) in hclge_update_stats()
619 static int hclge_get_sset_count(struct hnae3_handle *handle, int stringset) in hclge_get_sset_count()
669 static void hclge_get_strings(struct hnae3_handle *handle, u32 stringset, in hclge_get_strings()
712 static void hclge_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_get_stats()
723 static void hclge_get_mac_stat(struct hnae3_handle *handle, in hclge_get_mac_stat()
903 static int hclge_check_port_speed(struct hnae3_handle *handle, u32 speed) in hclge_check_port_speed()
2590 static int hclge_cfg_mac_speed_dup_h(struct hnae3_handle *handle, int speed, in hclge_cfg_mac_speed_dup_h()
2621 static int hclge_set_autoneg(struct hnae3_handle *handle, bool enable) in hclge_set_autoneg()
2639 static int hclge_get_autoneg(struct hnae3_handle *handle) in hclge_get_autoneg()
2651 static int hclge_restart_autoneg(struct hnae3_handle *handle) in hclge_restart_autoneg()
2665 static int hclge_halt_autoneg(struct hnae3_handle *handle, bool halt) in hclge_halt_autoneg()
2810 static void hclge_get_fec_stats(struct hnae3_handle *handle, in hclge_get_fec_stats()
2855 static int hclge_set_fec(struct hnae3_handle *handle, u32 fec_mode) in hclge_set_fec()
2875 static void hclge_get_fec(struct hnae3_handle *handle, u8 *fec_ability, in hclge_get_fec()
3026 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_update_link_status() local
3234 static int hclge_get_phy_link_ksettings(struct hnae3_handle *handle, in hclge_get_phy_link_ksettings()
3285 hclge_set_phy_link_ksettings(struct hnae3_handle *handle, in hclge_set_phy_link_ksettings()
3417 static int hclge_get_status(struct hnae3_handle *handle) in hclge_get_status()
3447 static int hclge_get_vf_config(struct hnae3_handle *handle, int vf, in hclge_get_vf_config()
3471 static int hclge_set_vf_link_state(struct hnae3_handle *handle, int vf, in hclge_set_vf_link_state()
3706 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_notify_client() local
3727 struct hnae3_handle *handle = &hdev->vport[0].roce; in hclge_notify_roce_client() local
3952 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_do_reset() local
4350 static void hclge_reset_event(struct pci_dev *pdev, struct hnae3_handle *handle) in hclge_reset_event()
4639 struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle) in hclge_get_vport()
4674 static int hclge_get_vector(struct hnae3_handle *handle, u16 vector_num, in hclge_get_vector()
4715 static int hclge_put_vector(struct hnae3_handle *handle, int vector) in hclge_put_vector()
4733 static int hclge_get_rss(struct hnae3_handle *handle, u32 *indir, in hclge_get_rss()
4748 static int hclge_set_rss(struct hnae3_handle *handle, const u32 *indir, in hclge_set_rss()
4772 static int hclge_set_rss_tuple(struct hnae3_handle *handle, in hclge_set_rss_tuple()
4790 static int hclge_get_rss_tuple(struct hnae3_handle *handle, in hclge_get_rss_tuple()
4809 static int hclge_get_tc_size(struct hnae3_handle *handle) in hclge_get_tc_size()
4962 static int hclge_map_ring_to_vector(struct hnae3_handle *handle, int vector, in hclge_map_ring_to_vector()
4979 static int hclge_unmap_ring_frm_vector(struct hnae3_handle *handle, int vector, in hclge_unmap_ring_frm_vector()
5009 struct hnae3_handle *handle = &vport->nic; in hclge_cmd_set_promisc_mode() local
5057 static int hclge_set_promisc_mode(struct hnae3_handle *handle, bool en_uc_pmc, in hclge_set_promisc_mode()
5075 static void hclge_request_update_promisc_mode(struct hnae3_handle *handle) in hclge_request_update_promisc_mode()
6395 static bool hclge_is_cls_flower_active(struct hnae3_handle *handle) in hclge_is_cls_flower_active()
6442 static int hclge_add_fd_entry(struct hnae3_handle *handle, in hclge_add_fd_entry()
6503 static int hclge_del_fd_entry(struct hnae3_handle *handle, in hclge_del_fd_entry()
6578 static int hclge_restore_fd_entries(struct hnae3_handle *handle) in hclge_restore_fd_entries()
6607 static int hclge_get_fd_rule_cnt(struct hnae3_handle *handle, in hclge_get_fd_rule_cnt()
6823 static int hclge_get_fd_rule_info(struct hnae3_handle *handle, in hclge_get_fd_rule_info()
6885 static int hclge_get_all_rules(struct hnae3_handle *handle, in hclge_get_all_rules()
6985 static int hclge_add_fd_entry_by_arfs(struct hnae3_handle *handle, u16 queue_id, in hclge_add_fd_entry_by_arfs()
7047 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_rfs_filter_expire() local
7274 static int hclge_add_cls_flower(struct hnae3_handle *handle, in hclge_add_cls_flower()
7334 static int hclge_del_cls_flower(struct hnae3_handle *handle, in hclge_del_cls_flower()
7427 static bool hclge_get_hw_reset_stat(struct hnae3_handle *handle) in hclge_get_hw_reset_stat()
7436 static bool hclge_get_cmdq_stat(struct hnae3_handle *handle) in hclge_get_cmdq_stat()
7444 static bool hclge_ae_dev_resetting(struct hnae3_handle *handle) in hclge_ae_dev_resetting()
7452 static unsigned long hclge_ae_dev_reset_cnt(struct hnae3_handle *handle) in hclge_ae_dev_reset_cnt()
7460 static void hclge_enable_fd(struct hnae3_handle *handle, bool enable) in hclge_enable_fd()
7829 static int hclge_tqp_enable(struct hnae3_handle *handle, bool enable) in hclge_tqp_enable()
7844 static int hclge_set_loopback(struct hnae3_handle *handle, in hclge_set_loopback()
7925 static void hclge_set_timer_task(struct hnae3_handle *handle, bool enable) in hclge_set_timer_task()
7942 static int hclge_ae_start(struct hnae3_handle *handle) in hclge_ae_start()
7960 static void hclge_ae_stop(struct hnae3_handle *handle) in hclge_ae_stop()
8029 static int hclge_client_start(struct hnae3_handle *handle) in hclge_client_start()
8036 static void hclge_client_stop(struct hnae3_handle *handle) in hclge_client_stop()
8482 static int hclge_add_uc_addr(struct hnae3_handle *handle, in hclge_add_uc_addr()
8553 static int hclge_rm_uc_addr(struct hnae3_handle *handle, in hclge_rm_uc_addr()
8594 static int hclge_add_mc_addr(struct hnae3_handle *handle, in hclge_add_mc_addr()
8658 static int hclge_rm_mc_addr(struct hnae3_handle *handle, in hclge_rm_mc_addr()
9117 static int hclge_set_vf_mac(struct hnae3_handle *handle, int vf, in hclge_set_vf_mac()
9199 static void hclge_get_mac_addr(struct hnae3_handle *handle, u8 *p) in hclge_get_mac_addr()
9251 static int hclge_set_mac_addr(struct hnae3_handle *handle, const void *p, in hclge_set_mac_addr()
9331 static int hclge_do_ioctl(struct hnae3_handle *handle, struct ifreq *ifr, in hclge_do_ioctl()
9439 struct hnae3_handle *handle = &vport->nic; in hclge_need_enable_vport_vlan_filter() local
9497 static int hclge_enable_vlan_filter(struct hnae3_handle *handle, bool enable) in hclge_enable_vlan_filter()
9947 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_init_vlan_config() local
10180 struct hnae3_handle *handle = &vport->nic; in hclge_restore_hw_table() local
10189 int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable) in hclge_en_hw_strip_rxvtag()
10361 static int hclge_set_vf_vlan_filter(struct hnae3_handle *handle, int vfid, in hclge_set_vf_vlan_filter()
10443 int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto, in hclge_set_vlan_filter()
10567 static int hclge_set_mtu(struct hnae3_handle *handle, int new_mtu) in hclge_set_mtu()
10678 u16 hclge_covert_handle_qid_global(struct hnae3_handle *handle, u16 queue_id) in hclge_covert_handle_qid_global()
10689 static int hclge_reset_tqp_cmd(struct hnae3_handle *handle) in hclge_reset_tqp_cmd()
10740 static int hclge_reset_rcb(struct hnae3_handle *handle) in hclge_reset_rcb()
10784 int hclge_reset_tqp(struct hnae3_handle *handle) in hclge_reset_tqp()
10803 static u32 hclge_get_fw_version(struct hnae3_handle *handle) in hclge_get_fw_version()
10871 static void hclge_get_pauseparam(struct hnae3_handle *handle, u32 *auto_neg, in hclge_get_pauseparam()
10917 static int hclge_set_pauseparam(struct hnae3_handle *handle, u32 auto_neg, in hclge_set_pauseparam()
10953 static void hclge_get_ksettings_an_result(struct hnae3_handle *handle, in hclge_get_ksettings_an_result()
10969 static void hclge_get_media_type(struct hnae3_handle *handle, u8 *media_type, in hclge_get_media_type()
10988 static void hclge_get_mdix_mode(struct hnae3_handle *handle, in hclge_get_mdix_mode()
11040 struct hnae3_handle *handle = &hdev->vport->nic; in hclge_info_show() local
11449 static struct hclge_wol_info *hclge_get_wol_info(struct hnae3_handle *handle) in hclge_get_wol_info()
11529 static void hclge_get_wol(struct hnae3_handle *handle, in hclge_get_wol()
11540 static int hclge_set_wol(struct hnae3_handle *handle, in hclge_set_wol()
11838 static int hclge_set_vf_spoofchk(struct hnae3_handle *handle, int vf, in hclge_set_vf_spoofchk()
11895 static int hclge_set_vf_trust(struct hnae3_handle *handle, int vf, bool enable) in hclge_set_vf_trust()
11947 static int hclge_set_vf_rate(struct hnae3_handle *handle, int vf, in hclge_set_vf_rate()
11976 struct hnae3_handle *handle = &hdev->vport->nic; in hclge_resume_vf_rate() local
12191 static u32 hclge_get_max_channels(struct hnae3_handle *handle) in hclge_get_max_channels()
12199 static void hclge_get_channels(struct hnae3_handle *handle, in hclge_get_channels()
12208 static void hclge_get_tqps_and_rss_info(struct hnae3_handle *handle, in hclge_get_tqps_and_rss_info()
12218 static int hclge_set_rss_tc_mode_cfg(struct hnae3_handle *handle) in hclge_set_rss_tc_mode_cfg()
12246 static int hclge_set_channels(struct hnae3_handle *handle, u32 new_tqps_num, in hclge_set_channels()
12327 static int hclge_set_led_id(struct hnae3_handle *handle, in hclge_set_led_id()
12343 static void hclge_get_link_mode(struct hnae3_handle *handle, in hclge_get_link_mode()
12358 static int hclge_gro_en(struct hnae3_handle *handle, bool enable) in hclge_gro_en()
12375 struct hnae3_handle *handle = &vport->nic; in hclge_sync_vport_promisc_mode() local
12514 static int hclge_get_module_eeprom(struct hnae3_handle *handle, u32 offset, in hclge_get_module_eeprom()
12542 static int hclge_get_link_diagnosis_info(struct hnae3_handle *handle, in hclge_get_link_diagnosis_info()