Searched refs:ae_handle (Results 1 – 5 of 5) sorted by relevance
49 h = priv->ae_handle; in hns_nic_get_link()129 if (!priv || !priv->ae_handle) in hns_nic_get_link_ksettings()132 h = priv->ae_handle; in hns_nic_get_link_ksettings()215 if (!priv || !priv->ae_handle || !priv->ae_handle->dev || in hns_nic_set_link_ksettings()216 !priv->ae_handle->dev->ops) in hns_nic_set_link_ksettings()219 h = priv->ae_handle; in hns_nic_set_link_ksettings()319 struct hnae_handle *h = priv->ae_handle; in __lb_setup()330 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)) in __lb_setup()342 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_setup()369 struct hnae_handle *h = priv->ae_handle; in __lb_up()[all …]
83 struct hnae_handle *ae_handle; in hns_ae_get_handle() local97 ae_handle = ERR_PTR(-ENOMEM); in hns_ae_get_handle()100 ae_handle = &vf_cb->ae_handle; in hns_ae_get_handle()102 ae_handle->owner_dev = dsaf_dev->dev; in hns_ae_get_handle()103 ae_handle->dev = dev; in hns_ae_get_handle()104 ae_handle->q_num = qnum_per_vf; in hns_ae_get_handle()107 for (ae_handle->vf_id = 0; in hns_ae_get_handle()108 ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) { in hns_ae_get_handle()113 if (ae_handle->vf_id >= vfnum_per_port) { in hns_ae_get_handle()115 ae_handle = ERR_PTR(-EINVAL); in hns_ae_get_handle()[all …]
368 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw()369 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()1020 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()1080 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()1093 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()1114 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()1134 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()1144 struct hnae_handle *h = priv->ae_handle; in hns_set_irq_affinity()1189 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()1226 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()[all …]
64 struct hnae_handle *ae_handle; member88 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)])
217 struct hnae_handle ae_handle; /* must be the last number */ member427 return container_of(handle, struct hnae_vf_cb, ae_handle); in hns_ae_get_vf_cb()