Searched refs:PCI_ROM_IDX (Results 1 – 3 of 3) sorted by relevance
47 #define PCI_ROM_IDX (PCI_BARMAX + 1) macro
872 sc->psc_bar[PCI_ROM_IDX].type = PCIBAR_ROM; in passthru_init_rom()873 sc->psc_bar[PCI_ROM_IDX].addr = (uint64_t)rom_addr; in passthru_init_rom()874 sc->psc_bar[PCI_ROM_IDX].size = rom_size; in passthru_init_rom()
732 return (pi->pi_bar[PCI_ROM_IDX].lobits & PCIM_BIOS_ENABLE) == in romen()803 assert((type != PCIBAR_ROM) || (idx == PCI_ROM_IDX)); in pci_emul_alloc_bar()1030 const int error = pci_emul_alloc_bar(pdi, PCI_ROM_IDX, PCIBAR_ROM, in pci_emul_alloc_rom()2348 idx = PCI_ROM_IDX; in pci_cfgrw()