Lines Matching defs:hdev

101 	struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);  in hclgevf_tqps_update_stats()  local
196 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_update_stats() local
230 static int hclgevf_get_tc_info(struct hclgevf_dev *hdev) in hclgevf_get_tc_info()
249 static int hclgevf_get_port_base_vlan_filter_state(struct hclgevf_dev *hdev) in hclgevf_get_port_base_vlan_filter_state()
270 static int hclgevf_get_queue_info(struct hclgevf_dev *hdev) in hclgevf_get_queue_info()
293 static int hclgevf_get_queue_depth(struct hclgevf_dev *hdev) in hclgevf_get_queue_depth()
317 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_qid_global() local
333 static int hclgevf_get_pf_media_type(struct hclgevf_dev *hdev) in hclgevf_get_pf_media_type()
353 static int hclgevf_alloc_tqps(struct hclgevf_dev *hdev) in hclgevf_alloc_tqps()
382 static int hclgevf_knic_setup(struct hclgevf_dev *hdev) in hclgevf_knic_setup()
424 static void hclgevf_request_link_info(struct hclgevf_dev *hdev) in hclgevf_request_link_info()
436 void hclgevf_update_link_status(struct hclgevf_dev *hdev, int link_state) in hclgevf_update_link_status()
457 static void hclgevf_update_link_mode(struct hclgevf_dev *hdev) in hclgevf_update_link_mode()
474 static int hclgevf_set_handle_info(struct hclgevf_dev *hdev) in hclgevf_set_handle_info()
491 static void hclgevf_free_vector(struct hclgevf_dev *hdev, int vector_id) in hclgevf_free_vector()
507 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_vector() local
538 static int hclgevf_get_vector_index(struct hclgevf_dev *hdev, int vector) in hclgevf_get_vector_index()
549 static int hclgevf_set_rss_algo_key(struct hclgevf_dev *hdev, in hclgevf_set_rss_algo_key()
599 static int hclgevf_set_rss_indir_table(struct hclgevf_dev *hdev) in hclgevf_set_rss_indir_table()
630 static int hclgevf_set_rss_tc_mode(struct hclgevf_dev *hdev, u16 rss_size) in hclgevf_set_rss_tc_mode()
670 static int hclgevf_get_rss_hash_key(struct hclgevf_dev *hdev) in hclgevf_get_rss_hash_key()
710 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_rss() local
756 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_rss() local
825 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_rss_tuple() local
906 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_rss_tuple() local
957 static int hclgevf_set_rss_input_tuple(struct hclgevf_dev *hdev, in hclgevf_set_rss_input_tuple()
986 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_tc_size() local
996 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_bind_ring_to_vector() local
1056 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_map_ring_to_vector() local
1074 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_unmap_ring_from_vector() local
1099 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_put_vector() local
1115 static int hclgevf_cmd_set_promisc_mode(struct hclgevf_dev *hdev, in hclgevf_cmd_set_promisc_mode()
1136 static int hclgevf_set_promisc_mode(struct hclgevf_dev *hdev, bool en_bc_pmc) in hclgevf_set_promisc_mode()
1141 static int hclgevf_tqp_enable(struct hclgevf_dev *hdev, unsigned int tqp_id, in hclgevf_tqp_enable()
1179 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_mac_addr() local
1187 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_mac_addr() local
1212 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_add_uc_addr() local
1222 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_rm_uc_addr() local
1232 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_add_mc_addr() local
1242 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_rm_mc_addr() local
1254 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_vlan_filter() local
1290 static void hclgevf_sync_vlan_filter(struct hclgevf_dev *hdev) in hclgevf_sync_vlan_filter()
1315 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_en_hw_strip_rxvtag() local
1326 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_reset_tqp() local
1343 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_mtu() local
1349 static int hclgevf_notify_client(struct hclgevf_dev *hdev, in hclgevf_notify_client()
1373 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_flr_done() local
1378 static int hclgevf_flr_poll_timeout(struct hclgevf_dev *hdev, in hclgevf_flr_poll_timeout()
1397 static int hclgevf_reset_wait(struct hclgevf_dev *hdev) in hclgevf_reset_wait()
1440 static void hclgevf_reset_handshake(struct hclgevf_dev *hdev, bool enable) in hclgevf_reset_handshake()
1454 static int hclgevf_reset_stack(struct hclgevf_dev *hdev) in hclgevf_reset_stack()
1486 static int hclgevf_reset_prepare_wait(struct hclgevf_dev *hdev) in hclgevf_reset_prepare_wait()
1516 static void hclgevf_reset_err_handle(struct hclgevf_dev *hdev) in hclgevf_reset_err_handle()
1533 static int hclgevf_reset(struct hclgevf_dev *hdev) in hclgevf_reset()
1600 static enum hnae3_reset_type hclgevf_get_reset_level(struct hclgevf_dev *hdev, in hclgevf_get_reset_level()
1634 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_reset_event() local
1655 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_set_def_reset_request() local
1664 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_flr_prepare() local
1683 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_fw_version() local
1688 static void hclgevf_get_misc_vector(struct hclgevf_dev *hdev) in hclgevf_get_misc_vector()
1703 void hclgevf_reset_task_schedule(struct hclgevf_dev *hdev) in hclgevf_reset_task_schedule()
1712 void hclgevf_mbx_task_schedule(struct hclgevf_dev *hdev) in hclgevf_mbx_task_schedule()
1721 static void hclgevf_task_schedule(struct hclgevf_dev *hdev) in hclgevf_task_schedule()
1728 static void hclgevf_deferred_task_schedule(struct hclgevf_dev *hdev) in hclgevf_deferred_task_schedule()
1740 struct hclgevf_dev *hdev = from_timer(hdev, t, service_timer); in hclgevf_service_timer() local
1751 struct hclgevf_dev *hdev = in hclgevf_reset_service_task() local
1823 struct hclgevf_dev *hdev; in hclgevf_mailbox_service_task() local
1839 struct hclgevf_dev *hdev = from_timer(hdev, t, keep_alive_timer); in hclgevf_keep_alive_timer() local
1848 struct hclgevf_dev *hdev; in hclgevf_keep_alive_task() local
1867 struct hclgevf_dev *hdev; in hclgevf_service_task() local
1891 static void hclgevf_clear_event_cause(struct hclgevf_dev *hdev, u32 regclr) in hclgevf_clear_event_cause()
1896 static enum hclgevf_evt_cause hclgevf_check_evt_cause(struct hclgevf_dev *hdev, in hclgevf_check_evt_cause()
1954 struct hclgevf_dev *hdev = data; in hclgevf_misc_irq_handle() local
1979 static int hclgevf_configure(struct hclgevf_dev *hdev) in hclgevf_configure()
2009 struct hclgevf_dev *hdev; in hclgevf_alloc_hdev() local
2022 static int hclgevf_init_roce_base_info(struct hclgevf_dev *hdev) in hclgevf_init_roce_base_info()
2045 static int hclgevf_config_gro(struct hclgevf_dev *hdev, bool en) in hclgevf_config_gro()
2068 static int hclgevf_rss_init_hw(struct hclgevf_dev *hdev) in hclgevf_rss_init_hw()
2120 static int hclgevf_init_vlan_config(struct hclgevf_dev *hdev) in hclgevf_init_vlan_config()
2128 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_timer_task() local
2141 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_start() local
2156 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_stop() local
2172 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_alive() local
2182 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_client_start() local
2197 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_client_stop() local
2209 static void hclgevf_state_init(struct hclgevf_dev *hdev) in hclgevf_state_init()
2230 static void hclgevf_state_uninit(struct hclgevf_dev *hdev) in hclgevf_state_uninit()
2251 static int hclgevf_init_msi(struct hclgevf_dev *hdev) in hclgevf_init_msi()
2305 static void hclgevf_uninit_msi(struct hclgevf_dev *hdev) in hclgevf_uninit_msi()
2314 static int hclgevf_misc_irq_init(struct hclgevf_dev *hdev) in hclgevf_misc_irq_init()
2336 static void hclgevf_misc_irq_uninit(struct hclgevf_dev *hdev) in hclgevf_misc_irq_uninit()
2345 static void hclgevf_info_show(struct hclgevf_dev *hdev) in hclgevf_info_show()
2365 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_init_nic_client_instance() local
2384 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_init_roce_client_instance() local
2407 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_init_client_instance() local
2455 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_uninit_client_instance() local
2475 static int hclgevf_pci_init(struct hclgevf_dev *hdev) in hclgevf_pci_init()
2520 static void hclgevf_pci_uninit(struct hclgevf_dev *hdev) in hclgevf_pci_uninit()
2530 static int hclgevf_query_vf_resource(struct hclgevf_dev *hdev) in hclgevf_query_vf_resource()
2581 static int hclgevf_pci_reset(struct hclgevf_dev *hdev) in hclgevf_pci_reset()
2616 static int hclgevf_reset_hdev(struct hclgevf_dev *hdev) in hclgevf_reset_hdev()
2662 static int hclgevf_init_hdev(struct hclgevf_dev *hdev) in hclgevf_init_hdev()
2776 static void hclgevf_uninit_hdev(struct hclgevf_dev *hdev) in hclgevf_uninit_hdev()
2792 struct hclgevf_dev *hdev; in hclgevf_init_ae_dev() local
2816 struct hclgevf_dev *hdev = ae_dev->priv; in hclgevf_uninit_ae_dev() local
2822 static u32 hclgevf_get_max_channels(struct hclgevf_dev *hdev) in hclgevf_get_max_channels()
2844 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_channels() local
2855 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_tqps_and_rss_info() local
2865 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_update_rss_size() local
2889 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_set_channels() local
2934 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_status() local
2943 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_ksettings_an_result() local
2953 void hclgevf_update_speed_duplex(struct hclgevf_dev *hdev, u32 speed, in hclgevf_update_speed_duplex()
2962 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_gro_en() local
2970 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_media_type() local
2981 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_hw_reset_stat() local
2988 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_dev_resetting() local
2995 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_ae_dev_reset_cnt() local
3004 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_link_mode() local
3018 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_regs_len() local
3032 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_regs() local
3076 void hclgevf_update_port_base_vlan_info(struct hclgevf_dev *hdev, u16 state, in hclgevf_update_port_base_vlan_info()