Lines Matching refs:ae_handle
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()
1396 ops->stop(priv->ae_handle); in hns_nic_net_down()
1400 for (i = priv->ae_handle->q_num - 1; i >= 0; i--) { in hns_nic_net_down()
1402 hns_nic_ring_close(ndev, i + priv->ae_handle->q_num); in hns_nic_net_down()
1412 struct hnae_handle *handle = priv->ae_handle; in hns_nic_net_reset()
1425 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_net_reinit()
1446 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_open()
1521 assert(skb->queue_mapping < ndev->ae_handle->q_num); in hns_nic_net_xmit()
1565 struct hnae_handle *h = priv->ae_handle; in hns_enable_serdes_lb()
1596 struct hnae_handle *h = priv->ae_handle; in hns_disable_serdes_lb()
1619 struct hnae_handle *h = priv->ae_handle; in hns_nic_clear_all_rx_fetch()
1725 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()
1859 struct hnae_handle *h = priv->ae_handle; in hns_set_multicast_list()
1881 struct hnae_handle *h = priv->ae_handle; in hns_nic_set_rx_mode()
1905 struct hnae_handle *h = priv->ae_handle; in hns_nic_get_stats64()
1975 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_link_status()
1989 struct hnae_handle *h = priv->ae_handle; in hns_nic_dump()
1994 reg_num = ops->get_regs_len(priv->ae_handle); in hns_nic_dump()
1998 ops->get_regs(priv->ae_handle, data); in hns_nic_dump()
2022 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_reset_subtask()
2059 struct hnae_handle *h = priv->ae_handle; in hns_nic_service_task()
2105 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_ring_data()
2152 struct hnae_handle *h = priv->ae_handle; in hns_nic_uninit_ring_data()
2173 struct hnae_handle *h = priv->ae_handle; in hns_nic_set_priv_ops()
2211 priv->ae_handle = h; in hns_nic_try_get_ae()
2239 hnae_put_handle(priv->ae_handle); in hns_nic_try_get_ae()
2240 priv->ae_handle = NULL; in hns_nic_try_get_ae()
2418 if (!IS_ERR_OR_NULL(priv->ae_handle)) in hns_nic_dev_remove()
2419 hnae_put_handle(priv->ae_handle); in hns_nic_dev_remove()
2420 priv->ae_handle = NULL; in hns_nic_dev_remove()