Lines Matching defs:ndev
103 int hns_nic_net_xmit_hw(struct net_device *ndev, in hns_nic_net_xmit_hw()
336 struct net_device *ndev = ring_data->napi.dev; in hns_nic_poll_rx_skb() local
467 struct net_device *ndev = ring_data->napi.dev; in hns_nic_alloc_rx_buffers() local
496 struct net_device *ndev = ring_data->napi.dev; in hns_nic_rx_up_pro() local
606 #define NETIF_TX_LOCK(ndev) netif_tx_lock(ndev) argument
607 #define NETIF_TX_UNLOCK(ndev) netif_tx_unlock(ndev) argument
609 #define NETIF_TX_LOCK(ndev) argument
610 #define NETIF_TX_UNLOCK(ndev) argument
619 struct net_device *ndev = ring_data->napi.dev; in hns_nic_tx_poll_one() local
687 struct net_device *ndev = ring_data->napi.dev; in hns_nic_tx_clr_all_bufs() local
739 static void hns_nic_adjust_link(struct net_device *ndev) in hns_nic_adjust_link()
753 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h) in hns_nic_init_phy()
794 static int hns_nic_net_set_mac_address(struct net_device *ndev, void *p) in hns_nic_net_set_mac_address()
824 static void hns_init_mac_addr(struct net_device *ndev) in hns_init_mac_addr()
894 static int hns_nic_net_up(struct net_device *ndev) in hns_nic_net_up()
946 static void hns_nic_net_down(struct net_device *ndev) in hns_nic_net_down()
980 void hns_nic_net_reset(struct net_device *ndev) in hns_nic_net_reset()
1007 static int hns_nic_net_open(struct net_device *ndev) in hns_nic_net_open()
1043 static int hns_nic_net_stop(struct net_device *ndev) in hns_nic_net_stop()
1051 static void hns_nic_net_timeout(struct net_device *ndev) in hns_nic_net_timeout()
1075 void hns_nic_poll_controller(struct net_device *ndev) in hns_nic_poll_controller()
1089 struct net_device *ndev) in hns_nic_net_xmit()
1105 static int hns_nic_change_mtu(struct net_device *ndev, int new_mtu) in hns_nic_change_mtu()
1146 void hns_set_multicast_list(struct net_device *ndev) in hns_set_multicast_list()
1164 void hns_nic_set_rx_mode(struct net_device *ndev) in hns_nic_set_rx_mode()
1179 struct rtnl_link_stats64 *hns_nic_get_stats64(struct net_device *ndev, in hns_nic_get_stats64()
1449 static int hns_nic_try_get_ae(struct net_device *ndev) in hns_nic_try_get_ae()
1512 struct net_device *ndev; in hns_nic_dev_probe() local
1592 struct net_device *ndev = platform_get_drvdata(pdev); in hns_nic_dev_remove() local