Home
last modified time | relevance | path

Searched refs:hnae3_ae_dev (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.c16 struct hnae3_ae_dev *ae_dev; in hnae3_unregister_ae_algo_prepare()
53 struct hnae3_ae_dev *ae_dev, in hnae3_set_client_init_flag()
73 struct hnae3_ae_dev *ae_dev) in hnae3_get_client_init_flag()
94 struct hnae3_ae_dev *ae_dev) in hnae3_init_client_instance()
113 struct hnae3_ae_dev *ae_dev) in hnae3_uninit_client_instance()
130 struct hnae3_ae_dev *ae_dev; in hnae3_register_client()
166 struct hnae3_ae_dev *ae_dev; in hnae3_unregister_client()
204 struct hnae3_ae_dev *ae_dev; in hnae3_register_ae_algo()
259 struct hnae3_ae_dev *ae_dev; in hnae3_unregister_ae_algo()
295 int hnae3_register_ae_dev(struct hnae3_ae_dev *ae_dev) in hnae3_register_ae_dev()
[all …]
Dhnae3.h427 struct hnae3_ae_dev { struct
599 int (*init_ae_dev)(struct hnae3_ae_dev *ae_dev);
600 void (*uninit_ae_dev)(struct hnae3_ae_dev *ae_dev);
601 void (*reset_prepare)(struct hnae3_ae_dev *ae_dev,
603 void (*reset_done)(struct hnae3_ae_dev *ae_dev);
605 struct hnae3_ae_dev *ae_dev);
607 struct hnae3_ae_dev *ae_dev);
721 enum hnae3_reset_type (*get_reset_level)(struct hnae3_ae_dev *ae_dev,
723 void (*set_default_reset_request)(struct hnae3_ae_dev *ae_dev,
753 pci_ers_result_t (*handle_hw_ras_error)(struct hnae3_ae_dev *ae_dev);
[all …]
Dhns3_ethtool.c88 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_lp_setup()
156 struct hnae3_ae_dev *ae_dev; in hns3_lp_setup_skb()
714 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_get_pauseparam()
728 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_set_pauseparam()
773 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_get_link_ksettings()
883 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(handle->pdev); in hns3_set_link_ksettings()
954 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_get_rss_indir_size()
976 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_set_rss()
1046 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_set_reset()
1211 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_set_tx_push()
[all …]
Dhns3_debugfs.c637 struct hnae3_ae_dev *ae_dev, char **result, in hns3_dump_rx_queue_info()
684 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_dbg_rx_queue_info()
739 struct hnae3_ae_dev *ae_dev, char **result, in hns3_dump_tx_queue_info()
787 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_dbg_tx_queue_info()
1032 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_dbg_dev_caps()
1051 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_dbg_dev_specs()
1377 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(handle->pdev); in hns3_dbg_init()
Dhns3_enet.c556 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(priv->ae_handle->pdev); in hns3_vector_coalesce_init()
1300 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(priv->ae_handle->pdev); in hns3_tunnel_csum_bug()
1488 struct hnae3_ae_dev *ae_dev; in hns3_handle_vtags()
3095 struct hnae3_ae_dev *ae_dev; in hns3_probe()
3122 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hns3_clean_vf_config()
3133 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hns3_remove()
3180 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hns3_shutdown()
3191 struct hnae3_ae_dev *ae_dev = dev_get_drvdata(dev); in hns3_suspend()
3204 struct hnae3_ae_dev *ae_dev = dev_get_drvdata(dev); in hns3_resume()
3218 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hns3_error_detected()
[all …]
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_rss.h98 void hclge_comm_rss_indir_init_cfg(struct hnae3_ae_dev *ae_dev,
112 struct hnae3_ae_dev *ae_dev,
117 int hclge_comm_set_rss_indir_table(struct hnae3_ae_dev *ae_dev,
120 struct hnae3_ae_dev *ae_dev,
129 int hclge_comm_set_rss_tuple(struct hnae3_ae_dev *ae_dev,
Dhclge_comm_rss.c18 hclge_comm_init_rss_tuple(struct hnae3_ae_dev *ae_dev, in hclge_comm_init_rss_tuple()
35 struct hnae3_ae_dev *ae_dev, in hclge_comm_rss_init_cfg()
151 int hclge_comm_set_rss_tuple(struct hnae3_ae_dev *ae_dev, in hclge_comm_set_rss_tuple()
218 void hclge_comm_rss_indir_init_cfg(struct hnae3_ae_dev *ae_dev, in hclge_comm_rss_indir_init_cfg()
276 int hclge_comm_set_rss_indir_table(struct hnae3_ae_dev *ae_dev, in hclge_comm_set_rss_indir_table()
452 struct hnae3_ae_dev *ae_dev, in hclge_comm_init_rss_tuple_cmd()
Dhclge_comm_cmd.h479 int hclge_comm_cmd_query_version_and_capability(struct hnae3_ae_dev *ae_dev,
486 int hclge_comm_firmware_compat_config(struct hnae3_ae_dev *ae_dev,
492 void hclge_comm_cmd_uninit(struct hnae3_ae_dev *ae_dev,
495 int hclge_comm_cmd_init(struct hnae3_ae_dev *ae_dev, struct hclge_comm_hw *hw,
Dhclge_comm_cmd.c53 static void hclge_comm_set_default_capability(struct hnae3_ae_dev *ae_dev, in hclge_comm_set_default_capability()
78 int hclge_comm_firmware_compat_config(struct hnae3_ae_dev *ae_dev, in hclge_comm_firmware_compat_config()
194 hclge_comm_parse_capability(struct hnae3_ae_dev *ae_dev, bool is_pf, in hclge_comm_parse_capability()
228 int hclge_comm_cmd_query_version_and_capability(struct hnae3_ae_dev *ae_dev, in hclge_comm_cmd_query_version_and_capability()
538 void hclge_comm_cmd_uninit(struct hnae3_ae_dev *ae_dev, in hclge_comm_cmd_uninit()
612 int hclge_comm_cmd_init(struct hnae3_ae_dev *ae_dev, struct hclge_comm_hw *hw, in hclge_comm_cmd_init()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_err.h260 void hclge_handle_all_hns_hw_errors(struct hnae3_ae_dev *ae_dev);
263 pci_ers_result_t hclge_handle_hw_ras_error(struct hnae3_ae_dev *ae_dev);
266 int hclge_handle_error_info_log(struct hnae3_ae_dev *ae_dev);
Dhclge_err.c2253 struct hnae3_ae_dev *ae_dev = hdev->ae_dev; in hclge_handle_mpf_ras_error()
2411 struct hnae3_ae_dev *ae_dev = hdev->ae_dev; in hclge_handle_pf_ras_error()
2702 static void hclge_handle_rocee_ras_error(struct hnae3_ae_dev *ae_dev) in hclge_handle_rocee_ras_error()
2782 pci_ers_result_t hclge_handle_hw_ras_error(struct hnae3_ae_dev *ae_dev) in hclge_handle_hw_ras_error()
3112 void hclge_handle_all_hns_hw_errors(struct hnae3_ae_dev *ae_dev) in hclge_handle_all_hns_hw_errors()
3179 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_handle_occurred_error()
3241 static void hclge_handle_error_module_log(struct hnae3_ae_dev *ae_dev, in hclge_handle_error_module_log()
3326 int hclge_handle_error_info_log(struct hnae3_ae_dev *ae_dev) in hclge_handle_error_info_log()
Dhclge_regs.c391 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_get_dfx_reg_len()
430 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_get_dfx_rpu_tnl_reg()
Dhclge_main.c52 static int hclge_reset_ae_dev(struct hnae3_ae_dev *ae_dev);
56 static enum hnae3_reset_type hclge_get_reset_level(struct hnae3_ae_dev *ae_dev,
1375 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_set_default_dev_specs()
1391 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_parse_dev_specs()
1545 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_configure()
1638 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_alloc_tqps()
2816 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_update_fec_stats()
4075 static enum hnae3_reset_type hclge_get_reset_level(struct hnae3_ae_dev *ae_dev, in hclge_get_reset_level()
4263 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_update_reset_level()
4437 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hclge_reset_event()
[all …]
Dhclge_mbx.c494 struct hnae3_ae_dev *ae_dev = vport->back->ae_dev; in hclge_get_basic_info()
663 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_notify_vf_config()
810 struct hnae3_ae_dev *ae_dev = hdev->ae_dev; in hclge_handle_ncsi_error()
Dhclge_ptp.c469 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_ptp_init()
Dhclge_main.h871 struct hnae3_ae_dev *ae_dev;
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c158 struct hnae3_ae_dev *ae_dev = hdev->ae_dev; in hclgevf_get_basic_info()
303 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclgevf_alloc_tqps()
1211 struct hnae3_ae_dev *ae_dev = hdev->ae_dev; in hclgevf_enable_vlan_filter()
1673 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hclgevf_reset_event()
1691 static void hclgevf_set_def_reset_request(struct hnae3_ae_dev *ae_dev, in hclgevf_set_def_reset_request()
1704 static void hclgevf_reset_prepare_general(struct hnae3_ae_dev *ae_dev, in hclgevf_reset_prepare_general()
1737 static void hclgevf_reset_done(struct hnae3_ae_dev *ae_dev) in hclgevf_reset_done()
2088 static int hclgevf_alloc_hdev(struct hnae3_ae_dev *ae_dev) in hclgevf_alloc_hdev()
2425 static int hclgevf_init_nic_client_instance(struct hnae3_ae_dev *ae_dev, in hclgevf_init_nic_client_instance()
2453 static int hclgevf_init_roce_client_instance(struct hnae3_ae_dev *ae_dev, in hclgevf_init_roce_client_instance()
[all …]
Dhclgevf_main.h211 struct hnae3_ae_dev *ae_dev;
/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c6199 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in abnormal_interrupt_basic()