Lines Matching refs:eth_get_ops
235 if (eth_get_ops(dev)->write_hwaddr && !eth_mac_skip(dev_seq(dev))) { in eth_write_hwaddr()
247 ret = eth_get_ops(dev)->write_hwaddr(dev); in eth_write_hwaddr()
320 ret = eth_get_ops(current)->start(current); in eth_init()
363 eth_get_ops(current)->stop(current); in eth_halt()
391 ret = eth_get_ops(current)->send(current, packet, length); in eth_send()
421 ret = eth_get_ops(current)->recv(current, flags, &packet); in eth_rx()
425 if (ret >= 0 && eth_get_ops(current)->free_pkt) in eth_rx()
426 eth_get_ops(current)->free_pkt(current, packet, ret); in eth_rx()
560 struct eth_ops *ops = eth_get_ops(dev); in eth_post_probe()
593 if (eth_get_ops(dev)->read_rom_hwaddr) in eth_post_probe()
594 eth_get_ops(dev)->read_rom_hwaddr(dev); in eth_post_probe()
638 eth_get_ops(dev)->stop(dev); in eth_pre_remove()