Lines Matching refs:PROM_ERROR
222 #define PROM_ERROR (-1u) macro
223 #define PHANDLE_VALID(p) ((p) != 0 && (p) != PROM_ERROR)
224 #define IHANDLE_VALID(i) ((i) != 0 && (i) != PROM_ERROR)
406 return PROM_ERROR; in call_prom()
431 return PROM_ERROR; in call_prom_ret()
1244 if (plen == PROM_ERROR) in prom_count_smt_threads()
1515 if (addr != PROM_ERROR && addr != 0) in alloc_up()
1575 if (addr != PROM_ERROR && addr != 0) in alloc_down()
1890 &val, sizeof(val)) != PROM_ERROR) in prom_instantiate_rtas()
1926 &val, sizeof(val)) != PROM_ERROR) { in prom_instantiate_sml()
2030 sizeof(minalign)) == PROM_ERROR) in prom_initialize_tce_table()
2033 sizeof(minsize)) == PROM_ERROR) in prom_initialize_tce_table()
2056 path, sizeof(prom_scratch) - 1) == PROM_ERROR) { in prom_initialize_tce_table()
2294 if (stdout_node != PROM_ERROR) { in prom_init_stdout()
2358 if (x != PROM_ERROR) { in prom_find_machine_type()
2424 sizeof(prom_scratch) - 10) == PROM_ERROR) in prom_check_displays()
2456 PROM_ERROR) { in prom_check_displays()
2461 if (prom_getprop(node, "width", &width, 4) == PROM_ERROR) in prom_check_displays()
2464 if (prom_getprop(node, "height", &height, 4) == PROM_ERROR) in prom_check_displays()
2467 if (prom_getprop(node, "linebytes", &pitch, 4) == PROM_ERROR) in prom_check_displays()
2470 if (prom_getprop(node, "address", &addr, 4) == PROM_ERROR) in prom_check_displays()
2660 if (l == PROM_ERROR) in scan_dt_build_struct()
2818 == PROM_ERROR) in fixup_device_tree_maple()
2860 if (prom_getprop(mc, "reg", mc_reg, sizeof(mc_reg)) == PROM_ERROR) in fixup_device_tree_maple_memory_controller()
2902 if (rc == 0 || rc == PROM_ERROR) { in fixup_device_tree_chrp()
2955 == PROM_ERROR) in fixup_device_tree_pmac()
3064 if (rv == PROM_ERROR) in fixup_device_tree_efika()
3074 if (rv != PROM_ERROR && (prom_strcmp(prop, "chrp") == 0)) in fixup_device_tree_efika()
3080 if (rv != PROM_ERROR && (prom_strstr(prop, "CHRP"))) in fixup_device_tree_efika()
3100 if (rv == PROM_ERROR) { in fixup_device_tree_efika()
3134 if (prom_getproplen(iob, "interrupt-controller") !=PROM_ERROR) in fixup_device_tree_pasemi()
3151 if (rval == 0 || rval == PROM_ERROR) in fixup_device_tree_pasemi()