Lines Matching defs:ndev
253 struct net_device *ndev; member
564 static void mtk_star_set_mac_addr(struct net_device *ndev) in mtk_star_set_mac_addr()
669 static struct sk_buff *mtk_star_alloc_skb(struct net_device *ndev) in mtk_star_alloc_skb()
693 static int mtk_star_prepare_rx_skbs(struct net_device *ndev) in mtk_star_prepare_rx_skbs()
771 struct net_device *ndev = data; in mtk_star_handle_irq() local
909 static void mtk_star_adjust_link(struct net_device *ndev) in mtk_star_adjust_link()
959 static int mtk_star_enable(struct net_device *ndev) in mtk_star_enable()
1037 static void mtk_star_disable(struct net_device *ndev) in mtk_star_disable()
1054 static int mtk_star_netdev_open(struct net_device *ndev) in mtk_star_netdev_open()
1059 static int mtk_star_netdev_stop(struct net_device *ndev) in mtk_star_netdev_stop()
1066 static int mtk_star_netdev_ioctl(struct net_device *ndev, in mtk_star_netdev_ioctl()
1098 struct net_device *ndev) in mtk_star_netdev_start_xmit()
1163 struct net_device *ndev = priv->ndev; in mtk_star_tx_poll() local
1193 static void mtk_star_netdev_get_stats64(struct net_device *ndev, in mtk_star_netdev_get_stats64()
1203 static void mtk_star_set_rx_mode(struct net_device *ndev) in mtk_star_set_rx_mode()
1275 struct net_device *ndev = priv->ndev; in mtk_star_rx() local
1421 static int mtk_star_mdio_init(struct net_device *ndev) in mtk_star_mdio_init()
1462 struct net_device *ndev; in mtk_star_suspend() local
1478 struct net_device *ndev; in mtk_star_resume() local
1527 struct net_device *ndev; in mtk_star_probe() local
1656 static int mt8516_set_interface_mode(struct net_device *ndev) in mt8516_set_interface_mode()
1689 static int mt8365_set_interface_mode(struct net_device *ndev) in mt8365_set_interface_mode()