Home
last modified time | relevance | path

Searched refs:caps_ptr (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c109 *msi_ctrl = *caps_ptr = 0; in pci_get_msi_ctrl()
157 ushort_t caps_ptr, msi_ctrl; in pci_msi_get_cap() local
203 ushort_t caps_ptr, msi_ctrl; in pci_msi_configure() local
296 ushort_t msi_ctrl, caps_ptr; in pci_msi_unconfigure() local
360 ushort_t caps_ptr, msi_ctrl; in pci_is_msi_enabled() local
395 ushort_t caps_ptr, msi_ctrl; in pci_msi_enable_mode() local
443 ushort_t caps_ptr, msi_ctrl; in pci_msi_disable_mode() local
487 ushort_t caps_ptr, msi_ctrl; in pci_msi_set_mask() local
549 ushort_t caps_ptr, msi_ctrl; in pci_msi_clr_mask() local
611 ushort_t caps_ptr, msi_ctrl; in pci_msi_get_pending() local
[all …]
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c4159 ushort_t caps_ptr, cap_count, cap; in ahci_config_space_init() local
4287 caps_ptr = P2ALIGN(pci_config_get8( in ahci_config_space_init()
4291 caps_ptr = PCI_CAP_NEXT_PTR_NULL; in ahci_config_space_init()
4308 if (caps_ptr < PCI_CAP_PTR_OFF) { in ahci_config_space_init()
4311 caps_ptr); in ahci_config_space_init()
4320 caps_ptr); in ahci_config_space_init()
4328 ahci_ctlp->ahcictl_pmcsr_offset = caps_ptr + PCI_PMCSR; in ahci_config_space_init()
4333 caps_ptr + PCI_PMCAP); in ahci_config_space_init()
4351 caps_ptr + PCI_MSI_CTRL); in ahci_config_space_init()
4394 caps_ptr = P2ALIGN(pci_config_get8( in ahci_config_space_init()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c13370 ushort_t caps_ptr, cap, cap_count; in mptsas_get_pci_cap() local
13380 caps_ptr = P2ALIGN(pci_config_get8(mpt->m_config_handle, in mptsas_get_pci_cap()
13383 caps_ptr = PCI_CAP_NEXT_PTR_NULL; in mptsas_get_pci_cap()
13389 for (cap_count = 0; caps_ptr != PCI_CAP_NEXT_PTR_NULL; ) { in mptsas_get_pci_cap()
13400 if (caps_ptr < 64) { in mptsas_get_pci_cap()
13403 caps_ptr); in mptsas_get_pci_cap()
13411 cap = pci_config_get8(mpt->m_config_handle, caps_ptr); in mptsas_get_pci_cap()
13420 mpt->m_pmcsr_offset = caps_ptr + PCI_PMCSR; in mptsas_get_pci_cap()
13442 caps_ptr = P2ALIGN(pci_config_get8(mpt->m_config_handle, in mptsas_get_pci_cap()
13443 (caps_ptr + PCI_CAP_NEXT_PTR)), 4); in mptsas_get_pci_cap()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c875 ushort_t caps_ptr, cap; in ql_attach() local
1450 caps_ptr = (uint8_t)ql_pci_config_get8(ha, PCI_CONF_CAP_PTR); in ql_attach()
1452 while (caps_ptr != PCI_CAP_NEXT_PTR_NULL) { in ql_attach()
1453 cap = (uint8_t)ql_pci_config_get8(ha, caps_ptr); in ql_attach()
1458 caps_ptr = (uint8_t)ql_pci_config_get8(ha, caps_ptr + in ql_attach()