Lines Matching refs:nds
128 static struct net_device *nds[3]; variable
150 dev = nds[i]; in enp2611_check_link_status()
206 nds[i] = ixpdev_alloc(i, sizeof(struct enp2611_ixpdev_priv)); in enp2611_init_module()
207 if (nds[i] == NULL) { in enp2611_init_module()
209 free_netdev(nds[i]); in enp2611_init_module()
213 nds[i]->get_stats = enp2611_get_stats; in enp2611_init_module()
215 pm3386_get_mac(i, nds[i]->dev_addr); in enp2611_init_module()
220 if (ixpdev_init(ports, nds, enp2611_set_port_admin_status)) { in enp2611_init_module()
222 if (nds[i]) in enp2611_init_module()
223 free_netdev(nds[i]); in enp2611_init_module()
243 free_netdev(nds[i]); in enp2611_cleanup_module()