Lines Matching refs:eth
444 static void __init octeon_fdt_set_phy(int eth, int phy_addr) in octeon_fdt_set_phy() argument
456 phy_handle = fdt_getprop(initial_boot_params, eth, "phy-handle", NULL); in octeon_fdt_set_phy()
463 alt_phy_handle = fdt_getprop(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); in octeon_fdt_set_phy()
473 fdt_nop_property(initial_boot_params, eth, "phy-handle"); in octeon_fdt_set_phy()
475 fdt_nop_property(initial_boot_params, eth, "cavium,alt-phy-handle"); in octeon_fdt_set_phy()
489 phy_prop = fdt_get_property(initial_boot_params, eth, "phy-handle", NULL); in octeon_fdt_set_phy()
492 fdt_nop_property(initial_boot_params, eth, "phy-handle"); in octeon_fdt_set_phy()
493 alt_prop = fdt_get_property_w(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); in octeon_fdt_set_phy()
566 int eth; in octeon_fdt_pip_port() local
571 eth = fdt_subnode_offset(initial_boot_params, iface, name_buffer); in octeon_fdt_pip_port()
572 if (eth < 0) in octeon_fdt_pip_port()
576 octeon_fdt_rm_ethernet(eth); in octeon_fdt_pip_port()
585 octeon_fdt_set_phy(eth, phy_addr); in octeon_fdt_pip_port()
586 octeon_fdt_set_mac_addr(eth, pmac); in octeon_fdt_pip_port()