Searched refs:ae_handle (Results 1 – 5 of 5) sorted by relevance
50 assert(priv && priv->ae_handle); in hns_nic_get_link()51 h = priv->ae_handle; in hns_nic_get_link()133 if (!priv || !priv->ae_handle) in hns_nic_get_settings()136 h = priv->ae_handle; in hns_nic_get_settings()202 if (!priv || !priv->ae_handle || !priv->ae_handle->dev || in hns_nic_set_settings()203 !priv->ae_handle->dev->ops) in hns_nic_set_settings()206 h = priv->ae_handle; in hns_nic_set_settings()314 struct hnae_handle *h = priv->ae_handle; in __lb_setup()323 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)) in __lb_setup()335 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_setup()[all …]
118 struct hnae_handle *ae_handle; in hns_ae_get_handle() local133 ae_handle = ERR_PTR(-ENOMEM); in hns_ae_get_handle()136 ae_handle = &vf_cb->ae_handle; in hns_ae_get_handle()138 ae_handle->owner_dev = dsaf_dev->dev; in hns_ae_get_handle()139 ae_handle->dev = dev; in hns_ae_get_handle()140 ae_handle->q_num = qnum_per_vf; in hns_ae_get_handle()143 for (ae_handle->vf_id = 0; in hns_ae_get_handle()144 ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) { in hns_ae_get_handle()149 if (ae_handle->vf_id >= vfnum_per_port) { in hns_ae_get_handle()151 ae_handle = ERR_PTR(-EINVAL); in hns_ae_get_handle()[all …]
176 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw()177 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()742 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()784 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()797 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()818 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()843 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()853 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()897 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()964 ops = priv->ae_handle->dev->ops; in hns_nic_net_down()[all …]
52 struct hnae_handle *ae_handle; member74 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)])
187 struct hnae_handle ae_handle; /* must be the last number */ member380 return container_of(handle, struct hnae_vf_cb, ae_handle); in hns_ae_get_vf_cb()