Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.c16 struct hnae3_ae_dev *ae_dev; in hnae3_unregister_ae_algo_prepare()
50 struct hnae3_ae_dev *ae_dev, in hnae3_set_client_init_flag()
70 struct hnae3_ae_dev *ae_dev) in hnae3_get_client_init_flag()
91 struct hnae3_ae_dev *ae_dev) in hnae3_init_client_instance()
110 struct hnae3_ae_dev *ae_dev) in hnae3_uninit_client_instance()
127 struct hnae3_ae_dev *ae_dev; in hnae3_register_client()
163 struct hnae3_ae_dev *ae_dev; in hnae3_unregister_client()
201 struct hnae3_ae_dev *ae_dev; in hnae3_register_ae_algo()
256 struct hnae3_ae_dev *ae_dev; in hnae3_unregister_ae_algo()
292 int hnae3_register_ae_dev(struct hnae3_ae_dev *ae_dev) in hnae3_register_ae_dev()
[all …]
Dhnae3.h408 struct hnae3_ae_dev { struct
580 int (*init_ae_dev)(struct hnae3_ae_dev *ae_dev);
581 void (*uninit_ae_dev)(struct hnae3_ae_dev *ae_dev);
582 void (*reset_prepare)(struct hnae3_ae_dev *ae_dev,
584 void (*reset_done)(struct hnae3_ae_dev *ae_dev);
586 struct hnae3_ae_dev *ae_dev);
588 struct hnae3_ae_dev *ae_dev);
702 enum hnae3_reset_type (*get_reset_level)(struct hnae3_ae_dev *ae_dev,
704 void (*set_default_reset_request)(struct hnae3_ae_dev *ae_dev,
734 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()
974 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_set_rss()
1041 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_set_reset()
1206 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_set_tx_push()
[all …]
Dhns3_debugfs.c634 struct hnae3_ae_dev *ae_dev, char **result, in hns3_dump_rx_queue_info()
681 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_dbg_rx_queue_info()
736 struct hnae3_ae_dev *ae_dev, char **result, in hns3_dump_tx_queue_info()
784 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_dbg_tx_queue_info()
1029 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_dbg_dev_caps()
1048 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(h->pdev); in hns3_dbg_dev_specs()
1372 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()
3099 struct hnae3_ae_dev *ae_dev; in hns3_probe()
3126 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hns3_clean_vf_config()
3137 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hns3_remove()
3184 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hns3_shutdown()
3195 struct hnae3_ae_dev *ae_dev = dev_get_drvdata(dev); in hns3_suspend()
3208 struct hnae3_ae_dev *ae_dev = dev_get_drvdata(dev); in hns3_resume()
3222 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hns3_error_detected()
[all …]
/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_cmd.h456 int hclge_comm_cmd_query_version_and_capability(struct hnae3_ae_dev *ae_dev,
463 int hclge_comm_firmware_compat_config(struct hnae3_ae_dev *ae_dev,
469 void hclge_comm_cmd_uninit(struct hnae3_ae_dev *ae_dev,
472 int hclge_comm_cmd_init(struct hnae3_ae_dev *ae_dev, struct hclge_comm_hw *hw,
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()
147 int hclge_comm_set_rss_tuple(struct hnae3_ae_dev *ae_dev, in hclge_comm_set_rss_tuple()
212 void hclge_comm_rss_indir_init_cfg(struct hnae3_ae_dev *ae_dev, in hclge_comm_rss_indir_init_cfg()
268 int hclge_comm_set_rss_indir_table(struct hnae3_ae_dev *ae_dev, in hclge_comm_set_rss_indir_table()
439 struct hnae3_ae_dev *ae_dev, in hclge_comm_init_rss_tuple_cmd()
Dhclge_comm_cmd.c52 static void hclge_comm_set_default_capability(struct hnae3_ae_dev *ae_dev, in hclge_comm_set_default_capability()
76 int hclge_comm_firmware_compat_config(struct hnae3_ae_dev *ae_dev, in hclge_comm_firmware_compat_config()
190 hclge_comm_parse_capability(struct hnae3_ae_dev *ae_dev, bool is_pf, in hclge_comm_parse_capability()
224 int hclge_comm_cmd_query_version_and_capability(struct hnae3_ae_dev *ae_dev, in hclge_comm_cmd_query_version_and_capability()
526 void hclge_comm_cmd_uninit(struct hnae3_ae_dev *ae_dev, in hclge_comm_cmd_uninit()
586 int hclge_comm_cmd_init(struct hnae3_ae_dev *ae_dev, struct hclge_comm_hw *hw, in hclge_comm_cmd_init()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_err.h223 void hclge_handle_all_hns_hw_errors(struct hnae3_ae_dev *ae_dev);
226 pci_ers_result_t hclge_handle_hw_ras_error(struct hnae3_ae_dev *ae_dev);
229 int hclge_handle_error_info_log(struct hnae3_ae_dev *ae_dev);
Dhclge_err.c1830 struct hnae3_ae_dev *ae_dev = hdev->ae_dev; in hclge_handle_mpf_ras_error()
1988 struct hnae3_ae_dev *ae_dev = hdev->ae_dev; in hclge_handle_pf_ras_error()
2279 static void hclge_handle_rocee_ras_error(struct hnae3_ae_dev *ae_dev) in hclge_handle_rocee_ras_error()
2359 pci_ers_result_t hclge_handle_hw_ras_error(struct hnae3_ae_dev *ae_dev) in hclge_handle_hw_ras_error()
2689 void hclge_handle_all_hns_hw_errors(struct hnae3_ae_dev *ae_dev) in hclge_handle_all_hns_hw_errors()
2756 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_handle_occurred_error()
2810 static void hclge_handle_error_module_log(struct hnae3_ae_dev *ae_dev, in hclge_handle_error_module_log()
2890 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.c49 static int hclge_reset_ae_dev(struct hnae3_ae_dev *ae_dev);
53 static enum hnae3_reset_type hclge_get_reset_level(struct hnae3_ae_dev *ae_dev,
1320 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_set_default_dev_specs()
1336 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_parse_dev_specs()
1489 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_configure()
1582 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_alloc_tqps()
2760 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_update_fec_stats()
4019 static enum hnae3_reset_type hclge_get_reset_level(struct hnae3_ae_dev *ae_dev, in hclge_get_reset_level()
4207 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_update_reset_level()
4381 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.c473 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclge_ptp_init()
Dhclge_main.h853 struct hnae3_ae_dev *ae_dev;
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c121 struct hnae3_ae_dev *ae_dev = hdev->ae_dev; in hclgevf_get_basic_info()
266 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(hdev->pdev); in hclgevf_alloc_tqps()
1174 struct hnae3_ae_dev *ae_dev = hdev->ae_dev; in hclgevf_enable_vlan_filter()
1636 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in hclgevf_reset_event()
1654 static void hclgevf_set_def_reset_request(struct hnae3_ae_dev *ae_dev, in hclgevf_set_def_reset_request()
1667 static void hclgevf_reset_prepare_general(struct hnae3_ae_dev *ae_dev, in hclgevf_reset_prepare_general()
1700 static void hclgevf_reset_done(struct hnae3_ae_dev *ae_dev) in hclgevf_reset_done()
2051 static int hclgevf_alloc_hdev(struct hnae3_ae_dev *ae_dev) in hclgevf_alloc_hdev()
2388 static int hclgevf_init_nic_client_instance(struct hnae3_ae_dev *ae_dev, in hclgevf_init_nic_client_instance()
2416 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;
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c6066 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(pdev); in abnormal_interrupt_basic()