Lines Matching refs:rom
674 struct pci_setup_rom *rom; in pcibios_add_device() local
679 data = memremap(pa_data, sizeof(*rom), MEMREMAP_WB); in pcibios_add_device()
684 rom = (struct pci_setup_rom *)data; in pcibios_add_device()
686 if ((pci_domain_nr(dev->bus) == rom->segment) && in pcibios_add_device()
687 (dev->bus->number == rom->bus) && in pcibios_add_device()
688 (PCI_SLOT(dev->devfn) == rom->device) && in pcibios_add_device()
689 (PCI_FUNC(dev->devfn) == rom->function) && in pcibios_add_device()
690 (dev->vendor == rom->vendor) && in pcibios_add_device()
691 (dev->device == rom->devid)) { in pcibios_add_device()
692 dev->rom = pa_data + in pcibios_add_device()
694 dev->romlen = rom->pcilen; in pcibios_add_device()