Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c49 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 …]
Dhns_ae_adapt.c83 struct hnae_handle *ae_handle; in hns_ae_get_handle() local
97 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 …]
Dhns_enet.c368 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 …]
Dhns_enet.h64 struct hnae_handle *ae_handle; member
88 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)])
Dhns_dsaf_main.h217 struct hnae_handle ae_handle; /* must be the last number */ member
427 return container_of(handle, struct hnae_vf_cb, ae_handle); in hns_ae_get_vf_cb()