Searched refs:PCI_REGMAX (Results 1 – 6 of 6) sorted by relevance
163 u_char pi_cfgdata[PCI_REGMAX + 1];275 assert(offset <= PCI_REGMAX); in pci_set_cfgdata8()282 assert(offset <= (PCI_REGMAX - 1) && (offset & 1) == 0); in pci_set_cfgdata16()289 assert(offset <= (PCI_REGMAX - 3) && (offset & 3) == 0); in pci_set_cfgdata32()296 assert(offset <= PCI_REGMAX); in pci_get_cfgdata8()303 assert(offset <= (PCI_REGMAX - 1) && (offset & 1) == 0); in pci_get_cfgdata16()310 assert(offset <= (PCI_REGMAX - 3) && (offset & 3) == 0); in pci_get_cfgdata32()
105 cfgread_handler psc_pcir_rhandler[PCI_REGMAX + 1];106 cfgwrite_handler psc_pcir_whandler[PCI_REGMAX + 1];742 if (reg > PCI_REGMAX || reg + len > PCI_REGMAX + 1) in set_pcir_handler()
1104 if (capoff + reallen > PCI_REGMAX + 1) in pci_emul_add_capability()2296 if (coff >= PCI_REGMAX + 1) { in pci_cfgrw()2305 if (coff <= PCI_REGMAX + 4) in pci_cfgrw()2450 cfgoff = (x & PCI_REGMAX) & ~0x03; in pci_emul_cfgaddr()
185 (unsigned)reg <= PCI_REGMAX && bytes != 3 && in pci_cfgenable()
256 && (unsigned)reg <= PCI_REGMAX in pci_cfgenable()
49 #define PCI_REGMAX 255 /* highest supported config register addr. */ macro