Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c3566 uint_t cap_id_loc; in pcihp_get_hs_csr_location() local
3581 cap_id_loc = pci_config_get8(config_handle, PCI_CONF_EXTCAP); in pcihp_get_hs_csr_location()
3587 while ((cap_id_loc) && (cap_id_loc < PCI_CONF_HDR_SIZE)) { in pcihp_get_hs_csr_location()
3589 cap_id = pci_config_get8(config_handle, cap_id_loc); in pcihp_get_hs_csr_location()
3592 location = cap_id_loc + PCI_ECP_HS_CSR; in pcihp_get_hs_csr_location()
3595 cap_id_loc = pci_config_get8(config_handle, in pcihp_get_hs_csr_location()
3596 cap_id_loc + 1); in pcihp_get_hs_csr_location()
/titanic_41/usr/src/uts/intel/io/pci/
H A Dpci_boot.c821 uint8_t curcap, cap_id_loc; in get_pci_cap() local
834 cap_id_loc = pci_getb(bus, dev, func, PCI_CONF_CAP_PTR); in get_pci_cap()
837 while (cap_id_loc && cap_id_loc != (uint8_t)-1) { in get_pci_cap()
838 curcap = pci_getb(bus, dev, func, cap_id_loc); in get_pci_cap()
841 location = cap_id_loc; in get_pci_cap()
844 cap_id_loc = pci_getb(bus, dev, func, cap_id_loc + 1); in get_pci_cap()
/titanic_41/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c3189 uint16_t cap_id_loc, val; in pcicfg_set_standard_props() local
3310 (void) PCI_CAP_LOCATE(config_handle, PCI_CAP_ID_PCI_E, &cap_id_loc); in pcicfg_set_standard_props()
3311 if (pcie_dev && cap_id_loc != PCI_CAP_NEXT_PTR_NULL) { in pcicfg_set_standard_props()
3312 val = pci_config_get16(config_handle, cap_id_loc + PCIE_PCIECAP) in pcicfg_set_standard_props()
3316 wordval = pci_config_get32(config_handle, cap_id_loc + in pcicfg_set_standard_props()
5115 uint16_t cap_id_loc, slot_id_loc; in pcicfg_get_nslots() local
5119 (void) PCI_CAP_LOCATE(handle, PCI_CAP_ID_PCI_E, &cap_id_loc); in pcicfg_get_nslots()
5121 if (cap_id_loc != PCI_CAP_NEXT_PTR_NULL) { in pcicfg_get_nslots()
5122 if (pci_config_get8(handle, cap_id_loc + PCI_CAP_ID_REGS_OFF) & in pcicfg_get_nslots()