Searched refs:oprom (Results 1 – 3 of 3) sorted by relevance
/linux/arch/x86/kernel/ |
H A 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/drivers/scsi/isci/ |
H A 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/arch/powerpc/boot/ |
H A 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()
|