Searched refs:ae_handle (Results 1 – 8 of 8) sorted by relevance
44 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 …]
74 struct hnae_handle *ae_handle; in hns_ae_get_handle() local88 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 …]
1115 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()1194 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()1414 ops = priv->ae_handle->dev->ops; in hns_nic_net_down()1417 ops->stop(priv->ae_handle); in hns_nic_net_down()1997 ops->get_regs(priv->ae_handle, data); in hns_nic_dump()2201 priv->ae_handle = h; in hns_nic_try_get_ae()2229 hnae_put_handle(priv->ae_handle); in hns_nic_try_get_ae()2230 priv->ae_handle = NULL; in hns_nic_try_get_ae()2411 if (!IS_ERR_OR_NULL(priv->ae_handle)) in hns_nic_dev_remove()2412 hnae_put_handle(priv->ae_handle); in hns_nic_dev_remove()[all …]
62 struct hnae_handle *ae_handle; member86 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)])
190 struct hnae_handle ae_handle; /* must be the last member */ member399 return container_of(handle, struct hnae_vf_cb, ae_handle); in hns_ae_get_vf_cb()
432 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()438 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()443 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()590 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw()847 ops = priv->ae_handle->ae_algo->ops; in hns3_nic_net_down()849 ops->stop(priv->ae_handle); in hns3_nic_net_down()858 hns3_reset_tx_queue(priv->ae_handle); in hns3_nic_net_down()5342 priv->ae_handle = handle; in hns3_client_init()5460 priv->ae_handle = NULL; in hns3_client_init()5777 hns3_reset_tx_queue(priv->ae_handle); in hns3_reset_notify_uninit_enet()[all …]
211 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring()335 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_prepare()360 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_restore()427 struct hnae3_handle *h = priv->ae_handle; in hns3_self_test()629 struct hnae3_handle *h = priv->ae_handle; in hns3_get_drvinfo()673 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ringparam()1080 struct hnae3_handle *h = priv->ae_handle; in hns3_change_all_ring_bd_num()1156 struct hnae3_handle *h = priv->ae_handle; in hns3_is_ringparam_changed()1181 struct hnae3_handle *h = priv->ae_handle; in hns3_change_rx_buf_len()1225 struct hnae3_handle *h = priv->ae_handle; in hns3_set_ringparam()[all …]
576 struct hnae3_handle *ae_handle; member700 (((struct hns3_nic_priv *)netdev_priv(ndev))->ae_handle)
Completed in 49 milliseconds