Lines Matching refs:ndev
213 skb = netdev_alloc_skb(ugeth->ndev, in get_new_skb()
1553 netif_device_detach(ugeth->ndev); in ugeth_quiesce()
1556 netif_tx_disable(ugeth->ndev); in ugeth_quiesce()
1569 netif_device_attach(ugeth->ndev); in ugeth_activate()
3168 dev = ugeth->ndev; in ucc_geth_rx()
3201 skb->protocol = eth_type_trans(skb, ugeth->ndev); in ucc_geth_rx()
3292 ucc_geth_tx(ugeth->ndev, i); in ucc_geth_poll()
3397 struct net_device *dev = ugeth->ndev; in ucc_geth_init_mac()
3505 free_irq(ugeth->ug_info->uf_info.irq, ugeth->ndev); in ucc_geth_close()
3519 dev = ugeth->ndev; in ucc_geth_timeout_work()
3559 struct net_device *ndev = platform_get_drvdata(ofdev); in ucc_geth_suspend() local
3560 struct ucc_geth_private *ugeth = netdev_priv(ndev); in ucc_geth_suspend()
3562 if (!netif_running(ndev)) in ucc_geth_suspend()
3565 netif_device_detach(ndev); in ucc_geth_suspend()
3587 struct net_device *ndev = platform_get_drvdata(ofdev); in ucc_geth_resume() local
3588 struct ucc_geth_private *ugeth = netdev_priv(ndev); in ucc_geth_resume()
3591 if (!netif_running(ndev)) in ucc_geth_resume()
3610 netdev_err(ndev, "Cannot initialize MAC, aborting\n"); in ucc_geth_resume()
3623 netif_device_attach(ndev); in ucc_geth_resume()
3916 ugeth->ndev = dev; in ucc_geth_probe()