Lines Matching refs:ae_handle

377 	assert(skb->queue_mapping < priv->ae_handle->q_num);  in hns_nic_net_xmit_hw()
378 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()
1120 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()
1195 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()
1208 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()
1229 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()
1249 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()
1286 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()
1329 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()
1391 ops = priv->ae_handle->dev->ops; in hns_nic_net_down()
1394 ops->stop(priv->ae_handle); in hns_nic_net_down()
1398 for (i = priv->ae_handle->q_num - 1; i >= 0; i--) { in hns_nic_net_down()
1400 hns_nic_ring_close(ndev, i + priv->ae_handle->q_num); in hns_nic_net_down()
1410 struct hnae_handle *handle = priv->ae_handle; in hns_nic_net_reset()
1423 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_net_reinit()
1444 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_open()
1511 assert(skb->queue_mapping < ndev->ae_handle->q_num); in hns_nic_net_xmit()
1555 struct hnae_handle *h = priv->ae_handle; in hns_enable_serdes_lb()
1586 struct hnae_handle *h = priv->ae_handle; in hns_disable_serdes_lb()
1609 struct hnae_handle *h = priv->ae_handle; in hns_nic_clear_all_rx_fetch()
1715 struct hnae_handle *h = priv->ae_handle; in hns_nic_change_mtu()
1819 struct hnae_handle *h = priv->ae_handle; in hns_nic_uc_sync()
1831 struct hnae_handle *h = priv->ae_handle; in hns_nic_uc_unsync()
1849 struct hnae_handle *h = priv->ae_handle; in hns_set_multicast_list()
1871 struct hnae_handle *h = priv->ae_handle; in hns_nic_set_rx_mode()
1895 struct hnae_handle *h = priv->ae_handle; in hns_nic_get_stats64()
1966 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_link_status()
1980 struct hnae_handle *h = priv->ae_handle; in hns_nic_dump()
1985 reg_num = ops->get_regs_len(priv->ae_handle); in hns_nic_dump()
1989 ops->get_regs(priv->ae_handle, data); in hns_nic_dump()
2013 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_reset_subtask()
2050 struct hnae_handle *h = priv->ae_handle; in hns_nic_service_task()
2096 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_ring_data()
2143 struct hnae_handle *h = priv->ae_handle; in hns_nic_uninit_ring_data()
2164 struct hnae_handle *h = priv->ae_handle; in hns_nic_set_priv_ops()
2202 priv->ae_handle = h; in hns_nic_try_get_ae()
2230 hnae_put_handle(priv->ae_handle); in hns_nic_try_get_ae()
2231 priv->ae_handle = NULL; in hns_nic_try_get_ae()
2406 if (!IS_ERR_OR_NULL(priv->ae_handle)) in hns_nic_dev_remove()
2407 hnae_put_handle(priv->ae_handle); in hns_nic_dev_remove()
2408 priv->ae_handle = NULL; in hns_nic_dev_remove()