Searched refs:PCI_REGMAX (Results 1 – 6 of 6) sorted by relevance
164 u_char pi_cfgdata[PCI_REGMAX + 1];278 assert(offset <= PCI_REGMAX); in pci_set_cfgdata8()285 assert(offset <= (PCI_REGMAX - 1) && (offset & 1) == 0); in pci_set_cfgdata16()292 assert(offset <= (PCI_REGMAX - 3) && (offset & 3) == 0); in pci_set_cfgdata32()299 assert(offset <= PCI_REGMAX); in pci_get_cfgdata8()306 assert(offset <= (PCI_REGMAX - 1) && (offset & 1) == 0); in pci_get_cfgdata16()313 assert(offset <= (PCI_REGMAX - 3) && (offset & 3) == 0); in pci_get_cfgdata32()
97 cfgread_handler psc_pcir_rhandler[PCI_REGMAX + 1];98 cfgwrite_handler psc_pcir_whandler[PCI_REGMAX + 1];690 if (reg > PCI_REGMAX || reg + len > PCI_REGMAX + 1) in set_pcir_handler()
1072 if (capoff + reallen > PCI_REGMAX + 1) in pci_emul_add_capability()2271 if (coff >= PCI_REGMAX + 1) { in pci_cfgrw()2280 if (coff <= PCI_REGMAX + 4) in pci_cfgrw()2423 cfgoff = (x & PCI_REGMAX) & ~0x03; in pci_emul_cfgaddr()
187 (unsigned)reg <= PCI_REGMAX && bytes != 3 && in pci_cfgenable()
257 && (unsigned)reg <= PCI_REGMAX in pci_cfgenable()
49 #define PCI_REGMAX 255 /* highest supported config register addr. */ macro