Home
last modified time | relevance | path

Searched refs:PCIE_CONF_HDR_SIZE (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dsunpci.c346 regbuf = (uint32_t *)kmem_zalloc((size_t)PCIE_CONF_HDR_SIZE,
353 maskbufsz = (size_t)((PCIE_CONF_HDR_SIZE/ sizeof (uint32_t)) >>
359 for (i = 0; i < (PCIE_CONF_HDR_SIZE / sizeof (uint32_t)); i++) {
389 (size_t)PCIE_CONF_HDR_SIZE)) != DDI_PROP_SUCCESS) {
398 kmem_free(regbuf, (size_t)PCIE_CONF_HDR_SIZE);
730 ASSERT(elements == PCIE_CONF_HDR_SIZE);
733 for (i = 0; i < PCIE_CONF_HDR_SIZE / sizeof (uint32_t); i++) {
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dnhm_pci_cfg.c55 reg.pci_size_low = PCIE_CONF_HDR_SIZE; /* overriden in pciex */ in nhm_pci_cfg_setup()
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dnb_pci_cfg.c56 reg.pci_size_low = PCIE_CONF_HDR_SIZE; /* overriden in pciex */ in nb_pci_cfg_setup()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx.c772 if ((off >= PCIE_CONF_HDR_SIZE) || in px_map()
773 (len > PCIE_CONF_HDR_SIZE) || in px_map()
774 (off + len > PCIE_CONF_HDR_SIZE)) in px_map()
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_tools.c119 max_cfg_size = PCIE_CONF_HDR_SIZE; in pcitool_init()
1006 if (max_cfg_size == PCIE_CONF_HDR_SIZE) in pcitool_dev_reg_ops()
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c607 pci_rp->pci_size_low = PCIE_CONF_HDR_SIZE; in npe_bus_map()
721 pci_rp->pci_size_low = PCIE_CONF_HDR_SIZE; in npe_bus_map()
/illumos-gate/usr/src/uts/common/sys/
H A Dpcie.h71 #define PCIE_CONF_HDR_SIZE 4096 /* PCIe configuration header size */ macro
/illumos-gate/usr/src/cmd/pcieadm/
H A Dpcieadm_cfgspace.c151 uint8_t pcb_u8[PCIE_CONF_HDR_SIZE];
152 uint32_t pcb_u32[PCIE_CONF_HDR_SIZE / 4];
5209 for (uint_t i = PCIE_EXT_CAP / 4; i < PCIE_CONF_HDR_SIZE / 4; i++) { in pcieadm_cfgspace()
5215 walk.pcw_valid = PCIE_CONF_HDR_SIZE; in pcieadm_cfgspace()
5219 PCIE_CONF_HDR_SIZE - PCIE_EXT_CAP); in pcieadm_cfgspace()