Lines Matching refs:ndev
390 static int softing_netdev_open(struct net_device *ndev) in softing_netdev_open() argument
395 ret = open_candev(ndev); in softing_netdev_open()
397 ret = softing_startstop(ndev, 1); in softing_netdev_open()
401 static int softing_netdev_stop(struct net_device *ndev) in softing_netdev_stop() argument
405 netif_stop_queue(ndev); in softing_netdev_stop()
408 ret = softing_startstop(ndev, 0); in softing_netdev_stop()
412 static int softing_candev_set_mode(struct net_device *ndev, enum can_mode mode) in softing_candev_set_mode() argument
419 ret = softing_startstop(ndev, 1); in softing_candev_set_mode()
563 struct net_device *ndev = to_net_dev(dev); in show_chip() local
564 struct softing_priv *priv = netdev2softing(ndev); in show_chip()
572 struct net_device *ndev = to_net_dev(dev); in show_output() local
573 struct softing_priv *priv = netdev2softing(ndev); in show_output()
581 struct net_device *ndev = to_net_dev(dev); in store_output() local
582 struct softing_priv *priv = netdev2softing(ndev); in store_output()
595 if (netif_running(ndev)) { in store_output()