Searched refs:oprom (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/arch/x86/kernel/ |
D | probe_roms.c | 117 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-v6.1/drivers/scsi/isci/ |
D | probe_roms.c | 43 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-v6.1/arch/powerpc/boot/ |
D | oflib.c | 115 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-v6.1/drivers/gpu/drm/i915/display/ |
D | intel_bios.c | 3047 void __iomem *p = NULL, *oprom; in oprom_get_vbt() local 3052 oprom = pci_map_rom(pdev, &size); in oprom_get_vbt() 3053 if (!oprom) in oprom_get_vbt() 3058 if (ioread32(oprom + i) != *((const u32 *)"$VBT")) in oprom_get_vbt() 3061 p = oprom + i; in oprom_get_vbt() 3091 pci_unmap_rom(pdev, oprom); in oprom_get_vbt() 3100 pci_unmap_rom(pdev, oprom); in oprom_get_vbt()
|
/Linux-v6.1/arch/powerpc/kernel/ |
D | prom_init.c | 2237 phandle oprom; in prom_find_mmu() local 2240 oprom = call_prom("finddevice", 1, 1, ADDR("/openprom")); in prom_find_mmu() 2241 if (!PHANDLE_VALID(oprom)) in prom_find_mmu() 2243 if (prom_getprop(oprom, "model", version, sizeof(version)) <= 0) in prom_find_mmu()
|