Lines Matching refs:eth_get_ops
192 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()
501 eth_get_ops(dev)->read_rom_hwaddr(dev); in eth_post_probe()
541 eth_get_ops(dev)->stop(dev); in eth_pre_remove()