Home
last modified time | relevance | path

Searched refs:PCI_BARMAX (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_emul.h46 #define PCI_BARMAX PCIR_MAX_BAR_0 /* BAR registers in a Type 0 header */ macro
47 #define PCI_BARMAX_WITH_ROM (PCI_BARMAX + 1)
48 #define PCI_ROM_IDX (PCI_BARMAX + 1)
H A Dpci_emul.c192 return (coff >= PCIR_BAR(0) && coff < PCIR_BAR(PCI_BARMAX + 1)); in is_pcir_bar()
522 for (i = 0; i <= PCI_BARMAX; i++) { in pci_emul_io_handler()
549 assert(bidx <= PCI_BARMAX); in pci_emul_mem_handler()
744 assert((type == PCIBAR_ROM) || (idx >= 0 && idx <= PCI_BARMAX)); in pci_emul_alloc_bar()
932 assert(idx + 1 <= PCI_BARMAX); in pci_emul_assign_bar()
H A Dpci_passthru.c563 for (i = 0; i <= PCI_BARMAX; i++) { in cfginitbar()
607 assert(i <= PCI_BARMAX); in cfginitbar()