Lines Matching +full:config +full:- +full:space
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
42 /* Config registers for PCI-PCI and PCI-Cardbus bridges. */
97 /* Interesting values for PCI MSI-X */
105 u_int mte_vector; /* 1-based index into msix_vectors array. */
111 uint8_t msix_location; /* Offset of MSI-X capability registers. */
131 uint8_t ht_slave; /* Non-zero if device is an HT slave. */
137 /* Interesting values for PCI-express */
139 uint8_t pcie_location; /* Offset of PCI-e capability registers. */
153 uint8_t pcix_location; /* Offset of PCI-X capability registers. */
174 #define PCICFG_VF 0x0001 /* Device is an SR-IOV Virtual Function */
176 /* config header information common to all header types */
195 uint8_t hdrtype; /* chip config header type */
204 uint8_t mfdev; /* multi-function device (from hdrtype reg) */
208 uint8_t bus; /* config space bus address */
209 uint8_t slot; /* config space slot address */
210 uint8_t func; /* config space function number */
218 struct pcicfg_msix msix; /* PCI MSI-X */
221 struct pcicfg_pcix pcix; /* PCI-X */
222 struct pcicfg_iov *iov; /* SR-IOV */
223 struct pcicfg_vf vf; /* SR-IOV Virtual Function */
227 /* additional type 1 device config header information (PCI to PCI bridge) */
241 /* additional type 2 device config header information (CardBus bridge) */
397 * Operations on configuration space. in PCI_ACCESSOR()
441 * configuration space. in PCIB_ACCESSOR()
456 pci_enable_io(device_t dev, int space) in pci_enable_io() argument
458 return(PCI_ENABLE_IO(device_get_parent(dev), dev, space)); in pci_enable_io()
462 pci_disable_io(device_t dev, int space) in pci_disable_io() argument
464 return(PCI_DISABLE_IO(device_get_parent(dev), dev, space)); in pci_disable_io()
502 * D1 Class-specific low-power state in which device context may or may not
505 * D2 Class-specific low-power state in which device context may or may
516 #define PCI_POWERSTATE_UNKNOWN -1
671 /* Can be used by drivers to manage the MSI-X table. */