Lines Matching defs:handle
95 static struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle) in hclgevf_ae_get_hdev()
105 static int hclgevf_tqps_update_stats(struct hnae3_handle *handle) in hclgevf_tqps_update_stats()
149 static u64 *hclgevf_tqps_get_stats(struct hnae3_handle *handle, u64 *data) in hclgevf_tqps_get_stats()
168 static int hclgevf_tqps_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_tqps_get_sset_count()
175 static u8 *hclgevf_tqps_get_strings(struct hnae3_handle *handle, u8 *data) in hclgevf_tqps_get_strings()
200 static void hclgevf_update_stats(struct hnae3_handle *handle, in hclgevf_update_stats()
213 static int hclgevf_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_get_sset_count()
223 static void hclgevf_get_strings(struct hnae3_handle *handle, u32 strset, in hclgevf_get_strings()
232 static void hclgevf_get_stats(struct hnae3_handle *handle, u64 *data) in hclgevf_get_stats()
358 static u16 hclgevf_get_qid_global(struct hnae3_handle *handle, u16 queue_id) in hclgevf_get_qid_global()
497 struct hnae3_handle *handle = &hdev->nic; in hclgevf_update_link_status() local
564 static int hclgevf_get_vector(struct hnae3_handle *handle, u16 vector_num, in hclgevf_get_vector()
649 static u32 hclgevf_get_rss_key_size(struct hnae3_handle *handle) in hclgevf_get_rss_key_size()
773 static int hclgevf_get_rss(struct hnae3_handle *handle, u32 *indir, u8 *key, in hclgevf_get_rss()
837 static int hclgevf_set_rss(struct hnae3_handle *handle, const u32 *indir, in hclgevf_set_rss()
904 static int hclgevf_init_rss_tuple_cmd(struct hnae3_handle *handle, in hclgevf_init_rss_tuple_cmd()
958 static int hclgevf_set_rss_tuple(struct hnae3_handle *handle, in hclgevf_set_rss_tuple()
1051 static int hclgevf_get_rss_tuple(struct hnae3_handle *handle, in hclgevf_get_rss_tuple()
1100 static int hclgevf_get_tc_size(struct hnae3_handle *handle) in hclgevf_get_tc_size()
1108 static int hclgevf_bind_ring_to_vector(struct hnae3_handle *handle, bool en, in hclgevf_bind_ring_to_vector()
1152 static int hclgevf_map_ring_to_vector(struct hnae3_handle *handle, int vector, in hclgevf_map_ring_to_vector()
1169 struct hnae3_handle *handle, in hclgevf_unmap_ring_from_vector()
1196 static int hclgevf_put_vector(struct hnae3_handle *handle, int vector) in hclgevf_put_vector()
1218 struct hnae3_handle *handle = &hdev->nic; in hclgevf_cmd_set_promisc_mode() local
1238 static int hclgevf_set_promisc_mode(struct hnae3_handle *handle, bool en_uc_pmc, in hclgevf_set_promisc_mode()
1250 static void hclgevf_request_update_promisc_mode(struct hnae3_handle *handle) in hclgevf_request_update_promisc_mode()
1260 struct hnae3_handle *handle = &hdev->nic; in hclgevf_sync_promisc_mode() local
1290 static int hclgevf_tqp_enable(struct hnae3_handle *handle, bool enable) in hclgevf_tqp_enable()
1305 static void hclgevf_reset_tqp_stats(struct hnae3_handle *handle) in hclgevf_reset_tqp_stats()
1337 static void hclgevf_get_mac_addr(struct hnae3_handle *handle, u8 *p) in hclgevf_get_mac_addr()
1352 static int hclgevf_set_mac_addr(struct hnae3_handle *handle, const void *p, in hclgevf_set_mac_addr()
1415 static int hclgevf_update_mac_list(struct hnae3_handle *handle, in hclgevf_update_mac_list()
1459 static int hclgevf_add_uc_addr(struct hnae3_handle *handle, in hclgevf_add_uc_addr()
1466 static int hclgevf_rm_uc_addr(struct hnae3_handle *handle, in hclgevf_rm_uc_addr()
1473 static int hclgevf_add_mc_addr(struct hnae3_handle *handle, in hclgevf_add_mc_addr()
1480 static int hclgevf_rm_mc_addr(struct hnae3_handle *handle, in hclgevf_rm_mc_addr()
1671 static int hclgevf_enable_vlan_filter(struct hnae3_handle *handle, bool enable) in hclgevf_enable_vlan_filter()
1687 static int hclgevf_set_vlan_filter(struct hnae3_handle *handle, in hclgevf_set_vlan_filter()
1738 struct hnae3_handle *handle = &hdev->nic; in hclgevf_sync_vlan_filter() local
1763 static int hclgevf_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable) in hclgevf_en_hw_strip_rxvtag()
1774 static int hclgevf_reset_tqp(struct hnae3_handle *handle) in hclgevf_reset_tqp()
1809 static int hclgevf_set_mtu(struct hnae3_handle *handle, int new_mtu) in hclgevf_set_mtu()
1823 struct hnae3_handle *handle = &hdev->nic; in hclgevf_notify_client() local
1845 struct hnae3_handle *handle = &hdev->roce; in hclgevf_notify_roce_client() local
2135 struct hnae3_handle *handle) in hclgevf_reset_event()
2223 static u32 hclgevf_get_fw_version(struct hnae3_handle *handle) in hclgevf_get_fw_version()
2370 struct hnae3_handle *handle = &hdev->nic; in hclgevf_periodic_service_task() local
2715 static void hclgevf_set_timer_task(struct hnae3_handle *handle, bool enable) in hclgevf_set_timer_task()
2730 static int hclgevf_ae_start(struct hnae3_handle *handle) in hclgevf_ae_start()
2746 static void hclgevf_ae_stop(struct hnae3_handle *handle) in hclgevf_ae_stop()
2759 static int hclgevf_set_alive(struct hnae3_handle *handle, bool alive) in hclgevf_set_alive()
2773 static int hclgevf_client_start(struct hnae3_handle *handle) in hclgevf_client_start()
2778 static void hclgevf_client_stop(struct hnae3_handle *handle) in hclgevf_client_stop()
3578 static void hclgevf_get_channels(struct hnae3_handle *handle, in hclgevf_get_channels()
3589 static void hclgevf_get_tqps_and_rss_info(struct hnae3_handle *handle, in hclgevf_get_tqps_and_rss_info()
3598 static void hclgevf_update_rss_size(struct hnae3_handle *handle, in hclgevf_update_rss_size()
3623 static int hclgevf_set_channels(struct hnae3_handle *handle, u32 new_tqps_num, in hclgevf_set_channels()
3672 static int hclgevf_get_status(struct hnae3_handle *handle) in hclgevf_get_status()
3679 static void hclgevf_get_ksettings_an_result(struct hnae3_handle *handle, in hclgevf_get_ksettings_an_result()
3700 static int hclgevf_gro_en(struct hnae3_handle *handle, bool enable) in hclgevf_gro_en()
3714 static void hclgevf_get_media_type(struct hnae3_handle *handle, u8 *media_type, in hclgevf_get_media_type()
3726 static bool hclgevf_get_hw_reset_stat(struct hnae3_handle *handle) in hclgevf_get_hw_reset_stat()
3733 static bool hclgevf_get_cmdq_stat(struct hnae3_handle *handle) in hclgevf_get_cmdq_stat()
3740 static bool hclgevf_ae_dev_resetting(struct hnae3_handle *handle) in hclgevf_ae_dev_resetting()
3747 static unsigned long hclgevf_ae_dev_reset_cnt(struct hnae3_handle *handle) in hclgevf_ae_dev_reset_cnt()
3754 static void hclgevf_get_link_mode(struct hnae3_handle *handle, in hclgevf_get_link_mode()
3769 static int hclgevf_get_regs_len(struct hnae3_handle *handle) in hclgevf_get_regs_len()
3783 static void hclgevf_get_regs(struct hnae3_handle *handle, u32 *version, in hclgevf_get_regs()