Lines Matching defs:hdev
34 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_tqps_update_stats() local
80 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_tqps_get_stats() local
99 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_tqps_get_sset_count() local
106 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_tqps_get_strings() local
132 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_update_stats() local
166 static int hclgevf_get_tc_info(struct hclgevf_dev *hdev) in hclgevf_get_tc_info()
185 static int hclge_get_queue_info(struct hclgevf_dev *hdev) in hclge_get_queue_info()
209 static int hclgevf_alloc_tqps(struct hclgevf_dev *hdev) in hclgevf_alloc_tqps()
243 static int hclgevf_knic_setup(struct hclgevf_dev *hdev) in hclgevf_knic_setup()
283 static void hclgevf_request_link_info(struct hclgevf_dev *hdev) in hclgevf_request_link_info()
295 void hclgevf_update_link_status(struct hclgevf_dev *hdev, int link_state) in hclgevf_update_link_status()
308 static int hclgevf_set_handle_info(struct hclgevf_dev *hdev) in hclgevf_set_handle_info()
331 static void hclgevf_free_vector(struct hclgevf_dev *hdev, int vector_id) in hclgevf_free_vector()
347 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_vector() local
377 static int hclgevf_get_vector_index(struct hclgevf_dev *hdev, int vector) in hclgevf_get_vector_index()
398 static int hclgevf_set_rss_indir_table(struct hclgevf_dev *hdev) in hclgevf_set_rss_indir_table()
429 static int hclgevf_set_rss_tc_mode(struct hclgevf_dev *hdev, u16 rss_size) in hclgevf_set_rss_tc_mode()
471 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_rss_hw_cfg() local
521 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_rss() local
535 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_rss() local
549 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_tc_size() local
559 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_bind_ring_to_vector() local
620 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_map_ring_to_vector() local
638 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_unmap_ring_from_vector() local
660 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_put_vector() local
676 static int hclgevf_cmd_set_promisc_mode(struct hclgevf_dev *hdev, in hclgevf_cmd_set_promisc_mode()
701 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_promisc_mode() local
706 static int hclgevf_tqp_enable(struct hclgevf_dev *hdev, int tqp_id, in hclgevf_tqp_enable()
738 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_reset_tqp_stats() local
750 static int hclgevf_cfg_func_mta_type(struct hclgevf_dev *hdev) in hclgevf_cfg_func_mta_type()
776 static u16 hclgevf_get_mac_addr_to_mta_index(struct hclgevf_dev *hdev, in hclgevf_get_mac_addr_to_mta_index()
785 static int hclgevf_do_update_mta_status(struct hclgevf_dev *hdev, in hclgevf_do_update_mta_status()
853 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_update_mta_status() local
872 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_mac_addr() local
880 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_mac_addr() local
905 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_add_uc_addr() local
915 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_rm_uc_addr() local
925 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_add_mc_addr() local
935 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_rm_mc_addr() local
947 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_vlan_filter() local
966 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_en_hw_strip_rxvtag() local
977 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_reset_tqp() local
992 static int hclgevf_notify_client(struct hclgevf_dev *hdev, in hclgevf_notify_client()
1004 static int hclgevf_reset_wait(struct hclgevf_dev *hdev) in hclgevf_reset_wait()
1035 static int hclgevf_reset_stack(struct hclgevf_dev *hdev) in hclgevf_reset_stack()
1056 static int hclgevf_reset(struct hclgevf_dev *hdev) in hclgevf_reset()
1095 static int hclgevf_do_reset(struct hclgevf_dev *hdev) in hclgevf_do_reset()
1111 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_reset_event() local
1126 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_fw_version() local
1131 static void hclgevf_get_misc_vector(struct hclgevf_dev *hdev) in hclgevf_get_misc_vector()
1146 void hclgevf_reset_task_schedule(struct hclgevf_dev *hdev) in hclgevf_reset_task_schedule()
1155 void hclgevf_mbx_task_schedule(struct hclgevf_dev *hdev) in hclgevf_mbx_task_schedule()
1164 static void hclgevf_task_schedule(struct hclgevf_dev *hdev) in hclgevf_task_schedule()
1171 static void hclgevf_deferred_task_schedule(struct hclgevf_dev *hdev) in hclgevf_deferred_task_schedule()
1183 struct hclgevf_dev *hdev = from_timer(hdev, t, service_timer); in hclgevf_service_timer() local
1192 struct hclgevf_dev *hdev = in hclgevf_reset_service_task() local
1261 struct hclgevf_dev *hdev; in hclgevf_mailbox_service_task() local
1277 struct hclgevf_dev *hdev; in hclgevf_service_task() local
1291 static void hclgevf_clear_event_cause(struct hclgevf_dev *hdev, u32 regclr) in hclgevf_clear_event_cause()
1296 static bool hclgevf_check_event_cause(struct hclgevf_dev *hdev, u32 *clearval) in hclgevf_check_event_cause()
1323 struct hclgevf_dev *hdev = data; in hclgevf_misc_irq_handle() local
1340 static int hclgevf_configure(struct hclgevf_dev *hdev) in hclgevf_configure()
1355 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_alloc_hdev() local
1368 static int hclgevf_init_roce_base_info(struct hclgevf_dev *hdev) in hclgevf_init_roce_base_info()
1391 static int hclgevf_rss_init_hw(struct hclgevf_dev *hdev) in hclgevf_rss_init_hw()
1409 static int hclgevf_init_vlan_config(struct hclgevf_dev *hdev) in hclgevf_init_vlan_config()
1420 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_start() local
1448 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_stop() local
1471 static void hclgevf_state_init(struct hclgevf_dev *hdev) in hclgevf_state_init()
1496 static void hclgevf_state_uninit(struct hclgevf_dev *hdev) in hclgevf_state_uninit()
1512 static int hclgevf_init_msi(struct hclgevf_dev *hdev) in hclgevf_init_msi()
1567 static void hclgevf_uninit_msi(struct hclgevf_dev *hdev) in hclgevf_uninit_msi()
1574 static int hclgevf_misc_irq_init(struct hclgevf_dev *hdev) in hclgevf_misc_irq_init()
1600 static void hclgevf_misc_irq_uninit(struct hclgevf_dev *hdev) in hclgevf_misc_irq_uninit()
1612 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_init_client_instance() local
1666 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_uninit_client_instance() local
1678 static int hclgevf_pci_init(struct hclgevf_dev *hdev) in hclgevf_pci_init()
1731 static void hclgevf_pci_uninit(struct hclgevf_dev *hdev) in hclgevf_pci_uninit()
1741 static int hclgevf_query_vf_resource(struct hclgevf_dev *hdev) in hclgevf_query_vf_resource()
1780 static int hclgevf_init_hdev(struct hclgevf_dev *hdev) in hclgevf_init_hdev()
1881 static void hclgevf_uninit_hdev(struct hclgevf_dev *hdev) in hclgevf_uninit_hdev()
1910 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_uninit_ae_dev() local
1916 static u32 hclgevf_get_max_channels(struct hclgevf_dev *hdev) in hclgevf_get_max_channels()
1937 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_channels() local
1948 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_tqps_and_rss_info() local
1956 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_status() local
1965 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_ksettings_an_result() local
1975 void hclgevf_update_speed_duplex(struct hclgevf_dev *hdev, u32 speed, in hclgevf_update_speed_duplex()