Lines Matching refs:rom
580 } else if (!strcmp(str, "rom")) {
645 struct pci_setup_rom *rom;
652 data = memremap(pa_data, sizeof(*rom), MEMREMAP_WB);
657 rom = (struct pci_setup_rom *)data;
659 if ((pci_domain_nr(dev->bus) == rom->segment) &&
660 (dev->bus->number == rom->bus) &&
661 (PCI_SLOT(dev->devfn) == rom->device) &&
662 (PCI_FUNC(dev->devfn) == rom->function) &&
663 (dev->vendor == rom->vendor) &&
664 (dev->device == rom->devid)) {
665 dev->rom = pa_data +
667 dev->romlen = rom->pcilen;