Home
last modified time | relevance | path

Searched refs:ae_handle (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/
A Dhns_ethtool.c44 h = priv->ae_handle; in hns_nic_get_link()
124 if (!priv || !priv->ae_handle) in hns_nic_get_link_ksettings()
127 h = priv->ae_handle; in hns_nic_get_link_ksettings()
210 if (!priv || !priv->ae_handle || !priv->ae_handle->dev || in hns_nic_set_link_ksettings()
211 !priv->ae_handle->dev->ops) in hns_nic_set_link_ksettings()
214 h = priv->ae_handle; in hns_nic_set_link_ksettings()
676 queue = priv->ae_handle->qs[0]; in hns_get_ringparam()
677 ops = priv->ae_handle->dev->ops; in hns_get_ringparam()
699 ops = priv->ae_handle->dev->ops; in hns_get_pauseparam()
720 h = priv->ae_handle; in hns_set_pauseparam()
[all …]
A Dhns_ae_adapt.c74 struct hnae_handle *ae_handle; in hns_ae_get_handle() local
88 ae_handle = ERR_PTR(-ENOMEM); in hns_ae_get_handle()
91 ae_handle = &vf_cb->ae_handle; in hns_ae_get_handle()
94 ae_handle->dev = dev; in hns_ae_get_handle()
99 for (ae_handle->vf_id = 0; in hns_ae_get_handle()
100 ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) { in hns_ae_get_handle()
107 ae_handle = ERR_PTR(-EINVAL); in hns_ae_get_handle()
113 ae_handle->qs[i]->rx_ring.q = ae_handle->qs[i]; in hns_ae_get_handle()
114 ae_handle->qs[i]->tx_ring.q = ae_handle->qs[i]; in hns_ae_get_handle()
131 return ae_handle; in hns_ae_get_handle()
[all …]
A Dhns_enet.c1090 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()
1169 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()
1389 ops = priv->ae_handle->dev->ops; in hns_nic_net_down()
1392 ops->stop(priv->ae_handle); in hns_nic_net_down()
1981 ops->get_regs(priv->ae_handle, data); in hns_nic_dump()
2192 priv->ae_handle = h; in hns_nic_try_get_ae()
2220 hnae_put_handle(priv->ae_handle); in hns_nic_try_get_ae()
2221 priv->ae_handle = NULL; in hns_nic_try_get_ae()
2402 if (!IS_ERR_OR_NULL(priv->ae_handle)) in hns_nic_dev_remove()
2403 hnae_put_handle(priv->ae_handle); in hns_nic_dev_remove()
[all …]
A Dhns_enet.h61 struct hnae_handle *ae_handle; member
85 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)])
A Dhns_dsaf_main.h213 struct hnae_handle ae_handle; /* must be the last member */ member
425 return container_of(handle, struct hnae_vf_cb, ae_handle); in hns_ae_get_vf_cb()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c207 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring()
332 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_prepare()
357 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_restore()
423 struct hnae3_handle *h = priv->ae_handle; in hns3_self_test()
634 struct hnae3_handle *h = priv->ae_handle; in hns3_get_drvinfo()
678 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ringparam()
1072 struct hnae3_handle *h = priv->ae_handle; in hns3_change_all_ring_bd_num()
1148 struct hnae3_handle *h = priv->ae_handle; in hns3_is_ringparam_changed()
1173 struct hnae3_handle *h = priv->ae_handle; in hns3_change_rx_buf_len()
1217 struct hnae3_handle *h = priv->ae_handle; in hns3_set_ringparam()
[all …]
A Dhns3_enet.c431 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()
437 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()
442 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()
595 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw()
839 ops = priv->ae_handle->ae_algo->ops; in hns3_nic_net_down()
841 ops->stop(priv->ae_handle); in hns3_nic_net_down()
850 hns3_reset_tx_queue(priv->ae_handle); in hns3_nic_net_down()
5292 priv->ae_handle = handle; in hns3_client_init()
5408 priv->ae_handle = NULL; in hns3_client_init()
5722 hns3_reset_tx_queue(priv->ae_handle); in hns3_reset_notify_uninit_enet()
[all …]
A Dhns3_enet.h574 struct hnae3_handle *ae_handle; member
696 (((struct hns3_nic_priv *)netdev_priv(ndev))->ae_handle)

Completed in 37 milliseconds