Searched refs:eth_get_dev (Results 1 – 11 of 11) sorted by relevance
69 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()
75 struct udevice *eth_get_dev(void) in eth_get_dev() function150 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 …]
343 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()
29 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()
103 dev = eth_get_dev(); in mii_send()223 dev = eth_get_dev(); in __mii_init()
187 eth = eth_get_dev(); in nc_send_packet()313 eth = eth_get_dev(); in nc_stdio_tstc()
175 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() function233 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()
204 struct eth_device *dev = eth_get_dev(); in is_eth_dev_on_usb_host()
994 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()
860 if (!eth_get_dev()) { in efi_net_register()
454 eth_unregister(eth_get_dev()); in bootm_disable_interrupts()
Completed in 24 milliseconds