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

/opensolaris-onvv-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c102 * and caps_ptr for MSI/X if these are found.
106 ushort_t *caps_ptr, ddi_acc_handle_t *h)
108 *msi_ctrl = *caps_ptr = 0;
118 if ((PCI_CAP_LOCATE(*h, PCI_CAP_ID_MSI, caps_ptr) == DDI_SUCCESS) &&
120 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr,
125 "caps_ptr=%x msi_ctrl=%x\n", *caps_ptr, *msi_ctrl));
130 if ((PCI_CAP_LOCATE(*h, PCI_CAP_ID_MSI_X, caps_ptr) == DDI_SUCCESS) &&
132 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr,
137 "caps_ptr
105 pci_get_msi_ctrl(dev_info_t *dip, int type, ushort_t *msi_ctrl, ushort_t *caps_ptr, ddi_acc_handle_t *h) argument
156 ushort_t caps_ptr, msi_ctrl; local
202 ushort_t caps_ptr, msi_ctrl; local
287 ushort_t msi_ctrl, caps_ptr; local
346 ushort_t caps_ptr, msi_ctrl; local
381 ushort_t caps_ptr, msi_ctrl; local
429 ushort_t caps_ptr, msi_ctrl; local
474 ushort_t caps_ptr, msi_ctrl; local
536 ushort_t caps_ptr, msi_ctrl; local
598 ushort_t caps_ptr, msi_ctrl; local
657 ushort_t caps_ptr, msi_ctrl; local
694 ushort_t caps_ptr, msi_ctrl; local
731 ushort_t caps_ptr, msi_ctrl; local
770 ushort_t caps_ptr, msix_ctrl; local
[all...]
/opensolaris-onvv-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);
/opensolaris-onvv-gate/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c3999 ushort_t caps_ptr, cap_count, cap; local
4127 caps_ptr = P2ALIGN(pci_config_get8(
4131 caps_ptr = PCI_CAP_NEXT_PTR_NULL;
4137 for (cap_count = 0; caps_ptr != PCI_CAP_NEXT_PTR_NULL; ) {
4148 if (caps_ptr < PCI_CAP_PTR_OFF) {
4151 caps_ptr);
4160 caps_ptr);
4168 ahci_ctlp->ahcictl_pmcsr_offset = caps_ptr + PCI_PMCSR;
4173 caps_ptr + PCI_PMCAP);
4191 caps_ptr
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c12503 ushort_t caps_ptr, cap, cap_count; local
12513 caps_ptr = P2ALIGN(pci_config_get8(mpt->m_config_handle,
12516 caps_ptr = PCI_CAP_NEXT_PTR_NULL;
12522 for (cap_count = 0; caps_ptr != PCI_CAP_NEXT_PTR_NULL; ) {
12533 if (caps_ptr < 64) {
12536 caps_ptr);
12544 cap = pci_config_get8(mpt->m_config_handle, caps_ptr);
12553 mpt->m_pmcsr_offset = caps_ptr + PCI_PMCSR;
12575 caps_ptr = P2ALIGN(pci_config_get8(mpt->m_config_handle,
12576 (caps_ptr
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c814 ushort_t caps_ptr, cap; local
1298 caps_ptr = (uint8_t)ql_pci_config_get8(ha, PCI_CONF_CAP_PTR);
1300 while (caps_ptr != PCI_CAP_NEXT_PTR_NULL) {
1301 cap = (uint8_t)ql_pci_config_get8(ha, caps_ptr);
1306 caps_ptr = (uint8_t)ql_pci_config_get8(ha, caps_ptr +

Completed in 110 milliseconds