Searched refs:eth_get_dev (Results 1 – 11 of 11) sorted by relevance
68 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()
66 struct udevice *eth_get_dev(void) in eth_get_dev() function137 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 …]
355 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()
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()
154 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() function212 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()
105 dev = eth_get_dev(); in mii_send()218 dev = eth_get_dev(); in __mii_init()
186 eth = eth_get_dev(); in nc_send_packet()312 eth = eth_get_dev(); in nc_stdio_tstc()
919 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()
833 if (!eth_get_dev()) { in efi_net_register()
201 struct eth_device *dev = eth_get_dev(); in is_eth_dev_on_usb_host()
417 eth_unregister(eth_get_dev()); in bootm_disable_interrupts()