Lines Matching refs:ae_handle
394 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw()
395 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()
1115 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()
1194 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()
1207 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()
1228 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()
1248 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()
1301 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()
1348 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()
1414 ops = priv->ae_handle->dev->ops; in hns_nic_net_down()
1417 ops->stop(priv->ae_handle); in hns_nic_net_down()
1421 for (i = priv->ae_handle->q_num - 1; i >= 0; i--) { in hns_nic_net_down()
1423 hns_nic_ring_close(ndev, i + priv->ae_handle->q_num); in hns_nic_net_down()
1433 struct hnae_handle *handle = priv->ae_handle; in hns_nic_net_reset()
1446 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_net_reinit()
1467 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_open()
1528 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit()
1572 struct hnae_handle *h = priv->ae_handle; in hns_enable_serdes_lb()
1603 struct hnae_handle *h = priv->ae_handle; in hns_disable_serdes_lb()
1626 struct hnae_handle *h = priv->ae_handle; in hns_nic_clear_all_rx_fetch()
1734 struct hnae_handle *h = priv->ae_handle; in hns_nic_change_mtu()
1829 struct hnae_handle *h = priv->ae_handle; in hns_nic_uc_sync()
1841 struct hnae_handle *h = priv->ae_handle; in hns_nic_uc_unsync()
1858 struct hnae_handle *h = priv->ae_handle; in hns_set_multicast_list()
1880 struct hnae_handle *h = priv->ae_handle; in hns_nic_set_rx_mode()
1904 struct hnae_handle *h = priv->ae_handle; in hns_nic_get_stats64()
1974 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_link_status()
1988 struct hnae_handle *h = priv->ae_handle; in hns_nic_dump()
1993 reg_num = ops->get_regs_len(priv->ae_handle); in hns_nic_dump()
1997 ops->get_regs(priv->ae_handle, data); in hns_nic_dump()
2021 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_reset_subtask()
2058 struct hnae_handle *h = priv->ae_handle; in hns_nic_service_task()
2104 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_ring_data()
2149 struct hnae_handle *h = priv->ae_handle; in hns_nic_uninit_ring_data()
2170 struct hnae_handle *h = priv->ae_handle; in hns_nic_set_priv_ops()
2201 priv->ae_handle = h; in hns_nic_try_get_ae()
2229 hnae_put_handle(priv->ae_handle); in hns_nic_try_get_ae()
2230 priv->ae_handle = NULL; in hns_nic_try_get_ae()
2411 if (!IS_ERR_OR_NULL(priv->ae_handle)) in hns_nic_dev_remove()
2412 hnae_put_handle(priv->ae_handle); in hns_nic_dev_remove()
2413 priv->ae_handle = NULL; in hns_nic_dev_remove()