Home
last modified time | relevance | path

Searched refs:eth_off (Results 1 – 2 of 2) sorted by relevance

/linux/arch/mips/generic/
H A Dboard-sead3.c53 int gic_off, cpu_off, uart_off, eth_off, ehci_off, err; in remove_gic() local
112 eth_off = fdt_node_offset_by_compatible(fdt, -1, "smsc,lan9115"); in remove_gic()
113 if (eth_off < 0) { in remove_gic()
114 pr_err("unable to find ethernet DT node: %d\n", eth_off); in remove_gic()
115 return eth_off; in remove_gic()
118 err = fdt_setprop_u32(fdt, eth_off, "interrupt-parent", cpu_phandle); in remove_gic()
124 err = fdt_setprop_u32(fdt, eth_off, "interrupts", cpu_eth_int); in remove_gic()
/linux/tools/testing/selftests/net/
H A Dtxring_overwrite.c38 const int eth_off = TPACKET_HDRLEN - sizeof(struct sockaddr_ll); variable
130 build_packet(slot + eth_off, cfg_frame_size, payload_char); in send_pkt()