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()
1236 if (plen == PROM_ERROR) in prom_count_smt_threads()
1507 if (addr != PROM_ERROR && addr != 0) in alloc_up()
1567 if (addr != PROM_ERROR && addr != 0) in alloc_down()
1882 &val, sizeof(val)) != PROM_ERROR) in prom_instantiate_rtas()
1918 &val, sizeof(val)) != PROM_ERROR) { in prom_instantiate_sml()
2022 sizeof(minalign)) == PROM_ERROR) in prom_initialize_tce_table()
2025 sizeof(minsize)) == PROM_ERROR) in prom_initialize_tce_table()
2048 path, sizeof(prom_scratch) - 1) == PROM_ERROR) { in prom_initialize_tce_table()
2286 if (stdout_node != PROM_ERROR) { in prom_init_stdout()
2350 if (x != PROM_ERROR) { in prom_find_machine_type()
2416 sizeof(prom_scratch) - 10) == PROM_ERROR) in prom_check_displays()
2448 PROM_ERROR) { in prom_check_displays()
2453 if (prom_getprop(node, "width", &width, 4) == PROM_ERROR) in prom_check_displays()
2456 if (prom_getprop(node, "height", &height, 4) == PROM_ERROR) in prom_check_displays()
2459 if (prom_getprop(node, "linebytes", &pitch, 4) == PROM_ERROR) in prom_check_displays()
2462 if (prom_getprop(node, "address", &addr, 4) == PROM_ERROR) in prom_check_displays()
2652 if (l == PROM_ERROR) in scan_dt_build_struct()
2810 == PROM_ERROR) in fixup_device_tree_maple()
2852 if (prom_getprop(mc, "reg", mc_reg, sizeof(mc_reg)) == PROM_ERROR) in fixup_device_tree_maple_memory_controller()
2894 if (rc == 0 || rc == PROM_ERROR) { in fixup_device_tree_chrp()
2947 == PROM_ERROR) in fixup_device_tree_pmac()
3056 if (rv == PROM_ERROR) in fixup_device_tree_efika()
3066 if (rv != PROM_ERROR && (prom_strcmp(prop, "chrp") == 0)) in fixup_device_tree_efika()
3072 if (rv != PROM_ERROR && (prom_strstr(prop, "CHRP"))) in fixup_device_tree_efika()
3092 if (rv == PROM_ERROR) { in fixup_device_tree_efika()
3126 if (prom_getproplen(iob, "interrupt-controller") !=PROM_ERROR) in fixup_device_tree_pasemi()
3143 if (rval == 0 || rval == PROM_ERROR) in fixup_device_tree_pasemi()