Lines Matching refs:PROM_ERROR
223 #define PROM_ERROR (-1u) macro
224 #define PHANDLE_VALID(p) ((p) != 0 && (p) != PROM_ERROR)
225 #define IHANDLE_VALID(i) ((i) != 0 && (i) != PROM_ERROR)
380 return PROM_ERROR; in call_prom()
405 return PROM_ERROR; in call_prom_ret()
1182 if (plen == PROM_ERROR) in prom_count_smt_threads()
1454 if (addr != PROM_ERROR && addr != 0) in alloc_up()
1514 if (addr != PROM_ERROR && addr != 0) in alloc_down()
1824 &val, sizeof(val)) != PROM_ERROR) in prom_instantiate_rtas()
1860 &val, sizeof(val)) != PROM_ERROR) { in prom_instantiate_sml()
1964 sizeof(minalign)) == PROM_ERROR) in prom_initialize_tce_table()
1967 sizeof(minsize)) == PROM_ERROR) in prom_initialize_tce_table()
1990 path, sizeof(prom_scratch) - 1) == PROM_ERROR) { in prom_initialize_tce_table()
2228 if (stdout_node != PROM_ERROR) { in prom_init_stdout()
2292 if (x != PROM_ERROR) { in prom_find_machine_type()
2358 sizeof(prom_scratch) - 10) == PROM_ERROR) in prom_check_displays()
2390 PROM_ERROR) { in prom_check_displays()
2585 if (l == PROM_ERROR) in scan_dt_build_struct()
2743 == PROM_ERROR) in fixup_device_tree_maple()
2785 if (prom_getprop(mc, "reg", mc_reg, sizeof(mc_reg)) == PROM_ERROR) in fixup_device_tree_maple_memory_controller()
2827 if (rc == 0 || rc == PROM_ERROR) { in fixup_device_tree_chrp()
2880 == PROM_ERROR) in fixup_device_tree_pmac()
2989 if (rv == PROM_ERROR) in fixup_device_tree_efika()
2999 if (rv != PROM_ERROR && (prom_strcmp(prop, "chrp") == 0)) in fixup_device_tree_efika()
3005 if (rv != PROM_ERROR && (prom_strstr(prop, "CHRP"))) in fixup_device_tree_efika()
3025 if (rv == PROM_ERROR) { in fixup_device_tree_efika()
3059 if (prom_getproplen(iob, "interrupt-controller") !=PROM_ERROR) in fixup_device_tree_pasemi()
3076 if (rval == 0 || rval == PROM_ERROR) in fixup_device_tree_pasemi()