Lines Matching refs:eth_device
166 struct eth_device { struct
173 int (*init)(struct eth_device *, bd_t *); argument
174 int (*send)(struct eth_device *, void *packet, int length); argument
175 int (*recv)(struct eth_device *); argument
176 void (*halt)(struct eth_device *); argument
178 int (*mcast)(struct eth_device *, const u8 *enetaddr, u8 set); argument
180 int (*write_hwaddr)(struct eth_device *); argument
181 struct eth_device *next; argument
186 int eth_register(struct eth_device *dev);/* Register network device */ argument
187 int eth_unregister(struct eth_device *dev);/* Remove network device */
189 extern struct eth_device *eth_current;
191 static __always_inline struct eth_device *eth_get_dev(void) in eth_get_dev()
195 struct eth_device *eth_get_dev_by_name(const char *devname);
196 struct eth_device *eth_get_dev_by_index(int index); /* get dev @ index */
207 int eth_is_active(struct eth_device *dev); /* Test device for active state */
230 int eth_write_hwaddr(struct eth_device *dev, const char *base_name,