Searched refs:eth_get_ops (Results 1 – 2 of 2) sorted by relevance
190 if (eth_get_ops(dev)->write_hwaddr && !eth_mac_skip(dev->seq)) { in eth_write_hwaddr()202 ret = eth_get_ops(dev)->write_hwaddr(dev); in eth_write_hwaddr()275 ret = eth_get_ops(current)->start(current); in eth_init()313 eth_get_ops(current)->stop(current); in eth_halt()341 ret = eth_get_ops(current)->send(current, packet, length); in eth_send()367 ret = eth_get_ops(current)->recv(current, flags, &packet); in eth_rx()371 if (ret >= 0 && eth_get_ops(current)->free_pkt) in eth_rx()372 eth_get_ops(current)->free_pkt(current, packet, ret); in eth_rx()464 struct eth_ops *ops = eth_get_ops(dev); in eth_post_probe()494 if (eth_get_ops(dev)->read_rom_hwaddr) in eth_post_probe()[all …]
149 #define eth_get_ops(dev) ((struct eth_ops *)(dev)->driver->ops) macro