Searched refs:registered_netdevs (Results 1 – 2 of 2) sorted by relevance
225 struct net_device *registered_netdevs[PRUETH_NUM_MACS]; member
2137 prueth->registered_netdevs[PRUETH_MAC0] = prueth->emac[PRUETH_MAC0]->ndev; in prueth_probe()2155 prueth->registered_netdevs[PRUETH_MAC1] = prueth->emac[PRUETH_MAC1]->ndev; in prueth_probe()2176 if (!prueth->registered_netdevs[i]) in prueth_probe()2182 unregister_netdev(prueth->registered_netdevs[i]); in prueth_probe()2235 if (!prueth->registered_netdevs[i]) in prueth_remove()2240 unregister_netdev(prueth->registered_netdevs[i]); in prueth_remove()2280 ndev = prueth->registered_netdevs[i]; in prueth_suspend()2305 ndev = prueth->registered_netdevs[i]; in prueth_resume()