Searched refs:ae_algo (Results 1 – 7 of 7) sorted by relevance
13 void hnae3_unregister_ae_algo_prepare(struct hnae3_ae_algo *ae_algo) in hnae3_unregister_ae_algo_prepare() argument18 if (!ae_algo) in hnae3_unregister_ae_algo_prepare()25 pci_id = pci_match_id(ae_algo->pdev_id_table, ae_dev->pdev); in hnae3_unregister_ae_algo_prepare()216 void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo) in hnae3_register_ae_algo() argument223 if (!ae_algo) in hnae3_register_ae_algo()228 list_add_tail(&ae_algo->node, &hnae3_ae_algo_list); in hnae3_register_ae_algo()232 id = pci_match_id(ae_algo->pdev_id_table, ae_dev->pdev); in hnae3_register_ae_algo()236 if (!ae_algo->ops) { in hnae3_register_ae_algo()240 ae_dev->ops = ae_algo->ops; in hnae3_register_ae_algo()242 ret = ae_algo->ops->init_ae_dev(ae_dev); in hnae3_register_ae_algo()[all …]
201 struct hnae3_ae_algo *ae_algo; member912 struct hnae3_ae_algo *ae_algo; /* the class who provides this handle */ member964 void hnae3_unregister_ae_algo_prepare(struct hnae3_ae_algo *ae_algo);965 void hnae3_unregister_ae_algo(struct hnae3_ae_algo *ae_algo);966 void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo);
596 if (!h->ae_algo->ops->get_global_queue_id) in hns3_dbg_queue_map()605 h->ae_algo->ops->get_global_queue_id(h, i), in hns3_dbg_queue_map()
661 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_write512()1044 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_v2_cmd_hw_resetting()1076 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_v2_cmd_sw_resetting()1092 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in check_aedev_reset_status()1129 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in check_device_is_in_reset()1468 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in func_clr_hw_resetting_state()1493 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in func_clr_sw_resetting_state()1521 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_func_clr_rst_proc()4939 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_hw_v2_get_dscp()7024 hr_dev->reset_cnt = handle->ae_algo->ops->ae_dev_reset_cnt(handle); in hns_roce_hw_v2_get_cfg()[all …]
1475 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_write64()
316 tqp->q.ae_algo = &ae_algovf; in hclgevf_alloc_tqps()448 nic->ae_algo = &ae_algovf; in hclgevf_set_handle_info()2158 roce->ae_algo = nic->ae_algo; in hclgevf_init_roce_base_info()
70 static struct hnae3_ae_algo ae_algo; variable1644 tqp->q.ae_algo = &ae_algo; in hclge_alloc_tqps()1807 nic->ae_algo = &ae_algo; in hclge_vport_setup()2500 roce->ae_algo = nic->ae_algo; in hclge_init_roce_base_info()12906 static struct hnae3_ae_algo ae_algo = { variable12921 hnae3_register_ae_algo(&ae_algo); in hclge_init()12929 hnae3_unregister_ae_algo_prepare(&ae_algo); in hclge_exit()12930 hnae3_unregister_ae_algo(&ae_algo); in hclge_exit()