Lines Matching defs:handle

575 	struct hnae3_handle *handle;  in hclge_update_stats_for_all()  local
596 static void hclge_update_stats(struct hnae3_handle *handle) in hclge_update_stats()
620 static int hclge_get_sset_count(struct hnae3_handle *handle, int stringset) in hclge_get_sset_count()
670 static void hclge_get_strings(struct hnae3_handle *handle, u32 stringset, in hclge_get_strings()
713 static void hclge_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_get_stats()
724 static void hclge_get_mac_stat(struct hnae3_handle *handle, in hclge_get_mac_stat()
904 static int hclge_check_port_speed(struct hnae3_handle *handle, u32 speed) in hclge_check_port_speed()
2596 static int hclge_cfg_mac_speed_dup_h(struct hnae3_handle *handle, int speed, in hclge_cfg_mac_speed_dup_h()
2627 static int hclge_set_autoneg(struct hnae3_handle *handle, bool enable) in hclge_set_autoneg()
2645 static int hclge_get_autoneg(struct hnae3_handle *handle) in hclge_get_autoneg()
2657 static int hclge_restart_autoneg(struct hnae3_handle *handle) in hclge_restart_autoneg()
2671 static int hclge_halt_autoneg(struct hnae3_handle *handle, bool halt) in hclge_halt_autoneg()
2816 static void hclge_get_fec_stats(struct hnae3_handle *handle, in hclge_get_fec_stats()
2861 static int hclge_set_fec(struct hnae3_handle *handle, u32 fec_mode) in hclge_set_fec()
2881 static void hclge_get_fec(struct hnae3_handle *handle, u8 *fec_ability, in hclge_get_fec()
3034 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_update_link_status() local
3251 static int hclge_get_phy_link_ksettings(struct hnae3_handle *handle, in hclge_get_phy_link_ksettings()
3302 hclge_set_phy_link_ksettings(struct hnae3_handle *handle, in hclge_set_phy_link_ksettings()
3434 static int hclge_get_status(struct hnae3_handle *handle) in hclge_get_status()
3464 static int hclge_get_vf_config(struct hnae3_handle *handle, int vf, in hclge_get_vf_config()
3488 static int hclge_set_vf_link_state(struct hnae3_handle *handle, int vf, in hclge_set_vf_link_state()
3723 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_notify_client() local
3744 struct hnae3_handle *handle = &hdev->vport[0].roce; in hclge_notify_roce_client() local
3969 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_do_reset() local
4367 static void hclge_reset_event(struct pci_dev *pdev, struct hnae3_handle *handle) in hclge_reset_event()
4656 struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle) in hclge_get_vport()
4691 static int hclge_get_vector(struct hnae3_handle *handle, u16 vector_num, in hclge_get_vector()
4732 static int hclge_put_vector(struct hnae3_handle *handle, int vector) in hclge_put_vector()
4750 static int hclge_get_rss(struct hnae3_handle *handle, u32 *indir, in hclge_get_rss()
4765 static int hclge_set_rss(struct hnae3_handle *handle, const u32 *indir, in hclge_set_rss()
4789 static int hclge_set_rss_tuple(struct hnae3_handle *handle, in hclge_set_rss_tuple()
4807 static int hclge_get_rss_tuple(struct hnae3_handle *handle, in hclge_get_rss_tuple()
4826 static int hclge_get_tc_size(struct hnae3_handle *handle) in hclge_get_tc_size()
4979 static int hclge_map_ring_to_vector(struct hnae3_handle *handle, int vector, in hclge_map_ring_to_vector()
4996 static int hclge_unmap_ring_frm_vector(struct hnae3_handle *handle, int vector, in hclge_unmap_ring_frm_vector()
5026 struct hnae3_handle *handle = &vport->nic; in hclge_cmd_set_promisc_mode() local
5074 static int hclge_set_promisc_mode(struct hnae3_handle *handle, bool en_uc_pmc, in hclge_set_promisc_mode()
5092 static void hclge_request_update_promisc_mode(struct hnae3_handle *handle) in hclge_request_update_promisc_mode()
6412 static bool hclge_is_cls_flower_active(struct hnae3_handle *handle) in hclge_is_cls_flower_active()
6459 static int hclge_add_fd_entry(struct hnae3_handle *handle, in hclge_add_fd_entry()
6520 static int hclge_del_fd_entry(struct hnae3_handle *handle, in hclge_del_fd_entry()
6595 static int hclge_restore_fd_entries(struct hnae3_handle *handle) in hclge_restore_fd_entries()
6624 static int hclge_get_fd_rule_cnt(struct hnae3_handle *handle, in hclge_get_fd_rule_cnt()
6840 static int hclge_get_fd_rule_info(struct hnae3_handle *handle, in hclge_get_fd_rule_info()
6902 static int hclge_get_all_rules(struct hnae3_handle *handle, in hclge_get_all_rules()
7002 static int hclge_add_fd_entry_by_arfs(struct hnae3_handle *handle, u16 queue_id, in hclge_add_fd_entry_by_arfs()
7064 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_rfs_filter_expire() local
7291 static int hclge_add_cls_flower(struct hnae3_handle *handle, in hclge_add_cls_flower()
7351 static int hclge_del_cls_flower(struct hnae3_handle *handle, in hclge_del_cls_flower()
7444 static bool hclge_get_hw_reset_stat(struct hnae3_handle *handle) in hclge_get_hw_reset_stat()
7453 static bool hclge_get_cmdq_stat(struct hnae3_handle *handle) in hclge_get_cmdq_stat()
7461 static bool hclge_ae_dev_resetting(struct hnae3_handle *handle) in hclge_ae_dev_resetting()
7469 static unsigned long hclge_ae_dev_reset_cnt(struct hnae3_handle *handle) in hclge_ae_dev_reset_cnt()
7477 static void hclge_enable_fd(struct hnae3_handle *handle, bool enable) in hclge_enable_fd()
7846 static int hclge_tqp_enable(struct hnae3_handle *handle, bool enable) in hclge_tqp_enable()
7861 static int hclge_set_loopback(struct hnae3_handle *handle, in hclge_set_loopback()
7942 static void hclge_set_timer_task(struct hnae3_handle *handle, bool enable) in hclge_set_timer_task()
7958 static int hclge_ae_start(struct hnae3_handle *handle) in hclge_ae_start()
7976 static void hclge_ae_stop(struct hnae3_handle *handle) in hclge_ae_stop()
8045 static int hclge_client_start(struct hnae3_handle *handle) in hclge_client_start()
8052 static void hclge_client_stop(struct hnae3_handle *handle) in hclge_client_stop()
8498 static int hclge_add_uc_addr(struct hnae3_handle *handle, in hclge_add_uc_addr()
8569 static int hclge_rm_uc_addr(struct hnae3_handle *handle, in hclge_rm_uc_addr()
8610 static int hclge_add_mc_addr(struct hnae3_handle *handle, in hclge_add_mc_addr()
8674 static int hclge_rm_mc_addr(struct hnae3_handle *handle, in hclge_rm_mc_addr()
9133 static int hclge_set_vf_mac(struct hnae3_handle *handle, int vf, in hclge_set_vf_mac()
9215 static void hclge_get_mac_addr(struct hnae3_handle *handle, u8 *p) in hclge_get_mac_addr()
9267 static int hclge_set_mac_addr(struct hnae3_handle *handle, const void *p, in hclge_set_mac_addr()
9347 static int hclge_do_ioctl(struct hnae3_handle *handle, struct ifreq *ifr, in hclge_do_ioctl()
9455 struct hnae3_handle *handle = &vport->nic; in hclge_need_enable_vport_vlan_filter() local
9513 static int hclge_enable_vlan_filter(struct hnae3_handle *handle, bool enable) in hclge_enable_vlan_filter()
9968 struct hnae3_handle *handle = &hdev->vport[0].nic; in hclge_init_vlan_config() local
10197 struct hnae3_handle *handle = &vport->nic; in hclge_restore_hw_table() local
10206 int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable) in hclge_en_hw_strip_rxvtag()
10378 static int hclge_set_vf_vlan_filter(struct hnae3_handle *handle, int vfid, in hclge_set_vf_vlan_filter()
10460 int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto, in hclge_set_vlan_filter()
10600 static int hclge_set_mtu(struct hnae3_handle *handle, int new_mtu) in hclge_set_mtu()
10711 u16 hclge_covert_handle_qid_global(struct hnae3_handle *handle, u16 queue_id) in hclge_covert_handle_qid_global()
10722 static int hclge_reset_tqp_cmd(struct hnae3_handle *handle) in hclge_reset_tqp_cmd()
10773 static int hclge_reset_rcb(struct hnae3_handle *handle) in hclge_reset_rcb()
10817 int hclge_reset_tqp(struct hnae3_handle *handle) in hclge_reset_tqp()
10836 static u32 hclge_get_fw_version(struct hnae3_handle *handle) in hclge_get_fw_version()
10904 static void hclge_get_pauseparam(struct hnae3_handle *handle, u32 *auto_neg, in hclge_get_pauseparam()
10950 static int hclge_set_pauseparam(struct hnae3_handle *handle, u32 auto_neg, in hclge_set_pauseparam()
10986 static void hclge_get_ksettings_an_result(struct hnae3_handle *handle, in hclge_get_ksettings_an_result()
11002 static void hclge_get_media_type(struct hnae3_handle *handle, u8 *media_type, in hclge_get_media_type()
11021 static void hclge_get_mdix_mode(struct hnae3_handle *handle, in hclge_get_mdix_mode()
11073 struct hnae3_handle *handle = &hdev->vport->nic; in hclge_info_show() local
11488 static struct hclge_wol_info *hclge_get_wol_info(struct hnae3_handle *handle) in hclge_get_wol_info()
11568 static void hclge_get_wol(struct hnae3_handle *handle, in hclge_get_wol()
11579 static int hclge_set_wol(struct hnae3_handle *handle, in hclge_set_wol()
11877 static int hclge_set_vf_spoofchk(struct hnae3_handle *handle, int vf, in hclge_set_vf_spoofchk()
11934 static int hclge_set_vf_trust(struct hnae3_handle *handle, int vf, bool enable) in hclge_set_vf_trust()
11986 static int hclge_set_vf_rate(struct hnae3_handle *handle, int vf, in hclge_set_vf_rate()
12015 struct hnae3_handle *handle = &hdev->vport->nic; in hclge_resume_vf_rate() local
12230 static u32 hclge_get_max_channels(struct hnae3_handle *handle) in hclge_get_max_channels()
12238 static void hclge_get_channels(struct hnae3_handle *handle, in hclge_get_channels()
12247 static void hclge_get_tqps_and_rss_info(struct hnae3_handle *handle, in hclge_get_tqps_and_rss_info()
12257 static int hclge_set_rss_tc_mode_cfg(struct hnae3_handle *handle) in hclge_set_rss_tc_mode_cfg()
12285 static int hclge_set_channels(struct hnae3_handle *handle, u32 new_tqps_num, in hclge_set_channels()
12366 static int hclge_set_led_id(struct hnae3_handle *handle, in hclge_set_led_id()
12382 static void hclge_get_link_mode(struct hnae3_handle *handle, in hclge_get_link_mode()
12397 static int hclge_gro_en(struct hnae3_handle *handle, bool enable) in hclge_gro_en()
12414 struct hnae3_handle *handle = &vport->nic; in hclge_sync_vport_promisc_mode() local
12553 static int hclge_get_module_eeprom(struct hnae3_handle *handle, u32 offset, in hclge_get_module_eeprom()
12581 static int hclge_get_link_diagnosis_info(struct hnae3_handle *handle, in hclge_get_link_diagnosis_info()