Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/net/
H A Deth-uclass.c67 struct udevice *eth_get_dev(void) in eth_get_dev() function
138 if (eth_get_dev()) { in eth_get_ethaddr()
139 pdata = eth_get_dev()->platdata; in eth_get_ethaddr()
152 current = eth_get_dev(); in eth_init_state_only()
168 current = eth_get_dev(); in eth_halt_state_only()
178 if (eth_get_dev()) in eth_get_dev_index()
179 return eth_get_dev()->seq; in eth_get_dev_index()
264 current = eth_get_dev(); in eth_init()
300 current = eth_get_dev(); in eth_init()
311 current = eth_get_dev(); in eth_halt()
[all …]
H A Deth_common.c98 if (eth_get_dev()) { in eth_current_changed()
123 if (!eth_get_dev()) in eth_try_another()
127 first_failed = eth_get_dev(); in eth_try_another()
133 if (first_failed == eth_get_dev()) in eth_try_another()
168 return eth_get_dev() ? eth_get_dev()->name : "unknown"; in eth_get_name()
H A Deth-uclass.su
H A Dnet.c348 if (eth_get_dev()) in net_init_loop()
534 if (miiphy_link(eth_get_dev()->name, CONFIG_SYS_FAULT_MII_ADDR)) in net_loop()
599 if (miiphy_link(eth_get_dev()->name, in net_loop()
H A Dtftp.c379 if (tftp_mcast_bitmap && eth_get_dev()->mcast) { in tftp_send()
/OK3568_Linux_fs/u-boot/api/
H A Dapi_net.c32 return ((void *)eth_get_dev() == cookie) ? 1 : 0; in dev_valid_net()
61 struct eth_device *eth_current = eth_get_dev(); in dev_enum_net()
/OK3568_Linux_fs/u-boot/include/
H A Dnet.h151 struct udevice *eth_get_dev(void); /* get the current device */
191 static __always_inline struct eth_device *eth_get_dev(void) in eth_get_dev() function
211 eth_get_dev()->state = ETH_STATE_ACTIVE; in eth_init_state_only()
218 eth_get_dev()->state = ETH_STATE_PASSIVE; in eth_halt_state_only()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dmcfmii.c105 dev = eth_get_dev(); in mii_send()
218 dev = eth_get_dev(); in __mii_init()
H A Dnetconsole.c185 eth = eth_get_dev(); in nc_send_packet()
311 eth = eth_get_dev(); in nc_stdio_tstc()
/OK3568_Linux_fs/u-boot/test/rockchip/
H A Dtest-net.c224 current = eth_get_dev(); in eth_loopback_test()
257 current = eth_get_dev(); in do_test_eth()
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A Defi_device_path.c510 assert(eth_get_dev()); in efi_dp_from_eth()
513 dpsize += dp_size(eth_get_dev()); in efi_dp_from_eth()
522 buf = dp_fill(buf, eth_get_dev()); in efi_dp_from_eth()
H A Defi_net.c227 if (!eth_get_dev()) { in efi_net_register()
/OK3568_Linux_fs/u-boot/drivers/usb/eth/
H A Dusb_ether.c202 struct eth_device *dev = eth_get_dev(); in is_eth_dev_on_usb_host()
/OK3568_Linux_fs/u-boot/common/
H A Dbootm.c582 eth_unregister(eth_get_dev()); in bootm_disable_interrupts()
/OK3568_Linux_fs/u-boot/
H A DSystem.map
H A Du-boot.sym
H A Du-boot.map