Searched refs:pciecap (Results 1 – 6 of 6) sorted by relevance
| /illumos-gate/usr/src/lib/fm/topo/modules/common/pciebus/ |
| H A D | topo_pcie_cfgspace.c | 179 uint16_t pciecap, status, pciever; in topo_pcie_link_status() local 186 off + PCIE_PCIECAP, 2, &pciecap)) { in topo_pcie_link_status() 192 pciever = pciecap & PCIE_PCIECAP_VER_MASK; in topo_pcie_link_status() 210 (pciecap & PCIE_PCIECAP_DEV_TYPE_MASK) == in topo_pcie_link_status()
|
| /illumos-gate/usr/src/uts/common/io/sfxge/ |
| H A D | sfxge_pci.c | 94 uint16_t pciecap; in sfxge_pci_init() local 140 pciecap = pci_config_get16(sp->s_pci_handle, off + PCIE_PCIECAP); in sfxge_pci_init() 141 ASSERT3U((pciecap & PCIE_PCIECAP_VER_MASK), >=, PCIE_PCIECAP_VER_1_0); in sfxge_pci_init()
|
| /illumos-gate/usr/src/uts/common/io/pciex/ |
| H A D | pci_props.c | 341 uint16_t pciecap; in pci_prop_data_fill_pcie() local 345 pciecap = pci_prop_get16(acc, prop, cap_base + PCIE_PCIECAP); in pci_prop_data_fill_pcie() 346 vers = pciecap & PCIE_PCIECAP_VER_MASK; in pci_prop_data_fill_pcie() 359 prop->ppd_pcie_type = pciecap & PCIE_PCIECAP_DEV_TYPE_MASK; in pci_prop_data_fill_pcie() 361 if ((pciecap & PCIE_PCIECAP_SLOT_IMPL) == 0) { in pci_prop_data_fill_pcie()
|
| H A D | pcie.c | 2797 uint16_t pciecap; in pcie_ari_supported() local 2817 pciecap = PCIE_CAP_GET(16, bus_p, PCIE_PCIECAP); in pcie_ari_supported() 2819 if ((pciecap & PCIE_PCIECAP_VER_MASK) < PCIE_PCIECAP_VER_2_0) { in pcie_ari_supported()
|
| /illumos-gate/usr/src/cmd/bhyve/common/ |
| H A D | pci_emul.h | 202 struct pciecap { struct 235 static_assert(sizeof(struct pciecap) == 60, "compile-time assertion failed"); argument
|
| H A D | pci_emul.c | 1323 struct pciecap pciecap; in pci_emul_add_pciecap() local 1325 bzero(&pciecap, sizeof(pciecap)); in pci_emul_add_pciecap() 1336 pciecap.capid = PCIY_EXPRESS; in pci_emul_add_pciecap() 1337 pciecap.pcie_capabilities = PCIECAP_VERSION | type; in pci_emul_add_pciecap() 1339 pciecap.link_capabilities = 0x411; /* gen1, x1 */ in pci_emul_add_pciecap() 1340 pciecap.link_status = 0x11; /* gen1, x1 */ in pci_emul_add_pciecap() 1343 err = pci_emul_add_capability(pi, (u_char *)&pciecap, sizeof(pciecap), in pci_emul_add_pciecap()
|