Searched refs:ae_algo (Results 1 - 11 of 11) sorted by relevance

/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.c13 void hnae3_unregister_ae_algo_prepare(struct hnae3_ae_algo *ae_algo) argument
18 if (!ae_algo)
25 pci_id = pci_match_id(ae_algo->pdev_id_table, ae_dev->pdev);
195 * @ae_algo: AE algorithm
198 void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo) argument
205 if (!ae_algo)
210 list_add_tail(&ae_algo->node, &hnae3_ae_algo_list);
214 id = pci_match_id(ae_algo->pdev_id_table, ae_dev->pdev);
218 if (!ae_algo->ops) {
219 dev_err(&ae_dev->pdev->dev, "ae_algo op
253 hnae3_unregister_ae_algo(struct hnae3_ae_algo *ae_algo) argument
295 struct hnae3_ae_algo *ae_algo; local
360 struct hnae3_ae_algo *ae_algo; local
[all...]
H A Dhns3_ethtool.c91 if (!h->ae_algo->ops->set_loopback ||
92 !h->ae_algo->ops->set_promisc_mode)
101 ret = h->ae_algo->ops->set_loopback(h, loop, en);
112 h->ae_algo->ops->set_promisc_mode(h, true, true);
341 if (h->ae_algo->ops->enable_vlan_filter &&
343 h->ae_algo->ops->enable_vlan_filter(h, false);
350 if (h->ae_algo->ops->halt_autoneg)
351 h->ae_algo->ops->halt_autoneg(h, true);
363 if (h->ae_algo->ops->halt_autoneg)
364 h->ae_algo
[all...]
H A Dhns3_enet.c652 h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size);
732 ret = h->ae_algo->ops->start ? h->ae_algo->ops->start(h) : 0;
799 if (h->ae_algo->ops->set_timer_task)
800 h->ae_algo->ops->set_timer_task(priv->ae_handle, true);
839 ops = priv->ae_handle->ae_algo->ops;
863 if (h->ae_algo->ops->set_timer_task)
864 h->ae_algo->ops->set_timer_task(priv->ae_handle, false);
879 if (h->ae_algo->ops->add_uc_addr)
880 return h->ae_algo
[all...]
H A Dhnae3.h197 struct hnae3_ae_algo *ae_algo; member in struct:hnae3_queue
891 struct hnae3_ae_algo *ae_algo; /* the class who provides this handle */ member in struct:hnae3_handle
946 void hnae3_unregister_ae_algo_prepare(struct hnae3_ae_algo *ae_algo);
947 void hnae3_unregister_ae_algo(struct hnae3_ae_algo *ae_algo);
948 void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo);
H A Dhns3_debugfs.c846 if (!h->ae_algo->ops->get_global_queue_id)
861 h->ae_algo->ops->get_global_queue_id(h, i));
1238 const struct hnae3_ae_ops *ops = dbg_data->handle->ae_algo->ops;
H A Dhns3_enet.h702 ((handle)->ae_algo->ops)
/linux-master/tools/testing/selftests/net/
H A Dipsec.c542 char ae_algo[ALGO_LEN]; member in struct:xfrm_desc
843 aelen = strlen(desc->ae_algo);
876 strncpy(alg.u.aead.alg_name, desc->ae_algo, ALGO_LEN - 1);
877 if (xfrm_fill_key(desc->ae_algo, alg.u.aead.alg_key,
2048 strncpy(desc.ae_algo, ae, ALGO_LEN - 1);
2258 d->e_algo, d->c_algo, d->ae_algo, d->icv_len);
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c664 const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
1035 const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
1067 const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
1083 const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
1120 const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
1402 const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
1427 const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
1455 const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
6790 hr_dev->reset_cnt = handle->ae_algo->ops->ae_dev_reset_cnt(handle);
6864 const struct hnae3_ae_ops *ops = handle->ae_algo
[all...]
H A Dhns_roce_hw_v2.h1449 const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c281 tqp->q.ae_algo = &ae_algovf;
413 nic->ae_algo = &ae_algovf;
2084 roce->ae_algo = nic->ae_algo;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c66 static struct hnae3_ae_algo ae_algo; variable in typeref:struct:hnae3_ae_algo
1605 tqp->q.ae_algo = &ae_algo;
1768 nic->ae_algo = &ae_algo;
2460 roce->ae_algo = nic->ae_algo;
12782 static struct hnae3_ae_algo ae_algo = { variable in typeref:struct:hnae3_ae_algo
12797 hnae3_register_ae_algo(&ae_algo);
12804 hnae3_unregister_ae_algo_prepare(&ae_algo);
[all...]

Completed in 276 milliseconds