Searched refs:eth_get_ops (Results 1 – 2 of 2) sorted by relevance
191 if (eth_get_ops(dev)->write_hwaddr && !eth_mac_skip(dev->seq)) { in eth_write_hwaddr()203 ret = eth_get_ops(dev)->write_hwaddr(dev); in eth_write_hwaddr()276 ret = eth_get_ops(current)->start(current); in eth_init()314 eth_get_ops(current)->stop(current); in eth_halt()343 ret = eth_get_ops(current)->send(current, packet, length); in eth_send()373 ret = eth_get_ops(current)->recv(current, flags, &packet); in eth_rx()377 if (ret >= 0 && eth_get_ops(current)->free_pkt) in eth_rx()378 eth_get_ops(current)->free_pkt(current, packet, ret); in eth_rx()495 struct eth_ops *ops = eth_get_ops(dev); in eth_post_probe()526 if (eth_get_ops(dev)->read_rom_hwaddr) in eth_post_probe()[all …]
152 #define eth_get_ops(dev) ((struct eth_ops *)(dev)->driver->ops) macro