Lines Matching refs:ph
1963 phandle ph; in fixup_device_tree_chrp() local
1970 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
1971 if (!PHANDLE_VALID(ph)) { in fixup_device_tree_chrp()
1973 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
1976 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp()
1977 rc = prom_getproplen(ph, "ranges"); in fixup_device_tree_chrp()
1987 prom_setprop(ph, name, "ranges", prop, sizeof(prop)); in fixup_device_tree_chrp()
1992 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
1993 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp()
1997 prom_setprop(ph, name, "interrupts", prop, 2*sizeof(u32)); in fixup_device_tree_chrp()
1999 rc = prom_getprop(ph, "class-code", prop, sizeof(u32)); in fixup_device_tree_chrp()
2002 prom_setprop(ph, name, "class-code", prop, sizeof(u32)); in fixup_device_tree_chrp()