Home
last modified time | relevance | path

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

/external/u-boot/net/
Deth_common.c68 if (eth_get_dev()) { in eth_current_changed()
93 if (!eth_get_dev()) in eth_try_another()
97 first_failed = eth_get_dev(); in eth_try_another()
103 if (first_failed == eth_get_dev()) in eth_try_another()
138 return eth_get_dev() ? eth_get_dev()->name : "unknown"; in eth_get_name()
Deth-uclass.c66 struct udevice *eth_get_dev(void) in eth_get_dev() function
137 if (eth_get_dev()) { in eth_get_ethaddr()
138 pdata = eth_get_dev()->platdata; in eth_get_ethaddr()
151 current = eth_get_dev(); in eth_init_state_only()
167 current = eth_get_dev(); in eth_halt_state_only()
177 if (eth_get_dev()) in eth_get_dev_index()
178 return eth_get_dev()->seq; in eth_get_dev_index()
263 current = eth_get_dev(); in eth_init()
299 current = eth_get_dev(); in eth_init()
310 current = eth_get_dev(); in eth_halt()
[all …]
Dnet.c355 if (eth_get_dev()) in net_init_loop()
548 if (miiphy_link(eth_get_dev()->name, CONFIG_SYS_FAULT_MII_ADDR)) in net_loop()
610 if (miiphy_link(eth_get_dev()->name, in net_loop()
/external/u-boot/api/
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()
/external/u-boot/include/
Dnet.h154 struct udevice *eth_get_dev(void); /* get the current device */
192 static __always_inline struct eth_device *eth_get_dev(void) in eth_get_dev() function
212 eth_get_dev()->state = ETH_STATE_ACTIVE; in eth_init_state_only()
219 eth_get_dev()->state = ETH_STATE_PASSIVE; in eth_halt_state_only()
/external/u-boot/drivers/net/
Dmcfmii.c105 dev = eth_get_dev(); in mii_send()
218 dev = eth_get_dev(); in __mii_init()
Dnetconsole.c186 eth = eth_get_dev(); in nc_send_packet()
312 eth = eth_get_dev(); in nc_stdio_tstc()
/external/u-boot/lib/efi_loader/
Defi_device_path.c919 assert(eth_get_dev()); in efi_dp_from_eth()
922 dpsize += dp_size(eth_get_dev()); in efi_dp_from_eth()
933 buf = dp_fill(buf, eth_get_dev()); in efi_dp_from_eth()
Defi_net.c833 if (!eth_get_dev()) { in efi_net_register()
/external/u-boot/drivers/usb/eth/
Dusb_ether.c201 struct eth_device *dev = eth_get_dev(); in is_eth_dev_on_usb_host()
/external/u-boot/common/
Dbootm.c417 eth_unregister(eth_get_dev()); in bootm_disable_interrupts()