Lines Matching refs:prom_getprop
659 static inline int __init prom_getprop(phandle node, const char *pname, in prom_getprop() function
794 l = prom_getprop(prom.chosen, "bootargs", p, COMMAND_LINE_SIZE-1); in early_cmdline_parse()
1226 prom_getprop(node, "device_type", type, sizeof(type)); in prom_count_smt_threads()
1362 prom_getprop(prom.chosen, "ibm,arch-vec-5-platform-support", &vec, sizeof(vec)); in prom_check_platform_support()
1660 prom_getprop(prom.root, "#address-cells", &val, sizeof(val)); in prom_init_mem()
1663 prom_getprop(prom.root, "#size-cells", &val, sizeof(rsc)); in prom_init_mem()
1672 prom_getprop(node, "device_type", type, sizeof(type)); in prom_init_mem()
1679 prom_getprop(node, "name", type, sizeof(type)); in prom_init_mem()
1684 plen = prom_getprop(node, "reg", regbuf, sizeof(regbuf)); in prom_init_mem()
1778 if (prom_getprop(prom.chosen, "stdin", &val, sizeof(val)) > 0) { in prom_close_stdin()
1813 prom_getprop(rtas_node, "ibm,os-term", &val, sizeof(val)); in prom_rtas_os_term()
1845 prom_getprop(rtas_node, "rtas-size", &val, sizeof(size)); in prom_instantiate_rtas()
1881 if (prom_getprop(rtas_node, "query-cpu-stopped-state", in prom_instantiate_rtas()
1917 if (prom_getprop(ibmvtpm_node, "ibm,sml-efi-reformat-supported", in prom_instantiate_sml()
2000 prom_getprop(node, "compatible", in prom_initialize_tce_table()
2002 prom_getprop(node, "device_type", type, sizeof(type)); in prom_initialize_tce_table()
2003 prom_getprop(node, "model", model, sizeof(model)); in prom_initialize_tce_table()
2021 if (prom_getprop(node, "tce-table-minalign", &minalign, in prom_initialize_tce_table()
2024 if (prom_getprop(node, "tce-table-minsize", &minsize, in prom_initialize_tce_table()
2165 prom_getprop(node, "device_type", type, sizeof(type)); in prom_hold_cpus()
2170 if (prom_getprop(node, "status", type, sizeof(type)) > 0) in prom_hold_cpus()
2175 prom_getprop(node, "reg", ®, sizeof(reg)); in prom_hold_cpus()
2243 if (prom_getprop(oprom, "model", version, sizeof(version)) <= 0) in prom_find_mmu()
2255 prom_getprop(prom.chosen, "mmu", &prom.mmumap, in prom_find_mmu()
2272 if (prom_getprop(prom.chosen, "stdout", &val, sizeof(val)) <= 0) in prom_init_stdout()
2291 prom_getprop(stdout_node, "device_type", type, sizeof(type)); in prom_init_stdout()
2307 len = prom_getprop(prom.root, "compatible", in prom_find_machine_type()
2338 len = prom_getprop(prom.root, "device_type", in prom_find_machine_type()
2403 prom_getprop(node, "device_type", type, sizeof(type)); in prom_check_displays()
2447 if (prom_getprop(node, "linux,boot-display", NULL, 0) != 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()
2809 if (prom_getprop(isa, "ranges", isa_ranges, sizeof(isa_ranges)) in fixup_device_tree_maple()
2847 prom_getprop(prom.root, "#address-cells", &ac, sizeof(ac)); in fixup_device_tree_maple_memory_controller()
2848 prom_getprop(prom.root, "#size-cells", &sc, sizeof(sc)); in fixup_device_tree_maple_memory_controller()
2852 if (prom_getprop(mc, "reg", mc_reg, sizeof(mc_reg)) == PROM_ERROR) in fixup_device_tree_maple_memory_controller()
2915 rc = prom_getprop(ph, "class-code", prop, sizeof(u32)); in fixup_device_tree_chrp()
2946 if (prom_getprop(u3, "device-rev", &u3_rev, sizeof(u3_rev)) in fixup_device_tree_pmac()
2989 rv = prom_getprop(node, "phy-handle", prop, sizeof(prop)); in fixup_device_tree_efika_add_phy()
3055 rv = prom_getprop(node, "model", prop, sizeof(prop)); in fixup_device_tree_efika()
3065 rv = prom_getprop(node, "device_type", prop, sizeof(prop)); in fixup_device_tree_efika()
3071 rv = prom_getprop(node, "CODEGEN,description", prop, sizeof(prop)); in fixup_device_tree_efika()
3091 rv = prom_getprop(node, "interrupts", prop, sizeof(prop)); in fixup_device_tree_efika()
3146 prom_getprop(node, "interrupts", &interrupts, sizeof(interrupts)); in fixup_device_tree_pasemi()
3203 if (prom_getprop(prom.chosen, "cpu", &rval, sizeof(rval)) <= 0) in prom_find_boot_cpu()
3212 prom_getprop(cpu_pkg, "reg", &rval, sizeof(rval)); in prom_find_boot_cpu()