Home
last modified time | relevance | path

Searched refs:oprom (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/
Dprobe_roms.c116 struct resource *oprom = NULL; in find_oprom() local
138 oprom = res; in find_oprom()
146 oprom = res; in find_oprom()
151 return oprom; in find_oprom()
156 struct resource *oprom = find_oprom(pdev); in pci_map_biosrom() local
158 if (!oprom) in pci_map_biosrom()
161 return ioremap(oprom->start, resource_size(oprom)); in pci_map_biosrom()
173 struct resource *oprom = find_oprom(pdev); in pci_biosrom_size() local
175 return oprom ? resource_size(oprom) : 0; in pci_biosrom_size()
/arch/powerpc/boot/
Doflib.c115 phandle oprom, chosen; in check_of_version() local
118 oprom = of_finddevice("/openprom"); in check_of_version()
119 if (oprom == (phandle) -1) in check_of_version()
121 if (of_getprop(oprom, "model", version, sizeof(version)) <= 0) in check_of_version()
/arch/powerpc/kernel/
Dprom_init.c2241 phandle oprom; in prom_find_mmu() local
2244 oprom = call_prom("finddevice", 1, 1, ADDR("/openprom")); in prom_find_mmu()
2245 if (!PHANDLE_VALID(oprom)) in prom_find_mmu()
2247 if (prom_getprop(oprom, "model", version, sizeof(version)) <= 0) in prom_find_mmu()