Searched refs:ae_handle (Results 1 – 8 of 8) sorted by relevance
45 h = priv->ae_handle; in hns_nic_get_link()125 if (!priv || !priv->ae_handle) in hns_nic_get_link_ksettings()128 h = priv->ae_handle; in hns_nic_get_link_ksettings()211 if (!priv || !priv->ae_handle || !priv->ae_handle->dev || in hns_nic_set_link_ksettings()212 !priv->ae_handle->dev->ops) in hns_nic_set_link_ksettings()215 h = priv->ae_handle; in hns_nic_set_link_ksettings()289 struct hnae_handle *h = priv->ae_handle; in __lb_setup()299 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)) in __lb_setup()311 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_setup()340 struct hnae_handle *h = priv->ae_handle; in __lb_up()[all …]
76 struct hnae_handle *ae_handle; in hns_ae_get_handle() local90 ae_handle = ERR_PTR(-ENOMEM); in hns_ae_get_handle()93 ae_handle = &vf_cb->ae_handle; in hns_ae_get_handle()95 ae_handle->owner_dev = dsaf_dev->dev; in hns_ae_get_handle()96 ae_handle->dev = dev; in hns_ae_get_handle()97 ae_handle->q_num = qnum_per_vf; in hns_ae_get_handle()98 ae_handle->coal_param = HNAE_LOWEST_LATENCY_COAL_PARAM; in hns_ae_get_handle()101 for (ae_handle->vf_id = 0; in hns_ae_get_handle()102 ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) { in hns_ae_get_handle()107 if (ae_handle->vf_id >= vfnum_per_port) { in hns_ae_get_handle()[all …]
370 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw()371 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()1094 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()1173 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()1186 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()1207 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()1227 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()1280 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()1327 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()1393 ops = priv->ae_handle->dev->ops; in hns_nic_net_down()[all …]
61 struct hnae_handle *ae_handle; member85 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)])
213 struct hnae_handle ae_handle; /* must be the last number */ member425 return container_of(handle, struct hnae_vf_cb, ae_handle); in hns_ae_get_vf_cb()
248 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_gl_rl_init_hw()367 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up()468 h->ae_algo->ops->set_timer_task(priv->ae_handle, true); in hns3_nic_net_open()507 ops = priv->ae_handle->ae_algo->ops; in hns3_nic_net_down()509 ops->stop(priv->ae_handle); in hns3_nic_net_down()521 hns3_clear_all_ring(priv->ae_handle, false); in hns3_nic_net_down()523 hns3_reset_tx_queue(priv->ae_handle); in hns3_nic_net_down()537 h->ae_algo->ops->set_timer_task(priv->ae_handle, false); in hns3_nic_net_stop()643 struct hnae3_handle *h = priv->ae_handle; in hns3_update_promisc_mode()657 struct hnae3_handle *h = priv->ae_handle; in hns3_enable_vlan_filter()[all …]
195 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring()301 struct hnae3_handle *h = priv->ae_handle; in hns3_self_test()542 struct hnae3_handle *h = priv->ae_handle; in hns3_get_drvinfo()562 fw_version = priv->ae_handle->ae_algo->ops->get_fw_version(h); in hns3_get_drvinfo()590 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ringparam()897 struct hnae3_handle *h = priv->ae_handle; in hns3_change_all_ring_bd_num()912 struct hnae3_handle *handle = priv->ae_handle; in hns3_backup_ringparam()955 struct hnae3_handle *h = priv->ae_handle; in hns3_set_ringparam()1088 struct hnae3_handle *h = priv->ae_handle; in hns3_get_coalesce_per_queue()1224 struct hnae3_handle *h = priv->ae_handle; in hns3_set_coalesce_per_queue()
511 struct hnae3_handle *ae_handle; member639 (((struct hns3_nic_priv *)netdev_priv(ndev))->ae_handle)