Home
last modified time | relevance | path

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

/linux-3.4.99/arch/x86/kernel/
Dprobe_roms.c115 struct resource *oprom = NULL; in find_oprom() local
137 oprom = res; in find_oprom()
145 oprom = res; in find_oprom()
150 return oprom; in find_oprom()
155 struct resource *oprom = find_oprom(pdev); in pci_map_biosrom() local
157 if (!oprom) in pci_map_biosrom()
160 return ioremap(oprom->start, resource_size(oprom)); in pci_map_biosrom()
172 struct resource *oprom = find_oprom(pdev); in pci_biosrom_size() local
174 return oprom ? resource_size(oprom) : 0; in pci_biosrom_size()
/linux-3.4.99/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()
63 memcpy_fromio(oem_sig, oprom + i, ISCI_OEM_SIG_SIZE); in isci_request_oprom()
69 memcpy_fromio(&oem_hdr, oprom + i, sizeof(oem_hdr)); in isci_request_oprom()
75 oprom + i + sizeof(oem_hdr), in isci_request_oprom()
109 pci_unmap_biosrom(oprom); in isci_request_oprom()
/linux-3.4.99/arch/powerpc/boot/
Doflib.c110 phandle oprom, chosen; in check_of_version() local
113 oprom = of_finddevice("/openprom"); in check_of_version()
114 if (oprom == (phandle) -1) in check_of_version()
116 if (of_getprop(oprom, "model", version, sizeof(version)) <= 0) in check_of_version()
/linux-3.4.99/arch/powerpc/kernel/
Dprom_init.c1877 phandle oprom; in prom_find_mmu() local
1880 oprom = call_prom("finddevice", 1, 1, ADDR("/openprom")); in prom_find_mmu()
1881 if (!PHANDLE_VALID(oprom)) in prom_find_mmu()
1883 if (prom_getprop(oprom, "model", version, sizeof(version)) <= 0) in prom_find_mmu()