Lines Matching refs:ae_handle

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()
967 ops->stop(priv->ae_handle); in hns_nic_net_down()
971 for (i = priv->ae_handle->q_num - 1; i >= 0; i--) { in hns_nic_net_down()
973 hns_nic_ring_close(ndev, i + priv->ae_handle->q_num); in hns_nic_net_down()
983 struct hnae_handle *handle = priv->ae_handle; in hns_nic_net_reset()
1010 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_open()
1082 for (i = 0; i < priv->ae_handle->q_num * 2; i++) in hns_nic_poll_controller()
1094 assert(skb->queue_mapping < ndev->ae_handle->q_num); in hns_nic_net_xmit()
1108 struct hnae_handle *h = priv->ae_handle; in hns_nic_change_mtu()
1149 struct hnae_handle *h = priv->ae_handle; in hns_set_multicast_list()
1167 struct hnae_handle *h = priv->ae_handle; in hns_nic_set_rx_mode()
1188 struct hnae_handle *h = priv->ae_handle; in hns_nic_get_stats64()
1245 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_link_status()
1272 struct hnae_handle *h = priv->ae_handle; in hns_nic_dump()
1277 reg_num = ops->get_regs_len(priv->ae_handle); in hns_nic_dump()
1281 ops->get_regs(priv->ae_handle, data); in hns_nic_dump()
1305 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_reset_subtask()
1343 struct hnae_handle *h = priv->ae_handle; in hns_nic_service_task()
1389 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_ring_data()
1432 struct hnae_handle *h = priv->ae_handle; in hns_nic_uninit_ring_data()
1462 priv->ae_handle = h; in hns_nic_try_get_ae()
1488 hnae_put_handle(priv->ae_handle); in hns_nic_try_get_ae()
1489 priv->ae_handle = NULL; in hns_nic_try_get_ae()
1606 if (!IS_ERR_OR_NULL(priv->ae_handle)) in hns_nic_dev_remove()
1607 hnae_put_handle(priv->ae_handle); in hns_nic_dev_remove()
1608 priv->ae_handle = NULL; in hns_nic_dev_remove()