Searched refs:caps_ptr (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c103 * and caps_ptr for MSI/X if these are found.
107 ushort_t *caps_ptr, ddi_acc_handle_t *h)
109 *msi_ctrl = *caps_ptr = 0;
119 if ((PCI_CAP_LOCATE(*h, PCI_CAP_ID_MSI, caps_ptr) == DDI_SUCCESS) &&
121 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr,
126 "caps_ptr=%x msi_ctrl=%x\n", *caps_ptr, *msi_ctrl));
131 if ((PCI_CAP_LOCATE(*h, PCI_CAP_ID_MSI_X, caps_ptr) == DDI_SUCCESS) &&
133 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr,
138 "caps_ptr
106 pci_get_msi_ctrl(dev_info_t *dip, int type, ushort_t *msi_ctrl, ushort_t *caps_ptr, ddi_acc_handle_t *h) argument
157 ushort_t caps_ptr, msi_ctrl; local
203 ushort_t caps_ptr, msi_ctrl; local
298 ushort_t msi_ctrl, caps_ptr; local
364 ushort_t caps_ptr, msi_ctrl; local
399 ushort_t caps_ptr, msi_ctrl; local
447 ushort_t caps_ptr, msi_ctrl; local
492 ushort_t caps_ptr, msi_ctrl; local
554 ushort_t caps_ptr, msi_ctrl; local
616 ushort_t caps_ptr, msi_ctrl; local
675 ushort_t caps_ptr, msi_ctrl; local
712 ushort_t caps_ptr, msi_ctrl; local
749 ushort_t caps_ptr, msi_ctrl; local
788 ushort_t caps_ptr, msix_ctrl; local
[all...]
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_sunmod.c989 uint16_t caps_ptr; local
1000 caps_ptr = pci_config_get8(mstate->mis_cfg_hdl, PCI_CONF_CAP_PTR);
1001 while (caps_ptr != PCI_CAP_NEXT_PTR_NULL) {
1002 cap = pci_config_get32(mstate->mis_cfg_hdl, caps_ptr);
1005 caps_ptr = pci_config_get8(mstate->mis_cfg_hdl,
1006 caps_ptr + PCI_CAP_NEXT_PTR);
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c4054 ushort_t caps_ptr, cap_count, cap; local
4182 caps_ptr = P2ALIGN(pci_config_get8(
4186 caps_ptr = PCI_CAP_NEXT_PTR_NULL;
4192 for (cap_count = 0; caps_ptr != PCI_CAP_NEXT_PTR_NULL; ) {
4203 if (caps_ptr < PCI_CAP_PTR_OFF) {
4206 caps_ptr);
4215 caps_ptr);
4223 ahci_ctlp->ahcictl_pmcsr_offset = caps_ptr + PCI_PMCSR;
4228 caps_ptr + PCI_PMCAP);
4246 caps_ptr
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c13042 ushort_t caps_ptr, cap, cap_count; local
13052 caps_ptr = P2ALIGN(pci_config_get8(mpt->m_config_handle,
13055 caps_ptr = PCI_CAP_NEXT_PTR_NULL;
13061 for (cap_count = 0; caps_ptr != PCI_CAP_NEXT_PTR_NULL; ) {
13072 if (caps_ptr < 64) {
13075 caps_ptr);
13083 cap = pci_config_get8(mpt->m_config_handle, caps_ptr);
13092 mpt->m_pmcsr_offset = caps_ptr + PCI_PMCSR;
13114 caps_ptr = P2ALIGN(pci_config_get8(mpt->m_config_handle,
13115 (caps_ptr
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c817 ushort_t caps_ptr, cap; local
1283 caps_ptr = (uint8_t)ql_pci_config_get8(ha, PCI_CONF_CAP_PTR);
1285 while (caps_ptr != PCI_CAP_NEXT_PTR_NULL) {
1286 cap = (uint8_t)ql_pci_config_get8(ha, caps_ptr);
1291 caps_ptr = (uint8_t)ql_pci_config_get8(ha, caps_ptr +

Completed in 183 milliseconds