Lines Matching refs:hns_nic_priv
330 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_net_xmit_hw()
567 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_poll_rx_skb()
977 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_tx_poll_one()
1114 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_adjust_link()
1193 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_ring_open()
1206 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_net_set_mac_address()
1227 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_update_stats()
1236 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_init_mac_addr()
1247 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_ring_close()
1283 static void hns_nic_free_irq(int q_num, struct hns_nic_priv *priv) in hns_nic_free_irq()
1299 static int hns_nic_init_irq(struct hns_nic_priv *priv) in hns_nic_init_irq()
1347 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_net_up()
1400 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_net_down()
1432 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_net_reset()
1445 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_net_reinit()
1466 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_net_open()
1507 static void hns_tx_timeout_reset(struct hns_nic_priv *priv);
1511 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_net_timeout()
1526 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_net_xmit()
1571 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_enable_serdes_lb()
1602 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_disable_serdes_lb()
1625 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_clear_all_rx_fetch()
1733 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_change_mtu()
1796 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_set_features()
1813 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_fix_features()
1828 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_uc_sync()
1840 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_uc_unsync()
1857 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_set_multicast_list()
1879 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_set_rx_mode()
1903 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_get_stats64()
1945 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_select_queue()
1972 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_update_link_status()
1986 static void hns_nic_dump(struct hns_nic_priv *priv) in hns_nic_dump()
2019 static void hns_nic_reset_subtask(struct hns_nic_priv *priv) in hns_nic_reset_subtask()
2046 static void hns_nic_service_event_complete(struct hns_nic_priv *priv) in hns_nic_service_event_complete()
2056 struct hns_nic_priv *priv in hns_nic_service_task()
2057 = container_of(work, struct hns_nic_priv, service_task); in hns_nic_service_task()
2068 static void hns_nic_task_schedule(struct hns_nic_priv *priv) in hns_nic_task_schedule()
2078 struct hns_nic_priv *priv = from_timer(priv, t, service_timer); in hns_nic_service_timer()
2089 static void hns_tx_timeout_reset(struct hns_nic_priv *priv) in hns_tx_timeout_reset()
2102 static int hns_nic_init_ring_data(struct hns_nic_priv *priv) in hns_nic_init_ring_data()
2147 static void hns_nic_uninit_ring_data(struct hns_nic_priv *priv) in hns_nic_uninit_ring_data()
2169 struct hns_nic_priv *priv = netdev_priv(netdev); in hns_nic_set_priv_ops()
2190 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_try_get_ae()
2238 struct hns_nic_priv *priv = in hns_nic_notifier_action()
2239 container_of(nb, struct hns_nic_priv, notifier_block); in hns_nic_notifier_action()
2254 struct hns_nic_priv *priv; in hns_nic_dev_probe()
2258 ndev = alloc_etherdev_mq(sizeof(struct hns_nic_priv), NIC_MAX_Q_PER_VF); in hns_nic_dev_probe()
2399 struct hns_nic_priv *priv = netdev_priv(ndev); in hns_nic_dev_remove()