Searched refs:PCI_ROM_IDX (Results 1 – 3 of 3) sorted by relevance
760 sc->psc_bar[PCI_ROM_IDX].type = PCIBAR_ROM; in passthru_init_rom()761 sc->psc_bar[PCI_ROM_IDX].addr = (uint64_t)rom_addr; in passthru_init_rom()762 sc->psc_bar[PCI_ROM_IDX].size = rom_size; in passthru_init_rom()
49 #define PCI_ROM_IDX (PCI_BARMAX + 1) macro
675 return (pi->pi_bar[PCI_ROM_IDX].lobits & PCIM_BIOS_ENABLE) == in romen()746 assert((type != PCIBAR_ROM) || (idx == PCI_ROM_IDX)); in pci_emul_alloc_bar()987 const int error = pci_emul_alloc_bar(pdi, PCI_ROM_IDX, PCIBAR_ROM, in pci_emul_alloc_rom()2315 idx = PCI_ROM_IDX; in pci_cfgrw()