Lines Matching refs:eth_device
44 static struct eth_device *eth_devices;
45 struct eth_device *eth_current;
52 void eth_set_dev(struct eth_device *dev) in eth_set_dev()
57 struct eth_device *eth_get_dev_by_name(const char *devname) in eth_get_dev_by_name()
59 struct eth_device *dev, *target_dev; in eth_get_dev_by_name()
79 struct eth_device *eth_get_dev_by_index(int index) in eth_get_dev_by_index()
81 struct eth_device *dev, *target_dev; in eth_get_dev_by_index()
111 struct eth_device *dev; in on_ethaddr()
139 int eth_write_hwaddr(struct eth_device *dev, const char *base_name, in eth_write_hwaddr()
190 int eth_register(struct eth_device *dev) in eth_register()
192 struct eth_device *d; in eth_register()
214 int eth_unregister(struct eth_device *dev) in eth_unregister()
216 struct eth_device *cur; in eth_unregister()
268 struct eth_device *dev = eth_devices; in eth_initialize()
320 struct eth_device *old_current; in eth_init()
354 int eth_is_active(struct eth_device *dev) in eth_is_active()