Lines Matching defs:hdev
414 static int hclge_mac_update_stats_defective(struct hclge_dev *hdev) in hclge_mac_update_stats_defective()
453 static int hclge_mac_update_stats_complete(struct hclge_dev *hdev, u32 desc_num) in hclge_mac_update_stats_complete()
497 static int hclge_mac_query_reg_num(struct hclge_dev *hdev, u32 *desc_num) in hclge_mac_query_reg_num()
518 static int hclge_mac_update_stats(struct hclge_dev *hdev) in hclge_mac_update_stats()
540 struct hclge_dev *hdev = vport->back; in hclge_tqps_update_stats() local
672 static void hclge_update_stats_for_all(struct hclge_dev *hdev) in hclge_update_stats_for_all()
697 struct hclge_dev *hdev = vport->back; in hclge_update_stats() local
726 struct hclge_dev *hdev = vport->back; in hclge_get_sset_count() local
801 struct hclge_dev *hdev = vport->back; in hclge_get_stats() local
813 struct hclge_dev *hdev = vport->back; in hclge_get_mac_stat() local
821 static int hclge_parse_func_status(struct hclge_dev *hdev, in hclge_parse_func_status()
836 static int hclge_query_function_status(struct hclge_dev *hdev) in hclge_query_function_status()
867 static int hclge_query_pf_resource(struct hclge_dev *hdev) in hclge_query_pf_resource()
972 struct hclge_dev *hdev = vport->back; in hclge_check_port_speed() local
1121 static void hclge_parse_fiber_link_mode(struct hclge_dev *hdev, in hclge_parse_fiber_link_mode()
1141 static void hclge_parse_backplane_link_mode(struct hclge_dev *hdev, in hclge_parse_backplane_link_mode()
1154 static void hclge_parse_copper_link_mode(struct hclge_dev *hdev, in hclge_parse_copper_link_mode()
1185 static void hclge_parse_link_mode(struct hclge_dev *hdev, u8 speed_ability) in hclge_parse_link_mode()
1260 static int hclge_get_cfg(struct hclge_dev *hdev, struct hclge_cfg *hcfg) in hclge_get_cfg()
1292 static int hclge_get_cap(struct hclge_dev *hdev) in hclge_get_cap()
1311 static void hclge_init_kdump_kernel_config(struct hclge_dev *hdev) in hclge_init_kdump_kernel_config()
1328 static int hclge_configure(struct hclge_dev *hdev) in hclge_configure()
1401 static int hclge_config_tso(struct hclge_dev *hdev, unsigned int tso_mss_min, in hclge_config_tso()
1425 static int hclge_config_gro(struct hclge_dev *hdev, bool en) in hclge_config_gro()
1447 static int hclge_alloc_tqps(struct hclge_dev *hdev) in hclge_alloc_tqps()
1476 static int hclge_map_tqps_to_func(struct hclge_dev *hdev, u16 func_id, in hclge_map_tqps_to_func()
1503 struct hclge_dev *hdev = vport->back; in hclge_assign_tqp() local
1535 struct hclge_dev *hdev = vport->back; in hclge_knic_setup() local
1555 static int hclge_map_tqp_to_vport(struct hclge_dev *hdev, in hclge_map_tqp_to_vport()
1579 static int hclge_map_tqp(struct hclge_dev *hdev) in hclge_map_tqp()
1601 struct hclge_dev *hdev = vport->back; in hclge_vport_setup() local
1616 static int hclge_alloc_vport(struct hclge_dev *hdev) in hclge_alloc_vport()
1676 static int hclge_cmd_alloc_tx_buff(struct hclge_dev *hdev, in hclge_cmd_alloc_tx_buff()
1706 static int hclge_tx_buffer_alloc(struct hclge_dev *hdev, in hclge_tx_buffer_alloc()
1717 static u32 hclge_get_tc_num(struct hclge_dev *hdev) in hclge_get_tc_num()
1729 static int hclge_get_pfc_priv_num(struct hclge_dev *hdev, in hclge_get_pfc_priv_num()
1747 static int hclge_get_no_pfc_priv_num(struct hclge_dev *hdev, in hclge_get_no_pfc_priv_num()
1789 static bool hclge_is_rx_buf_ok(struct hclge_dev *hdev, in hclge_is_rx_buf_ok()
1855 static int hclge_tx_buffer_calc(struct hclge_dev *hdev, in hclge_tx_buffer_calc()
1881 static bool hclge_rx_buf_calc_all(struct hclge_dev *hdev, bool max, in hclge_rx_buf_calc_all()
1917 static bool hclge_drop_nopfc_buf_till_fit(struct hclge_dev *hdev, in hclge_drop_nopfc_buf_till_fit()
1947 static bool hclge_drop_pfc_buf_till_fit(struct hclge_dev *hdev, in hclge_drop_pfc_buf_till_fit()
1977 static int hclge_only_alloc_priv_buff(struct hclge_dev *hdev, in hclge_only_alloc_priv_buff()
2031 static int hclge_rx_buffer_calc(struct hclge_dev *hdev, in hclge_rx_buffer_calc()
2064 static int hclge_rx_priv_buf_alloc(struct hclge_dev *hdev, in hclge_rx_priv_buf_alloc()
2097 static int hclge_rx_priv_wl_config(struct hclge_dev *hdev, in hclge_rx_priv_wl_config()
2141 static int hclge_common_thrd_config(struct hclge_dev *hdev, in hclge_common_thrd_config()
2184 static int hclge_common_wl_config(struct hclge_dev *hdev, in hclge_common_wl_config()
2209 int hclge_buffer_alloc(struct hclge_dev *hdev) in hclge_buffer_alloc()
2298 static int hclge_init_msi(struct hclge_dev *hdev) in hclge_init_msi()
2353 static int hclge_cfg_mac_speed_dup_hw(struct hclge_dev *hdev, int speed, in hclge_cfg_mac_speed_dup_hw()
2418 int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex) in hclge_cfg_mac_speed_dup()
2440 struct hclge_dev *hdev = vport->back; in hclge_cfg_mac_speed_dup_h() local
2445 static int hclge_set_autoneg_en(struct hclge_dev *hdev, bool enable) in hclge_set_autoneg_en()
2470 struct hclge_dev *hdev = vport->back; in hclge_set_autoneg() local
2488 struct hclge_dev *hdev = vport->back; in hclge_get_autoneg() local
2500 struct hclge_dev *hdev = vport->back; in hclge_restart_autoneg() local
2514 struct hclge_dev *hdev = vport->back; in hclge_halt_autoneg() local
2522 static int hclge_set_fec_hw(struct hclge_dev *hdev, u32 fec_mode) in hclge_set_fec_hw()
2550 struct hclge_dev *hdev = vport->back; in hclge_set_fec() local
2571 struct hclge_dev *hdev = vport->back; in hclge_get_fec() local
2580 static int hclge_mac_init(struct hclge_dev *hdev) in hclge_mac_init()
2633 static void hclge_mbx_task_schedule(struct hclge_dev *hdev) in hclge_mbx_task_schedule()
2641 static void hclge_reset_task_schedule(struct hclge_dev *hdev) in hclge_reset_task_schedule()
2649 void hclge_task_schedule(struct hclge_dev *hdev, unsigned long delay_time) in hclge_task_schedule()
2662 static int hclge_get_mac_link_status(struct hclge_dev *hdev) in hclge_get_mac_link_status()
2683 static int hclge_get_mac_phy_link(struct hclge_dev *hdev) in hclge_get_mac_phy_link()
2707 static void hclge_update_link_status(struct hclge_dev *hdev) in hclge_update_link_status()
2757 static int hclge_get_sfp_speed(struct hclge_dev *hdev, u32 *speed) in hclge_get_sfp_speed()
2780 static int hclge_get_sfp_info(struct hclge_dev *hdev, struct hclge_mac *mac) in hclge_get_sfp_info()
2822 static int hclge_update_port_info(struct hclge_dev *hdev) in hclge_update_port_info()
2867 struct hclge_dev *hdev = vport->back; in hclge_get_status() local
2874 static u32 hclge_check_event_cause(struct hclge_dev *hdev, u32 *clearval) in hclge_check_event_cause()
2934 static void hclge_clear_event_cause(struct hclge_dev *hdev, u32 event_type, in hclge_clear_event_cause()
2949 static void hclge_clear_all_event_cause(struct hclge_dev *hdev) in hclge_clear_all_event_cause()
2965 struct hclge_dev *hdev = data; in hclge_misc_irq_handle() local
3023 static void hclge_free_vector(struct hclge_dev *hdev, int vector_id) in hclge_free_vector()
3036 static void hclge_get_misc_vector(struct hclge_dev *hdev) in hclge_get_misc_vector()
3052 struct hclge_dev *hdev = container_of(notify, struct hclge_dev, in hclge_irq_affinity_notify() local
3062 static void hclge_misc_affinity_setup(struct hclge_dev *hdev) in hclge_misc_affinity_setup()
3073 static void hclge_misc_affinity_teardown(struct hclge_dev *hdev) in hclge_misc_affinity_teardown()
3079 static int hclge_misc_irq_init(struct hclge_dev *hdev) in hclge_misc_irq_init()
3097 static void hclge_misc_irq_uninit(struct hclge_dev *hdev) in hclge_misc_irq_uninit()
3103 int hclge_notify_client(struct hclge_dev *hdev, in hclge_notify_client()
3130 static int hclge_notify_roce_client(struct hclge_dev *hdev, in hclge_notify_roce_client()
3158 static int hclge_reset_wait(struct hclge_dev *hdev) in hclge_reset_wait()
3217 static int hclge_set_vf_rst(struct hclge_dev *hdev, int func_id, bool reset) in hclge_set_vf_rst()
3232 static int hclge_set_all_vf_rst(struct hclge_dev *hdev, bool reset) in hclge_set_all_vf_rst()
3266 static int hclge_func_reset_sync_vf(struct hclge_dev *hdev) in hclge_func_reset_sync_vf()
3299 void hclge_report_hw_error(struct hclge_dev *hdev, in hclge_report_hw_error()
3313 static void hclge_handle_imp_error(struct hclge_dev *hdev) in hclge_handle_imp_error()
3331 int hclge_func_reset_cmd(struct hclge_dev *hdev, int func_id) in hclge_func_reset_cmd()
3349 static void hclge_do_reset(struct hclge_dev *hdev) in hclge_do_reset()
3393 struct hclge_dev *hdev = ae_dev->priv; in hclge_get_reset_level() local
3437 static void hclge_clear_reset_cause(struct hclge_dev *hdev) in hclge_clear_reset_cause()
3465 static int hclge_reset_prepare_down(struct hclge_dev *hdev) in hclge_reset_prepare_down()
3482 static void hclge_reset_handshake(struct hclge_dev *hdev, bool enable) in hclge_reset_handshake()
3495 static int hclge_reset_prepare_wait(struct hclge_dev *hdev) in hclge_reset_prepare_wait()
3554 static bool hclge_reset_err_handle(struct hclge_dev *hdev) in hclge_reset_err_handle()
3586 static int hclge_set_rst_done(struct hclge_dev *hdev) in hclge_set_rst_done()
3614 static int hclge_reset_prepare_up(struct hclge_dev *hdev) in hclge_reset_prepare_up()
3639 static int hclge_reset_stack(struct hclge_dev *hdev) in hclge_reset_stack()
3658 static void hclge_reset(struct hclge_dev *hdev) in hclge_reset()
3758 struct hclge_dev *hdev = ae_dev->priv; in hclge_reset_event() local
3803 struct hclge_dev *hdev = ae_dev->priv; in hclge_set_def_reset_request() local
3810 struct hclge_dev *hdev = from_timer(hdev, t, reset_timer); in hclge_reset_timer() local
3823 static void hclge_reset_subtask(struct hclge_dev *hdev) in hclge_reset_subtask()
3851 struct hclge_dev *hdev = in hclge_reset_service_task() local
3866 struct hclge_dev *hdev = in hclge_mailbox_service_task() local
3879 static void hclge_update_vport_alive(struct hclge_dev *hdev) in hclge_update_vport_alive()
3898 struct hclge_dev *hdev = in hclge_service_task() local
3936 struct hclge_dev *hdev = vport->back; in hclge_get_vector() local
3968 static int hclge_get_vector_index(struct hclge_dev *hdev, int vector) in hclge_get_vector_index()
3982 struct hclge_dev *hdev = vport->back; in hclge_put_vector() local
4007 static int hclge_set_rss_algo_key(struct hclge_dev *hdev, in hclge_set_rss_algo_key()
4044 static int hclge_set_rss_indir_table(struct hclge_dev *hdev, const u8 *indir) in hclge_set_rss_indir_table()
4076 static int hclge_set_rss_tc_mode(struct hclge_dev *hdev, u16 *tc_valid, in hclge_set_rss_tc_mode()
4123 static int hclge_set_rss_input_tuple(struct hclge_dev *hdev) in hclge_set_rss_input_tuple()
4187 struct hclge_dev *hdev = vport->back; in hclge_set_rss() local
4253 struct hclge_dev *hdev = vport->back; in hclge_set_rss_tuple() local
4381 struct hclge_dev *hdev = vport->back; in hclge_get_tc_size() local
4386 int hclge_rss_init_hw(struct hclge_dev *hdev) in hclge_rss_init_hw()
4440 void hclge_rss_indir_init_cfg(struct hclge_dev *hdev) in hclge_rss_indir_init_cfg()
4452 static void hclge_rss_init_cfg(struct hclge_dev *hdev) in hclge_rss_init_cfg()
4491 struct hclge_dev *hdev = vport->back; in hclge_bind_ring_with_vector() local
4557 struct hclge_dev *hdev = vport->back; in hclge_map_ring_to_vector() local
4574 struct hclge_dev *hdev = vport->back; in hclge_unmap_ring_frm_vector() local
4596 int hclge_cmd_set_promisc_mode(struct hclge_dev *hdev, in hclge_cmd_set_promisc_mode()
4644 struct hclge_dev *hdev = vport->back; in hclge_set_promisc_mode() local
4660 static int hclge_get_fd_mode(struct hclge_dev *hdev, u8 *fd_mode) in hclge_get_fd_mode()
4681 static int hclge_get_fd_allocation(struct hclge_dev *hdev, in hclge_get_fd_allocation()
4710 static int hclge_set_fd_key_config(struct hclge_dev *hdev, int stage_num) in hclge_set_fd_key_config()
4737 static int hclge_init_fd_config(struct hclge_dev *hdev) in hclge_init_fd_config()
4802 static int hclge_fd_tcam_config(struct hclge_dev *hdev, u8 stage, bool sel_x, in hclge_fd_tcam_config()
4844 static int hclge_fd_ad_config(struct hclge_dev *hdev, u8 stage, int loc, in hclge_fd_ad_config()
5047 static int hclge_config_key(struct hclge_dev *hdev, u8 stage, in hclge_config_key()
5103 static int hclge_config_action(struct hclge_dev *hdev, u8 stage, in hclge_config_action()
5132 static int hclge_fd_check_spec(struct hclge_dev *hdev, in hclge_fd_check_spec()
5298 static bool hclge_fd_rule_exist(struct hclge_dev *hdev, u16 location) in hclge_fd_rule_exist()
5315 static int hclge_fd_update_rule_list(struct hclge_dev *hdev, in hclge_fd_update_rule_list()
5366 static int hclge_fd_get_tuple(struct hclge_dev *hdev, in hclge_fd_get_tuple()
5520 static int hclge_fd_config_rule(struct hclge_dev *hdev, in hclge_fd_config_rule()
5553 struct hclge_dev *hdev = vport->back; in hclge_add_fd_entry() local
5642 struct hclge_dev *hdev = vport->back; in hclge_del_fd_entry() local
5677 struct hclge_dev *hdev = vport->back; in hclge_del_all_fd_entries() local
5709 struct hclge_dev *hdev = vport->back; in hclge_restore_fd_entries() local
5754 struct hclge_dev *hdev = vport->back; in hclge_get_fd_rule_cnt() local
5770 struct hclge_dev *hdev = vport->back; in hclge_get_fd_rule_info() local
5974 struct hclge_dev *hdev = vport->back; in hclge_get_all_rules() local
6025 hclge_fd_search_flow_keys(struct hclge_dev *hdev, in hclge_fd_search_flow_keys()
6068 struct hclge_dev *hdev = vport->back; in hclge_add_fd_entry_by_arfs() local
6143 static void hclge_rfs_filter_expire(struct hclge_dev *hdev) in hclge_rfs_filter_expire()
6179 struct hclge_dev *hdev = vport->back; in hclge_clear_arfs_rules() local
6189 struct hclge_dev *hdev = vport->back; in hclge_get_hw_reset_stat() local
6198 struct hclge_dev *hdev = vport->back; in hclge_ae_dev_resetting() local
6206 struct hclge_dev *hdev = vport->back; in hclge_ae_dev_reset_cnt() local
6214 struct hclge_dev *hdev = vport->back; in hclge_enable_fd() local
6225 static void hclge_cfg_mac_mode(struct hclge_dev *hdev, bool enable) in hclge_cfg_mac_mode()
6256 static int hclge_config_switch_param(struct hclge_dev *hdev, int vfid, in hclge_config_switch_param()
6292 static void hclge_phy_link_status_wait(struct hclge_dev *hdev, in hclge_phy_link_status_wait()
6316 static int hclge_mac_link_status_wait(struct hclge_dev *hdev, int link_ret) in hclge_mac_link_status_wait()
6335 static int hclge_mac_phy_link_status_wait(struct hclge_dev *hdev, bool en, in hclge_mac_phy_link_status_wait()
6351 static int hclge_set_app_loopback(struct hclge_dev *hdev, bool en) in hclge_set_app_loopback()
6387 static int hclge_cfg_serdes_loopback(struct hclge_dev *hdev, bool en, in hclge_cfg_serdes_loopback()
6451 static int hclge_set_serdes_loopback(struct hclge_dev *hdev, bool en, in hclge_set_serdes_loopback()
6470 static int hclge_enable_phy_loopback(struct hclge_dev *hdev, in hclge_enable_phy_loopback()
6488 static int hclge_disable_phy_loopback(struct hclge_dev *hdev, in hclge_disable_phy_loopback()
6500 static int hclge_set_phy_loopback(struct hclge_dev *hdev, bool en) in hclge_set_phy_loopback()
6528 static int hclge_tqp_enable(struct hclge_dev *hdev, unsigned int tqp_id, in hclge_tqp_enable()
6554 struct hclge_dev *hdev = vport->back; in hclge_set_loopback() local
6602 static int hclge_set_default_loopback(struct hclge_dev *hdev) in hclge_set_default_loopback()
6637 struct hclge_dev *hdev = vport->back; in hclge_set_timer_task() local
6654 struct hclge_dev *hdev = vport->back; in hclge_ae_start() local
6672 struct hclge_dev *hdev = vport->back; in hclge_ae_stop() local
6734 struct hclge_dev *hdev = vport->back; in hclge_get_mac_vlan_cmd_status() local
6858 struct hclge_dev *hdev = vport->back; in hclge_remove_mac_vlan_tbl() local
6887 struct hclge_dev *hdev = vport->back; in hclge_lookup_mac_vlan_tbl() local
6929 struct hclge_dev *hdev = vport->back; in hclge_add_mac_vlan_tbl() local
6978 static int hclge_init_umv_space(struct hclge_dev *hdev) in hclge_init_umv_space()
7006 static int hclge_uninit_umv_space(struct hclge_dev *hdev) in hclge_uninit_umv_space()
7022 static int hclge_set_umv_space(struct hclge_dev *hdev, u16 space_size, in hclge_set_umv_space()
7050 static void hclge_reset_umv_space(struct hclge_dev *hdev) in hclge_reset_umv_space()
7068 struct hclge_dev *hdev = vport->back; in hclge_is_umv_space_full() local
7081 struct hclge_dev *hdev = vport->back; in hclge_update_umv_space() local
7110 struct hclge_dev *hdev = vport->back; in hclge_add_uc_addr_common() local
7181 struct hclge_dev *hdev = vport->back; in hclge_rm_uc_addr_common() local
7215 struct hclge_dev *hdev = vport->back; in hclge_add_mc_addr_common() local
7259 struct hclge_dev *hdev = vport->back; in hclge_rm_mc_addr_common() local
7377 void hclge_uninit_vport_mac_table(struct hclge_dev *hdev) in hclge_uninit_vport_mac_table()
7399 static int hclge_get_mac_ethertype_cmd_status(struct hclge_dev *hdev, in hclge_get_mac_ethertype_cmd_status()
7441 static int hclge_add_mgr_tbl(struct hclge_dev *hdev, in hclge_add_mgr_tbl()
7466 static int init_mgr_tbl(struct hclge_dev *hdev) in init_mgr_tbl()
7487 struct hclge_dev *hdev = vport->back; in hclge_get_mac_addr() local
7497 struct hclge_dev *hdev = vport->back; in hclge_set_mac_addr() local
7546 struct hclge_dev *hdev = vport->back; in hclge_do_ioctl() local
7554 static int hclge_set_vlan_filter_ctrl(struct hclge_dev *hdev, u8 vlan_type, in hclge_set_vlan_filter_ctrl()
7591 struct hclge_dev *hdev = vport->back; in hclge_enable_vlan_filter() local
7609 static int hclge_set_vf_vlan_common(struct hclge_dev *hdev, u16 vfid, in hclge_set_vf_vlan_common()
7692 static int hclge_set_port_vlan_filter(struct hclge_dev *hdev, __be16 proto, in hclge_set_port_vlan_filter()
7720 static int hclge_set_vlan_filter_hw(struct hclge_dev *hdev, __be16 proto, in hclge_set_vlan_filter_hw()
7773 struct hclge_dev *hdev = vport->back; in hclge_set_vlan_tx_offload_cfg() local
7816 struct hclge_dev *hdev = vport->back; in hclge_set_vlan_rx_offload_cfg() local
7894 static int hclge_set_vlan_protocol_type(struct hclge_dev *hdev) in hclge_set_vlan_protocol_type()
7935 static int hclge_init_vlan_config(struct hclge_dev *hdev) in hclge_init_vlan_config()
8017 struct hclge_dev *hdev = vport->back; in hclge_add_vport_all_vlan_table() local
8042 struct hclge_dev *hdev = vport->back; in hclge_rm_vport_vlan_table() local
8063 struct hclge_dev *hdev = vport->back; in hclge_rm_vport_all_vlan_table() local
8081 void hclge_uninit_vport_vlan_table(struct hclge_dev *hdev) in hclge_uninit_vport_vlan_table()
8102 struct hclge_dev *hdev = vport->back; in hclge_restore_vlan_table() local
8157 struct hclge_dev *hdev = vport->back; in hclge_update_vlan_filter_entries() local
8183 struct hclge_dev *hdev = vport->back; in hclge_update_port_base_vlan_cfg() local
8257 struct hclge_dev *hdev = vport->back; in hclge_set_vf_vlan_filter() local
8307 struct hclge_dev *hdev = vport->back; in hclge_set_vlan_filter() local
8348 static void hclge_sync_vlan_filter(struct hclge_dev *hdev) in hclge_sync_vlan_filter()
8381 static int hclge_set_mac_mtu(struct hclge_dev *hdev, int new_mps) in hclge_set_mac_mtu()
8404 struct hclge_dev *hdev = vport->back; in hclge_set_vport_mtu() local
8454 static int hclge_send_reset_tqp_cmd(struct hclge_dev *hdev, u16 queue_id, in hclge_send_reset_tqp_cmd()
8478 static int hclge_get_reset_status(struct hclge_dev *hdev, u16 queue_id) in hclge_get_reset_status()
8513 struct hclge_dev *hdev = vport->back; in hclge_reset_tqp() local
8558 struct hclge_dev *hdev = vport->back; in hclge_reset_vf_queue() local
8596 struct hclge_dev *hdev = vport->back; in hclge_get_fw_version() local
8601 static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_set_flowctrl_adv()
8611 static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_cfg_pauseparam()
8626 int hclge_cfg_flowctrl(struct hclge_dev *hdev) in hclge_cfg_flowctrl()
8662 struct hclge_dev *hdev = vport->back; in hclge_get_pauseparam() local
8688 static void hclge_record_user_pauseparam(struct hclge_dev *hdev, in hclge_record_user_pauseparam()
8707 struct hclge_dev *hdev = vport->back; in hclge_set_pauseparam() local
8743 struct hclge_dev *hdev = vport->back; in hclge_get_ksettings_an_result() local
8757 struct hclge_dev *hdev = vport->back; in hclge_get_media_type() local
8770 struct hclge_dev *hdev = vport->back; in hclge_get_mdix_mode() local
8816 static void hclge_info_show(struct hclge_dev *hdev) in hclge_info_show()
8846 struct hclge_dev *hdev = ae_dev->priv; in hclge_init_nic_client_instance() local
8891 struct hclge_dev *hdev = ae_dev->priv; in hclge_init_roce_client_instance() local
8941 struct hclge_dev *hdev = ae_dev->priv; in hclge_init_client_instance() local
8993 struct hclge_dev *hdev = ae_dev->priv; in hclge_uninit_client_instance() local
9023 static int hclge_pci_init(struct hclge_dev *hdev) in hclge_pci_init()
9073 static void hclge_pci_uninit(struct hclge_dev *hdev) in hclge_pci_uninit()
9084 static void hclge_state_init(struct hclge_dev *hdev) in hclge_state_init()
9094 static void hclge_state_uninit(struct hclge_dev *hdev) in hclge_state_uninit()
9113 struct hclge_dev *hdev = ae_dev->priv; in hclge_flr_prepare() local
9132 struct hclge_dev *hdev = ae_dev->priv; in hclge_flr_done() local
9137 static void hclge_clear_resetting_state(struct hclge_dev *hdev) in hclge_clear_resetting_state()
9157 struct hclge_dev *hdev; in hclge_init_ae_dev() local
9364 static void hclge_stats_clear(struct hclge_dev *hdev) in hclge_stats_clear()
9369 static void hclge_reset_vport_state(struct hclge_dev *hdev) in hclge_reset_vport_state()
9382 struct hclge_dev *hdev = ae_dev->priv; in hclge_reset_ae_dev() local
9477 struct hclge_dev *hdev = ae_dev->priv; in hclge_uninit_ae_dev() local
9511 struct hclge_dev *hdev = vport->back; in hclge_get_max_channels() local
9530 struct hclge_dev *hdev = vport->back; in hclge_get_tqps_and_rss_info() local
9542 struct hclge_dev *hdev = vport->back; in hclge_set_channels() local
9606 static int hclge_get_regs_num(struct hclge_dev *hdev, u32 *regs_num_32_bit, in hclge_get_regs_num()
9631 static int hclge_get_32_bit_regs(struct hclge_dev *hdev, u32 regs_num, in hclge_get_32_bit_regs()
9685 static int hclge_get_64_bit_regs(struct hclge_dev *hdev, u32 regs_num, in hclge_get_64_bit_regs()
9747 int hclge_query_bd_num_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc) in hclge_query_bd_num_cmd_send()
9761 static int hclge_get_dfx_reg_bd_num(struct hclge_dev *hdev, in hclge_get_dfx_reg_bd_num()
9789 static int hclge_dfx_reg_cmd_send(struct hclge_dev *hdev, in hclge_dfx_reg_cmd_send()
9834 static int hclge_get_dfx_reg_len(struct hclge_dev *hdev, int *len) in hclge_get_dfx_reg_len()
9859 static int hclge_get_dfx_reg(struct hclge_dev *hdev, void *data) in hclge_get_dfx_reg()
9903 static int hclge_fetch_pf_reg(struct hclge_dev *hdev, void *data, in hclge_fetch_pf_reg()
9962 struct hclge_dev *hdev = vport->back; in hclge_get_regs_len() local
10004 struct hclge_dev *hdev = vport->back; in hclge_get_regs() local
10050 static int hclge_set_led_status(struct hclge_dev *hdev, u8 locate_led_status) in hclge_set_led_status()
10080 struct hclge_dev *hdev = vport->back; in hclge_set_led_id() local
10098 struct hclge_dev *hdev = vport->back; in hclge_get_link_mode() local
10110 struct hclge_dev *hdev = vport->back; in hclge_gro_en() local