Searched refs:ae_algo (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.c | 13 void hnae3_unregister_ae_algo_prepare(struct hnae3_ae_algo *ae_algo) in hnae3_unregister_ae_algo_prepare() argument 18 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() 198 void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo) in hnae3_register_ae_algo() argument 205 if (!ae_algo) in hnae3_register_ae_algo() 210 list_add_tail(&ae_algo->node, &hnae3_ae_algo_list); in hnae3_register_ae_algo() 214 id = pci_match_id(ae_algo->pdev_id_table, ae_dev->pdev); in hnae3_register_ae_algo() 218 if (!ae_algo->ops) { in hnae3_register_ae_algo() 222 ae_dev->ops = ae_algo->ops; in hnae3_register_ae_algo() 224 ret = ae_algo->ops->init_ae_dev(ae_dev); in hnae3_register_ae_algo() [all …]
|
D | hns3_ethtool.c | 89 if (!h->ae_algo->ops->set_loopback || in hns3_lp_setup() 90 !h->ae_algo->ops->set_promisc_mode) in hns3_lp_setup() 98 ret = h->ae_algo->ops->set_loopback(h, loop, en); in hns3_lp_setup() 109 h->ae_algo->ops->set_promisc_mode(h, true, true); in hns3_lp_setup() 341 if (h->ae_algo->ops->enable_vlan_filter && in hns3_selftest_prepare() 343 h->ae_algo->ops->enable_vlan_filter(h, false); in hns3_selftest_prepare() 350 if (h->ae_algo->ops->halt_autoneg) in hns3_selftest_prepare() 351 h->ae_algo->ops->halt_autoneg(h, true); in hns3_selftest_prepare() 363 if (h->ae_algo->ops->halt_autoneg) in hns3_selftest_restore() 364 h->ae_algo->ops->halt_autoneg(h, false); in hns3_selftest_restore() [all …]
|
D | hns3_enet.c | 649 h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size); in hns3_get_max_available_channels() 729 ret = h->ae_algo->ops->start ? h->ae_algo->ops->start(h) : 0; in hns3_nic_net_up() 796 if (h->ae_algo->ops->set_timer_task) in hns3_nic_net_open() 797 h->ae_algo->ops->set_timer_task(priv->ae_handle, true); in hns3_nic_net_open() 836 ops = priv->ae_handle->ae_algo->ops; in hns3_nic_net_down() 860 if (h->ae_algo->ops->set_timer_task) in hns3_nic_net_stop() 861 h->ae_algo->ops->set_timer_task(priv->ae_handle, false); in hns3_nic_net_stop() 876 if (h->ae_algo->ops->add_uc_addr) in hns3_nic_uc_sync() 877 return h->ae_algo->ops->add_uc_addr(h, addr); in hns3_nic_uc_sync() 894 if (h->ae_algo->ops->rm_uc_addr) in hns3_nic_uc_unsync() [all …]
|
D | hnae3.h | 175 struct hnae3_ae_algo *ae_algo; member 836 struct hnae3_ae_algo *ae_algo; /* the class who provides this handle */ member 891 void hnae3_unregister_ae_algo_prepare(struct hnae3_ae_algo *ae_algo); 892 void hnae3_unregister_ae_algo(struct hnae3_ae_algo *ae_algo); 893 void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo);
|
D | hns3_debugfs.c | 804 if (!h->ae_algo->ops->get_global_queue_id) in hns3_dbg_queue_map() 819 h->ae_algo->ops->get_global_queue_id(h, i)); in hns3_dbg_queue_map() 1191 const struct hnae3_ae_ops *ops = dbg_data->handle->ae_algo->ops; in hns3_dbg_read_cmd()
|
/linux-5.19.10/tools/testing/selftests/net/ |
D | ipsec.c | 503 char ae_algo[ALGO_LEN]; member 857 aelen = strlen(desc->ae_algo); in xfrm_state_pack_algo() 890 strncpy(alg.u.aead.alg_name, desc->ae_algo, ALGO_LEN - 1); in xfrm_state_pack_algo() 891 if (xfrm_fill_key(desc->ae_algo, alg.u.aead.alg_key, in xfrm_state_pack_algo() 2062 strncpy(desc.ae_algo, ae, ALGO_LEN - 1); in write_desc() 2272 d->e_algo, d->c_algo, d->ae_algo, d->icv_len); in check_results()
|
/linux-5.19.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 641 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_write512() 1029 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_v2_cmd_hw_resetting() 1061 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_v2_cmd_sw_resetting() 1077 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in check_aedev_reset_status() 1114 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in check_device_is_in_reset() 1367 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in func_clr_hw_resetting_state() 1392 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in func_clr_sw_resetting_state() 1420 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_func_clr_rst_proc() 6494 hr_dev->reset_cnt = handle->ae_algo->ops->ae_dev_reset_cnt(handle); in hns_roce_hw_v2_get_cfg() 6568 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_hw_v2_init_instance()
|
D | hns_roce_hw_v2.h | 1462 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_write64()
|
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 333 tqp->q.ae_algo = &ae_algovf; in hclgevf_alloc_tqps() 465 nic->ae_algo = &ae_algovf; in hclgevf_set_handle_info() 2116 roce->ae_algo = nic->ae_algo; in hclgevf_init_roce_base_info()
|
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 75 static struct hnae3_ae_algo ae_algo; variable 1653 tqp->q.ae_algo = &ae_algo; in hclge_alloc_tqps() 1816 nic->ae_algo = &ae_algo; in hclge_vport_setup() 2508 roce->ae_algo = nic->ae_algo; in hclge_init_roce_base_info() 12870 static struct hnae3_ae_algo ae_algo = { variable 12885 hnae3_register_ae_algo(&ae_algo); in hclge_init() 12892 hnae3_unregister_ae_algo_prepare(&ae_algo); in hclge_exit() 12893 hnae3_unregister_ae_algo(&ae_algo); in hclge_exit()
|