Home
last modified time | relevance | path

Searched refs:eth_get_dev (Results 1 – 11 of 11) sorted by relevance

/u-boot/net/
A Deth_common.c71 if (eth_get_dev()) { in eth_current_changed()
96 if (!eth_get_dev()) in eth_try_another()
100 first_failed = eth_get_dev(); in eth_try_another()
106 if (first_failed == eth_get_dev()) in eth_try_another()
141 return eth_get_dev() ? eth_get_dev()->name : "unknown"; in eth_get_name()
A Deth-uclass.c100 struct udevice *eth_get_dev(void) in eth_get_dev() function
181 if (eth_get_dev()) { in eth_get_ethaddr()
195 current = eth_get_dev(); in eth_init_state_only()
211 current = eth_get_dev(); in eth_halt_state_only()
221 if (eth_get_dev()) in eth_get_dev_index()
222 return dev_seq(eth_get_dev()); in eth_get_dev_index()
307 current = eth_get_dev(); in eth_init()
344 current = eth_get_dev(); in eth_init()
355 current = eth_get_dev(); in eth_halt()
384 current = eth_get_dev(); in eth_send()
[all …]
A Dnet.c356 if (eth_get_dev()) { in net_init_loop()
620 if (miiphy_link(eth_get_dev()->name, CONFIG_SYS_FAULT_MII_ADDR)) in net_loop()
687 if (miiphy_link(eth_get_dev()->name, in net_loop()
/u-boot/api/
A Dapi_net.c29 return ((void *)eth_get_dev() == cookie) ? 1 : 0; in dev_valid_net()
58 struct eth_device *eth_current = eth_get_dev(); in dev_enum_net()
/u-boot/drivers/net/
A Dmcfmii.c95 dev = eth_get_dev(); in mii_send()
205 dev = eth_get_dev(); in mii_init()
A Dnetconsole.c183 eth = eth_get_dev(); in nc_send_packet()
305 eth = eth_get_dev(); in nc_stdio_tstc()
/u-boot/lib/efi_loader/
A Defi_device_path.c1078 assert(eth_get_dev()); in efi_dp_from_eth()
1080 dpsize += dp_size(eth_get_dev()); in efi_dp_from_eth()
1086 buf = dp_fill(buf, eth_get_dev()); in efi_dp_from_eth()
A Defi_net.c866 if (!eth_get_dev()) { in efi_net_register()
/u-boot/include/
A Dnet.h185 struct udevice *eth_get_dev(void); /* get the current device */
/u-boot/cmd/
A Dnet.c681 const struct udevice *current = eth_get_dev(); in do_net_list()
/u-boot/drivers/net/phy/
A Dphy.c1218 struct eth_pdata *pdata = dev_get_plat(eth_get_dev()); in phy_interface_is_ncsi()

Completed in 25 milliseconds