Lines Matching refs:eth_device
39 static struct eth_device *eth_devices;
40 struct eth_device *eth_current;
47 void eth_set_dev(struct eth_device *dev) in eth_set_dev()
52 struct eth_device *eth_get_dev_by_name(const char *devname) in eth_get_dev_by_name()
54 struct eth_device *dev, *target_dev; in eth_get_dev_by_name()
74 struct eth_device *eth_get_dev_by_index(int index) in eth_get_dev_by_index()
76 struct eth_device *dev, *target_dev; in eth_get_dev_by_index()
106 struct eth_device *dev; in on_ethaddr()
134 int eth_write_hwaddr(struct eth_device *dev, const char *base_name, in eth_write_hwaddr()
185 int eth_register(struct eth_device *dev) in eth_register()
187 struct eth_device *d; in eth_register()
209 int eth_unregister(struct eth_device *dev) in eth_unregister()
211 struct eth_device *cur; in eth_unregister()
263 struct eth_device *dev = eth_devices; in eth_initialize()
343 struct eth_device *old_current; in eth_init()
377 int eth_is_active(struct eth_device *dev) in eth_is_active()