Lines Matching defs:hdev

108 	struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);  in hclgevf_tqps_update_stats()  local
203 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_update_stats() local
247 static int hclgevf_get_basic_info(struct hclgevf_dev *hdev) in hclgevf_get_basic_info()
276 static int hclgevf_get_port_base_vlan_filter_state(struct hclgevf_dev *hdev) in hclgevf_get_port_base_vlan_filter_state()
299 static int hclgevf_get_queue_info(struct hclgevf_dev *hdev) in hclgevf_get_queue_info()
330 static int hclgevf_get_queue_depth(struct hclgevf_dev *hdev) in hclgevf_get_queue_depth()
360 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_qid_global() local
376 static int hclgevf_get_pf_media_type(struct hclgevf_dev *hdev) in hclgevf_get_pf_media_type()
398 static int hclgevf_alloc_tqps(struct hclgevf_dev *hdev) in hclgevf_alloc_tqps()
439 static int hclgevf_knic_setup(struct hclgevf_dev *hdev) in hclgevf_knic_setup()
482 static void hclgevf_request_link_info(struct hclgevf_dev *hdev) in hclgevf_request_link_info()
494 void hclgevf_update_link_status(struct hclgevf_dev *hdev, int link_state) in hclgevf_update_link_status()
519 static void hclgevf_update_link_mode(struct hclgevf_dev *hdev) in hclgevf_update_link_mode()
533 static int hclgevf_set_handle_info(struct hclgevf_dev *hdev) in hclgevf_set_handle_info()
551 static void hclgevf_free_vector(struct hclgevf_dev *hdev, int vector_id) in hclgevf_free_vector()
567 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_vector() local
598 static int hclgevf_get_vector_index(struct hclgevf_dev *hdev, int vector) in hclgevf_get_vector_index()
609 static int hclgevf_set_rss_algo_key(struct hclgevf_dev *hdev, in hclgevf_set_rss_algo_key()
654 static int hclgevf_set_rss_indir_table(struct hclgevf_dev *hdev) in hclgevf_set_rss_indir_table()
689 static int hclgevf_set_rss_tc_mode(struct hclgevf_dev *hdev, u16 rss_size) in hclgevf_set_rss_tc_mode()
736 static int hclgevf_get_rss_hash_key(struct hclgevf_dev *hdev) in hclgevf_get_rss_hash_key()
776 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_rss() local
819 static int hclgevf_parse_rss_hfunc(struct hclgevf_dev *hdev, const u8 hfunc, in hclgevf_parse_rss_hfunc()
840 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_rss() local
908 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_init_rss_tuple_cmd() local
961 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_rss_tuple() local
1002 static int hclgevf_get_rss_tuple_by_flow_type(struct hclgevf_dev *hdev, in hclgevf_get_rss_tuple_by_flow_type()
1054 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_rss_tuple() local
1073 static int hclgevf_set_rss_input_tuple(struct hclgevf_dev *hdev, in hclgevf_set_rss_input_tuple()
1102 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_tc_size() local
1112 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_bind_ring_to_vector() local
1155 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_map_ring_to_vector() local
1173 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_unmap_ring_from_vector() local
1198 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_put_vector() local
1214 static int hclgevf_cmd_set_promisc_mode(struct hclgevf_dev *hdev, in hclgevf_cmd_set_promisc_mode()
1241 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_promisc_mode() local
1252 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_request_update_promisc_mode() local
1258 static void hclgevf_sync_promisc_mode(struct hclgevf_dev *hdev) in hclgevf_sync_promisc_mode()
1272 static int hclgevf_tqp_enable_cmd_send(struct hclgevf_dev *hdev, u16 tqp_id, in hclgevf_tqp_enable_cmd_send()
1292 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_tqp_enable() local
1317 static int hclgevf_get_host_mac_addr(struct hclgevf_dev *hdev, u8 *p) in hclgevf_get_host_mac_addr()
1339 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_mac_addr() local
1355 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_mac_addr() local
1420 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_update_mac_list() local
1487 static int hclgevf_add_del_mac_addr(struct hclgevf_dev *hdev, in hclgevf_add_del_mac_addr()
1513 static void hclgevf_config_mac_list(struct hclgevf_dev *hdev, in hclgevf_config_mac_list()
1597 static void hclgevf_sync_mac_list(struct hclgevf_dev *hdev, in hclgevf_sync_mac_list()
1652 static void hclgevf_sync_mac_table(struct hclgevf_dev *hdev) in hclgevf_sync_mac_table()
1658 static void hclgevf_uninit_mac_list(struct hclgevf_dev *hdev) in hclgevf_uninit_mac_list()
1670 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_enable_vlan_filter() local
1692 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_vlan_filter() local
1730 static void hclgevf_sync_vlan_filter(struct hclgevf_dev *hdev) in hclgevf_sync_vlan_filter()
1755 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_en_hw_strip_rxvtag() local
1767 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_reset_tqp() local
1801 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_mtu() local
1809 static int hclgevf_notify_client(struct hclgevf_dev *hdev, in hclgevf_notify_client()
1831 static int hclgevf_notify_roce_client(struct hclgevf_dev *hdev, in hclgevf_notify_roce_client()
1851 static int hclgevf_reset_wait(struct hclgevf_dev *hdev) in hclgevf_reset_wait()
1890 static void hclgevf_reset_handshake(struct hclgevf_dev *hdev, bool enable) in hclgevf_reset_handshake()
1904 static int hclgevf_reset_stack(struct hclgevf_dev *hdev) in hclgevf_reset_stack()
1933 static int hclgevf_reset_prepare_wait(struct hclgevf_dev *hdev) in hclgevf_reset_prepare_wait()
1961 static void hclgevf_dump_rst_info(struct hclgevf_dev *hdev) in hclgevf_dump_rst_info()
1988 static void hclgevf_reset_err_handle(struct hclgevf_dev *hdev) in hclgevf_reset_err_handle()
2008 static int hclgevf_reset_prepare(struct hclgevf_dev *hdev) in hclgevf_reset_prepare()
2029 static int hclgevf_reset_rebuild(struct hclgevf_dev *hdev) in hclgevf_reset_rebuild()
2067 static void hclgevf_reset(struct hclgevf_dev *hdev) in hclgevf_reset()
2091 static enum hnae3_reset_type hclgevf_get_reset_level(struct hclgevf_dev *hdev, in hclgevf_get_reset_level()
2125 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_reset_event() local
2146 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_set_def_reset_request() local
2162 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_reset_prepare_general() local
2195 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_reset_done() local
2212 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_fw_version() local
2217 static void hclgevf_get_misc_vector(struct hclgevf_dev *hdev) in hclgevf_get_misc_vector()
2232 void hclgevf_reset_task_schedule(struct hclgevf_dev *hdev) in hclgevf_reset_task_schedule()
2241 void hclgevf_mbx_task_schedule(struct hclgevf_dev *hdev) in hclgevf_mbx_task_schedule()
2249 static void hclgevf_task_schedule(struct hclgevf_dev *hdev, in hclgevf_task_schedule()
2257 static void hclgevf_reset_service_task(struct hclgevf_dev *hdev) in hclgevf_reset_service_task()
2326 static void hclgevf_mailbox_service_task(struct hclgevf_dev *hdev) in hclgevf_mailbox_service_task()
2339 static void hclgevf_keep_alive(struct hclgevf_dev *hdev) in hclgevf_keep_alive()
2354 static void hclgevf_periodic_service_task(struct hclgevf_dev *hdev) in hclgevf_periodic_service_task()
2405 struct hclgevf_dev *hdev = container_of(work, struct hclgevf_dev, in hclgevf_service_task() local
2420 static void hclgevf_clear_event_cause(struct hclgevf_dev *hdev, u32 regclr) in hclgevf_clear_event_cause()
2425 static enum hclgevf_evt_cause hclgevf_check_evt_cause(struct hclgevf_dev *hdev, in hclgevf_check_evt_cause()
2480 struct hclgevf_dev *hdev = data; in hclgevf_misc_irq_handle() local
2505 static int hclgevf_configure(struct hclgevf_dev *hdev) in hclgevf_configure()
2536 struct hclgevf_dev *hdev; in hclgevf_alloc_hdev() local
2549 static int hclgevf_init_roce_base_info(struct hclgevf_dev *hdev) in hclgevf_init_roce_base_info()
2573 static int hclgevf_config_gro(struct hclgevf_dev *hdev) in hclgevf_config_gro()
2596 static int hclgevf_rss_init_cfg(struct hclgevf_dev *hdev) in hclgevf_rss_init_cfg()
2640 static int hclgevf_rss_init_hw(struct hclgevf_dev *hdev) in hclgevf_rss_init_hw()
2663 static int hclgevf_init_vlan_config(struct hclgevf_dev *hdev) in hclgevf_init_vlan_config()
2679 static void hclgevf_flush_link_update(struct hclgevf_dev *hdev) in hclgevf_flush_link_update()
2694 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_timer_task() local
2709 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_start() local
2725 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_stop() local
2741 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_alive() local
2757 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_client_stop() local
2766 static void hclgevf_state_init(struct hclgevf_dev *hdev) in hclgevf_state_init()
2785 static void hclgevf_state_uninit(struct hclgevf_dev *hdev) in hclgevf_state_uninit()
2796 static int hclgevf_init_msi(struct hclgevf_dev *hdev) in hclgevf_init_msi()
2850 static void hclgevf_uninit_msi(struct hclgevf_dev *hdev) in hclgevf_uninit_msi()
2859 static int hclgevf_misc_irq_init(struct hclgevf_dev *hdev) in hclgevf_misc_irq_init()
2883 static void hclgevf_misc_irq_uninit(struct hclgevf_dev *hdev) in hclgevf_misc_irq_uninit()
2892 static void hclgevf_info_show(struct hclgevf_dev *hdev) in hclgevf_info_show()
2912 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_init_nic_client_instance() local
2940 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_init_roce_client_instance() local
2964 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_init_client_instance() local
3012 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_uninit_client_instance() local
3033 static int hclgevf_dev_mem_map(struct hclgevf_dev *hdev) in hclgevf_dev_mem_map()
3056 static int hclgevf_pci_init(struct hclgevf_dev *hdev) in hclgevf_pci_init()
3107 static void hclgevf_pci_uninit(struct hclgevf_dev *hdev) in hclgevf_pci_uninit()
3120 static int hclgevf_query_vf_resource(struct hclgevf_dev *hdev) in hclgevf_query_vf_resource()
3171 static void hclgevf_set_default_dev_specs(struct hclgevf_dev *hdev) in hclgevf_set_default_dev_specs()
3185 static void hclgevf_parse_dev_specs(struct hclgevf_dev *hdev, in hclgevf_parse_dev_specs()
3204 static void hclgevf_check_dev_specs(struct hclgevf_dev *hdev) in hclgevf_check_dev_specs()
3220 static int hclgevf_query_dev_specs(struct hclgevf_dev *hdev) in hclgevf_query_dev_specs()
3252 static int hclgevf_pci_reset(struct hclgevf_dev *hdev) in hclgevf_pci_reset()
3287 static int hclgevf_clear_vport_list(struct hclgevf_dev *hdev) in hclgevf_clear_vport_list()
3296 static void hclgevf_init_rxd_adv_layout(struct hclgevf_dev *hdev) in hclgevf_init_rxd_adv_layout()
3302 static void hclgevf_uninit_rxd_adv_layout(struct hclgevf_dev *hdev) in hclgevf_uninit_rxd_adv_layout()
3308 static int hclgevf_reset_hdev(struct hclgevf_dev *hdev) in hclgevf_reset_hdev()
3352 static int hclgevf_init_hdev(struct hclgevf_dev *hdev) in hclgevf_init_hdev()
3478 static void hclgevf_uninit_hdev(struct hclgevf_dev *hdev) in hclgevf_uninit_hdev()
3521 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_uninit_ae_dev() local
3527 static u32 hclgevf_get_max_channels(struct hclgevf_dev *hdev) in hclgevf_get_max_channels()
3549 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_channels() local
3560 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_tqps_and_rss_info() local
3570 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_update_rss_size() local
3594 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_channels() local
3642 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_status() local
3651 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_ksettings_an_result() local
3661 void hclgevf_update_speed_duplex(struct hclgevf_dev *hdev, u32 speed, in hclgevf_update_speed_duplex()
3670 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_gro_en() local
3685 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_media_type() local
3696 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_hw_reset_stat() local
3703 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_cmdq_stat() local
3710 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_dev_resetting() local
3717 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_dev_reset_cnt() local
3726 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_link_mode() local
3740 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_regs_len() local
3754 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_regs() local
3798 void hclgevf_update_port_base_vlan_info(struct hclgevf_dev *hdev, u16 state, in hclgevf_update_port_base_vlan_info()