Home
last modified time | relevance | path

Searched refs:eth_get_ops (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/u-boot/net/
H A Deth-uclass.c192 if (eth_get_ops(dev)->write_hwaddr && !eth_mac_skip(dev->seq)) { in eth_write_hwaddr()
204 ret = eth_get_ops(dev)->write_hwaddr(dev); in eth_write_hwaddr()
277 ret = eth_get_ops(current)->start(current); in eth_init()
315 eth_get_ops(current)->stop(current); in eth_halt()
343 ret = eth_get_ops(current)->send(current, packet, length); in eth_send()
369 ret = eth_get_ops(current)->recv(current, flags, &packet); in eth_rx()
373 if (ret >= 0 && eth_get_ops(current)->free_pkt) in eth_rx()
374 eth_get_ops(current)->free_pkt(current, packet, ret); in eth_rx()
470 struct eth_ops *ops = eth_get_ops(dev); in eth_post_probe()
500 if (eth_get_ops(dev)->read_rom_hwaddr) in eth_post_probe()
[all …]
/OK3568_Linux_fs/u-boot/test/rockchip/
H A Dtest-net.c165 length = eth_get_ops(current)->recv(current, flags, &rx_packet); in eth_run_loopback_test()
184 if (length >= 0 && eth_get_ops(current)->free_pkt) in eth_run_loopback_test()
185 eth_get_ops(current)->free_pkt(current, rx_packet, in eth_run_loopback_test()
/OK3568_Linux_fs/u-boot/include/
H A Dnet.h149 #define eth_get_ops(dev) ((struct eth_ops *)(dev)->driver->ops) macro