Lines Matching refs:ae_handle
431 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()
556 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(priv->ae_handle->pdev); in hns3_vector_coalesce_init()
595 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw()
713 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up()
800 h->ae_algo->ops->set_timer_task(priv->ae_handle, true); in hns3_nic_net_open()
839 ops = priv->ae_handle->ae_algo->ops; in hns3_nic_net_down()
841 ops->stop(priv->ae_handle); in hns3_nic_net_down()
848 hns3_clear_all_ring(priv->ae_handle, false); in hns3_nic_net_down()
850 hns3_reset_tx_queue(priv->ae_handle); in hns3_nic_net_down()
864 h->ae_algo->ops->set_timer_task(priv->ae_handle, false); in hns3_nic_net_stop()
1300 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(priv->ae_handle->pdev); in hns3_tunnel_csum_bug()
2412 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_set_features()
2533 int queue_num = priv->ae_handle->kinfo.num_tqps; in hns3_nic_get_stats64()
2534 struct hnae3_handle *handle = priv->ae_handle; in hns3_nic_get_stats64()
2878 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_timeout()
4597 struct pci_dev *pdev = priv->ae_handle->pdev; in hns3_nic_set_cpumask()
4660 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_init_vector_data()
4731 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(priv->ae_handle->pdev); in hns3_nic_init_coal_cfg()
4759 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_alloc_vector_data()
4811 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_uninit_vector_data()
4842 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_dealloc_vector_data()
4861 int queue_num = priv->ae_handle->kinfo.num_tqps; in hns3_ring_get_cfg()
4867 desc_num = priv->ae_handle->kinfo.num_tx_desc; in hns3_ring_get_cfg()
4873 desc_num = priv->ae_handle->kinfo.num_rx_desc; in hns3_ring_get_cfg()
4900 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ring_config()
5069 struct hnae3_knic_private_info *kinfo = &priv->ae_handle->kinfo; in hns3_init_tx_ring_tc()
5087 struct hnae3_handle *h = priv->ae_handle; in hns3_init_all_ring()
5114 struct hnae3_handle *h = priv->ae_handle; in hns3_uninit_all_ring()
5128 struct hnae3_handle *h = priv->ae_handle; in hns3_init_mac_addr()
5191 struct hnae3_knic_private_info *kinfo = &priv->ae_handle->kinfo; in hns3_info_show()
5210 struct hnae3_ae_dev *ae_dev = pci_get_drvdata(priv->ae_handle->pdev); in hns3_set_cq_period_mode()
5211 struct hnae3_handle *handle = priv->ae_handle; in hns3_set_cq_period_mode()
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()
5852 struct hnae3_handle *h = priv->ae_handle; in hns3_external_lb_prepare()
5872 hns3_nic_reset_all_ring(priv->ae_handle); in hns3_external_lb_prepare()
5874 hns3_reset_tx_queue(priv->ae_handle); in hns3_external_lb_prepare()
5880 struct hnae3_handle *h = priv->ae_handle; in hns3_external_lb_restore()
5886 hns3_nic_reset_all_ring(priv->ae_handle); in hns3_external_lb_restore()