Lines Matching refs:eth_device
38 static struct eth_device *eth_devices;
39 struct eth_device *eth_current;
46 void eth_set_dev(struct eth_device *dev) in eth_set_dev()
51 struct eth_device *eth_get_dev_by_name(const char *devname) in eth_get_dev_by_name()
53 struct eth_device *dev, *target_dev; in eth_get_dev_by_name()
73 struct eth_device *eth_get_dev_by_index(int index) in eth_get_dev_by_index()
75 struct eth_device *dev, *target_dev; in eth_get_dev_by_index()
105 struct eth_device *dev; in on_ethaddr()
133 int eth_write_hwaddr(struct eth_device *dev, const char *base_name, in eth_write_hwaddr()
184 int eth_register(struct eth_device *dev) in eth_register()
186 struct eth_device *d; in eth_register()
208 int eth_unregister(struct eth_device *dev) in eth_unregister()
210 struct eth_device *cur; in eth_unregister()
262 struct eth_device *dev = eth_devices; in eth_initialize()
314 struct eth_device *old_current; in eth_init()
348 int eth_is_active(struct eth_device *dev) in eth_is_active()