Lines Matching refs:dpmac_id
607 int fdt_fixup_dpmac_phy_handle(void *fdt, int dpmac_id, int node_phandle) in fdt_fixup_dpmac_phy_handle() argument
624 sprintf(dpmac_str, "dpmac@%x", dpmac_id); in fdt_fixup_dpmac_phy_handle()
636 printf("Interface %d in backplane KR mode\n", dpmac_id); in fdt_fixup_dpmac_phy_handle()
644 phy_string = phy_string_for_interface(wriop_get_enet_if(dpmac_id)); in fdt_fixup_dpmac_phy_handle()
778 int ret, dpmac_id, phandle, i; in fdt_fixup_board_phy() local
815 dpmac_id = WRIOP1_DPMAC1; in fdt_fixup_board_phy()
816 while (dpmac_id < NUM_WRIOP_PORTS) { in fdt_fixup_board_phy()
817 phy_iface = wriop_get_enet_if(dpmac_id); in fdt_fixup_board_phy()
819 dpmac_id, in fdt_fixup_board_phy()
823 dpmac_id++; in fdt_fixup_board_phy()
825 if (dpmac_id == NUM_WRIOP_PORTS) in fdt_fixup_board_phy()
834 dpmac_id, phandle); in fdt_fixup_board_phy()