Home
last modified time | relevance | path

Searched refs:cap_id_loc (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c3563 uint_t cap_id_loc; in pcihp_get_hs_csr_location() local
3578 cap_id_loc = pci_config_get8(config_handle, PCI_CONF_EXTCAP); in pcihp_get_hs_csr_location()
3584 while ((cap_id_loc) && (cap_id_loc < PCI_CONF_HDR_SIZE)) { in pcihp_get_hs_csr_location()
3586 cap_id = pci_config_get8(config_handle, cap_id_loc); in pcihp_get_hs_csr_location()
3589 location = cap_id_loc + PCI_ECP_HS_CSR; in pcihp_get_hs_csr_location()
3592 cap_id_loc = pci_config_get8(config_handle, in pcihp_get_hs_csr_location()
3593 cap_id_loc + 1); in pcihp_get_hs_csr_location()
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_boot.c891 uint8_t curcap, cap_id_loc; in get_pci_cap() local
904 cap_id_loc = pci_getb(bus, dev, func, PCI_CONF_CAP_PTR); in get_pci_cap()
907 while (cap_id_loc && cap_id_loc != (uint8_t)-1) { in get_pci_cap()
908 curcap = pci_getb(bus, dev, func, cap_id_loc); in get_pci_cap()
911 location = cap_id_loc; in get_pci_cap()
914 cap_id_loc = pci_getb(bus, dev, func, cap_id_loc + 1); in get_pci_cap()
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c4847 uint16_t cap_id_loc, slot_id_loc; in pcicfg_get_nslots() local
4851 (void) PCI_CAP_LOCATE(handle, PCI_CAP_ID_PCI_E, &cap_id_loc); in pcicfg_get_nslots()
4853 if (cap_id_loc != PCI_CAP_NEXT_PTR_NULL) { in pcicfg_get_nslots()
4854 if (pci_config_get8(handle, cap_id_loc + PCI_CAP_ID_REGS_OFF) & in pcicfg_get_nslots()