Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/
Dprobe_roms.c117 struct resource *oprom = NULL; in find_oprom() local
139 oprom = res; in find_oprom()
147 oprom = res; in find_oprom()
152 return oprom; in find_oprom()
157 struct resource *oprom = find_oprom(pdev); in pci_map_biosrom() local
159 if (!oprom) in pci_map_biosrom()
162 return ioremap(oprom->start, resource_size(oprom)); in pci_map_biosrom()
174 struct resource *oprom = find_oprom(pdev); in pci_biosrom_size() local
176 return oprom ? resource_size(oprom) : 0; in pci_biosrom_size()
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/gpu/drm/i915/display/
Dintel_bios.c3122 void __iomem *p = NULL, *oprom; in oprom_get_vbt() local
3127 oprom = pci_map_rom(pdev, &size); in oprom_get_vbt()
3128 if (!oprom) in oprom_get_vbt()
3133 if (ioread32(oprom + i) != *((const u32 *)"$VBT")) in oprom_get_vbt()
3136 p = oprom + i; in oprom_get_vbt()
3166 pci_unmap_rom(pdev, oprom); in oprom_get_vbt()
3178 pci_unmap_rom(pdev, oprom); in oprom_get_vbt()
/linux-6.12.1/arch/powerpc/kernel/
Dprom_init.c2245 phandle oprom; in prom_find_mmu() local
2248 oprom = call_prom("finddevice", 1, 1, ADDR("/openprom")); in prom_find_mmu()
2249 if (!PHANDLE_VALID(oprom)) in prom_find_mmu()
2251 if (prom_getprop(oprom, "model", version, sizeof(version)) <= 0) in prom_find_mmu()