Lines Matching refs:ae_handle

369 	assert(skb->queue_mapping < priv->ae_handle->q_num);  in hns_nic_net_xmit_hw()
370 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()
1090 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()
1169 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()
1182 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()
1203 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()
1223 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()
1276 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()
1323 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()
1389 ops = priv->ae_handle->dev->ops; in hns_nic_net_down()
1392 ops->stop(priv->ae_handle); in hns_nic_net_down()
1396 for (i = priv->ae_handle->q_num - 1; i >= 0; i--) { in hns_nic_net_down()
1398 hns_nic_ring_close(ndev, i + priv->ae_handle->q_num); in hns_nic_net_down()
1408 struct hnae_handle *handle = priv->ae_handle; in hns_nic_net_reset()
1421 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_net_reinit()
1442 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_open()
1503 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit()
1547 struct hnae_handle *h = priv->ae_handle; in hns_enable_serdes_lb()
1578 struct hnae_handle *h = priv->ae_handle; in hns_disable_serdes_lb()
1601 struct hnae_handle *h = priv->ae_handle; in hns_nic_clear_all_rx_fetch()
1709 struct hnae_handle *h = priv->ae_handle; in hns_nic_change_mtu()
1813 struct hnae_handle *h = priv->ae_handle; in hns_nic_uc_sync()
1825 struct hnae_handle *h = priv->ae_handle; in hns_nic_uc_unsync()
1842 struct hnae_handle *h = priv->ae_handle; in hns_set_multicast_list()
1864 struct hnae_handle *h = priv->ae_handle; in hns_nic_set_rx_mode()
1888 struct hnae_handle *h = priv->ae_handle; in hns_nic_get_stats64()
1958 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_link_status()
1972 struct hnae_handle *h = priv->ae_handle; in hns_nic_dump()
1977 reg_num = ops->get_regs_len(priv->ae_handle); in hns_nic_dump()
1981 ops->get_regs(priv->ae_handle, data); in hns_nic_dump()
2005 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_reset_subtask()
2042 struct hnae_handle *h = priv->ae_handle; in hns_nic_service_task()
2088 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_ring_data()
2133 struct hnae_handle *h = priv->ae_handle; in hns_nic_uninit_ring_data()
2154 struct hnae_handle *h = priv->ae_handle; in hns_nic_set_priv_ops()
2192 priv->ae_handle = h; in hns_nic_try_get_ae()
2220 hnae_put_handle(priv->ae_handle); in hns_nic_try_get_ae()
2221 priv->ae_handle = NULL; in hns_nic_try_get_ae()
2402 if (!IS_ERR_OR_NULL(priv->ae_handle)) in hns_nic_dev_remove()
2403 hnae_put_handle(priv->ae_handle); in hns_nic_dev_remove()
2404 priv->ae_handle = NULL; in hns_nic_dev_remove()