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.c69 if (eth_get_dev()) { in eth_current_changed()
94 if (!eth_get_dev()) in eth_try_another()
98 first_failed = eth_get_dev(); in eth_try_another()
104 if (first_failed == eth_get_dev()) in eth_try_another()
139 return eth_get_dev() ? eth_get_dev()->name : "unknown"; in eth_get_name()
A Deth-uclass.c75 struct udevice *eth_get_dev(void) in eth_get_dev() function
150 if (eth_get_dev()) { in eth_get_ethaddr()
164 current = eth_get_dev(); in eth_init_state_only()
180 current = eth_get_dev(); in eth_halt_state_only()
190 if (eth_get_dev()) in eth_get_dev_index()
191 return dev_seq(eth_get_dev()); in eth_get_dev_index()
276 current = eth_get_dev(); in eth_init()
313 current = eth_get_dev(); in eth_init()
324 current = eth_get_dev(); in eth_halt()
353 current = eth_get_dev(); in eth_send()
[all …]
A Dnet.c343 if (eth_get_dev()) in net_init_loop()
547 if (miiphy_link(eth_get_dev()->name, CONFIG_SYS_FAULT_MII_ADDR)) in net_loop()
609 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.c103 dev = eth_get_dev(); in mii_send()
223 dev = eth_get_dev(); in __mii_init()
A Dnetconsole.c187 eth = eth_get_dev(); in nc_send_packet()
313 eth = eth_get_dev(); in nc_stdio_tstc()
/u-boot/include/
A Dnet.h175 struct udevice *eth_get_dev(void); /* get the current device */
213 static __always_inline struct eth_device *eth_get_dev(void) in eth_get_dev() function
233 eth_get_dev()->state = ETH_STATE_ACTIVE; in eth_init_state_only()
240 eth_get_dev()->state = ETH_STATE_PASSIVE; in eth_halt_state_only()
/u-boot/drivers/usb/eth/
A Dusb_ether.c204 struct eth_device *dev = eth_get_dev(); in is_eth_dev_on_usb_host()
/u-boot/lib/efi_loader/
A Defi_device_path.c994 assert(eth_get_dev()); in efi_dp_from_eth()
997 dpsize += dp_size(eth_get_dev()); in efi_dp_from_eth()
1008 buf = dp_fill(buf, eth_get_dev()); in efi_dp_from_eth()
A Defi_net.c860 if (!eth_get_dev()) { in efi_net_register()
/u-boot/common/
A Dbootm.c454 eth_unregister(eth_get_dev()); in bootm_disable_interrupts()

Completed in 24 milliseconds