Lines Matching refs:eth_device
165 struct eth_device { struct
172 int (*init)(struct eth_device *, bd_t *); argument
173 int (*send)(struct eth_device *, void *packet, int length); argument
174 int (*recv)(struct eth_device *); argument
175 void (*halt)(struct eth_device *); argument
176 int (*mcast)(struct eth_device *, const u8 *enetaddr, int join); argument
177 int (*write_hwaddr)(struct eth_device *); argument
178 struct eth_device *next; argument
183 int eth_register(struct eth_device *dev);/* Register network device */ argument
184 int eth_unregister(struct eth_device *dev);/* Remove network device */
186 extern struct eth_device *eth_current;
188 static __always_inline struct eth_device *eth_get_dev(void) in eth_get_dev()
192 struct eth_device *eth_get_dev_by_name(const char *devname);
193 struct eth_device *eth_get_dev_by_index(int index); /* get dev @ index */
204 int eth_is_active(struct eth_device *dev); /* Test device for active state */
227 int eth_write_hwaddr(struct eth_device *dev, const char *base_name,