Home
last modified time | relevance | path

Searched refs:eth_current (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/net/
H A Deth_legacy.c43 eth_current = eth_current->next; in eth_set_current_to_next()
48 eth_current = dev; in eth_set_dev()
95 if (!eth_current) in eth_get_dev_index()
301 if (!eth_current || !eth_current->mcast) in eth_mcast_join()
309 return eth_current->mcast(eth_current, mcast_mac, join); in eth_mcast_join()
325 if (eth_current->init(eth_current, gd->bd) >= 0) { in eth_init()
340 if (!eth_current) in eth_halt()
343 eth_current->halt(eth_current); in eth_halt()
355 if (!eth_current) in eth_send()
358 return eth_current->send(eth_current, packet, length); in eth_send()
[all …]
/openbmc/u-boot/api/
H A Dapi_net.c58 struct eth_device *eth_current = eth_get_dev(); in dev_enum_net() local
61 di->cookie = (void *)eth_current; in dev_enum_net()
65 memcpy(di->di_net.hwaddr, eth_current->enetaddr, 6); in dev_enum_net()
/openbmc/u-boot/include/
H A Dnet.h186 extern struct eth_device *eth_current;
190 return eth_current; in eth_get_dev()
198 if (eth_current) in eth_get_ethaddr()
199 return eth_current->enetaddr; in eth_get_ethaddr()