Lines Matching refs:rom
580 } else if (!strcmp(str, "rom")) {
637 struct pci_setup_rom *rom;
644 data = memremap(pa_data, sizeof(*rom), MEMREMAP_WB);
649 rom = (struct pci_setup_rom *)data;
651 if ((pci_domain_nr(dev->bus) == rom->segment) &&
652 (dev->bus->number == rom->bus) &&
653 (PCI_SLOT(dev->devfn) == rom->device) &&
654 (PCI_FUNC(dev->devfn) == rom->function) &&
655 (dev->vendor == rom->vendor) &&
656 (dev->device == rom->devid)) {
657 dev->rom = pa_data +
659 dev->romlen = rom->pcilen;