Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/drivers/scsi/isci/
Dprobe_roms.c43 void __iomem *oprom = pci_map_biosrom(pdev); in isci_request_oprom() local
51 if (!oprom) in isci_request_oprom()
57 pci_unmap_biosrom(oprom); in isci_request_oprom()
64 memcpy_fromio(oem_sig, oprom + i, ISCI_OEM_SIG_SIZE); in isci_request_oprom()
70 memcpy_fromio(&oem_hdr, oprom + i, sizeof(oem_hdr)); in isci_request_oprom()
76 oprom + i + sizeof(oem_hdr), in isci_request_oprom()
110 pci_unmap_biosrom(oprom); in isci_request_oprom()
/Linux-v5.4/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()
/Linux-v5.4/arch/powerpc/kernel/
Dprom_init.c2179 phandle oprom; in prom_find_mmu() local
2182 oprom = call_prom("finddevice", 1, 1, ADDR("/openprom")); in prom_find_mmu()
2183 if (!PHANDLE_VALID(oprom)) in prom_find_mmu()
2185 if (prom_getprop(oprom, "model", version, sizeof(version)) <= 0) in prom_find_mmu()