Searched refs:msi_ctrl (Results 1 - 11 of 11) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_intr.c242 ushort_t msi_ctrl; local
266 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
269 msi_ctrl |= ((highbit(count) -1) << PCI_MSI_MME_SHIFT);
270 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl);
281 ushort_t msi_ctrl; local
288 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
289 if (!(msi_ctrl & PCI_MSI_ENABLE_BIT))
292 msi_ctrl &= ~PCI_MSI_ENABLE_BIT; /* MSI disable */
293 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl);
296 msi_ctrl
312 ushort_t msi_ctrl; local
[all...]
H A Dxpv_psm.c1109 ushort_t msi_ctrl; local
1114 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
1118 if (msi_ctrl & PCI_MSI_64BIT_MASK) {
/opensolaris-onvv-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c105 pci_get_msi_ctrl(dev_info_t *dip, int type, ushort_t *msi_ctrl, argument
108 *msi_ctrl = *caps_ptr = 0;
120 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr,
125 "caps_ptr=%x msi_ctrl=%x\n", *caps_ptr, *msi_ctrl));
132 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr,
137 "caps_ptr=%x msi_ctrl=%x\n", *caps_ptr, *msi_ctrl));
156 ushort_t caps_ptr, msi_ctrl; local
164 if (pci_get_msi_ctrl(rdip, type, &msi_ctrl,
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
[all...]
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_introp.c61 ushort_t msi_ctrl; local
105 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
108 msi_ctrl |= ((highbit(count) -1) << PCI_MSI_MME_SHIFT);
109 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl);
117 if (msi_ctrl & PCI_MSI_64BIT_MASK) {
408 ushort_t msi_ctrl; local
415 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
416 if ((msi_ctrl & PCI_MSI_ENABLE_BIT))
419 msi_ctrl |= PCI_MSI_ENABLE_BIT;
420 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl);
505 ushort_t msi_ctrl; local
[all...]
H A Dapic_common.c1633 ushort_t msi_ctrl; local
1640 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
1641 msi_ctrl &= (~PCI_MSI_MME_MASK);
1642 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl);
1645 if (msi_ctrl & PCI_MSI_64BIT_MASK) {
1687 ushort_t msi_ctrl; local
1694 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
1695 if (!(msi_ctrl & PCI_MSI_ENABLE_BIT))
1698 msi_ctrl &= ~PCI_MSI_ENABLE_BIT; /* MSI disable */
1699 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl);
[all...]
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c300 ushort_t msi_ctrl; local
337 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
340 msi_ctrl |= ((highbit(count) - 1) << PCI_MSI_MME_SHIFT);
341 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl);
344 APIX_WRITE_MSI_DATA(handle, cap_ptr, msi_ctrl,
349 if (msi_ctrl & PCI_MSI_64BIT_MASK)
353 APIX_WRITE_MSI_DATA(handle, cap_ptr, msi_ctrl, msi_data);
372 ushort_t msi_ctrl; local
379 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
380 if ((msi_ctrl
1630 ushort_t msi_ctrl; local
[all...]
H A Dapix.c1675 ushort_t msi_ctrl; local
1732 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL);
1735 if (msi_ctrl & PCI_MSI_PVM_MASK) {
1736 if (msi_ctrl & PCI_MSI_64BIT_MASK)
1751 if (msi_ctrl & PCI_MSI_PVM_MASK) {
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dsunpci.c674 uint16_t msi_ctrl; local
677 msi_ctrl = pci_config_get16(confhdl, cap_ptr + PCI_MSI_CTRL);
679 if (msi_ctrl & PCI_MSI_64BIT_MASK)
682 if (msi_ctrl & PCI_MSI_PVM_MASK)
/opensolaris-onvv-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c3427 ushort_t msi_ctrl = 0, caps_ctrl = 0; local
3443 if ((msi_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL,
3447 ASSERT(msi_ctrl != 0);
3449 if (!(msi_ctrl & PCI_MSI_ENABLE_BIT))
3452 if (msi_ctrl & PCI_MSI_PVM_MASK) {
3453 int offset = (msi_ctrl & PCI_MSI_64BIT_MASK) ?
3462 msi_ctrl &= ~PCI_MSI_ENABLE_BIT;
3464 msi_ctrl);
/opensolaris-onvv-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_var.h140 uint16_t msi_ctrl; member in struct:myri10ge_pci_saved_state
H A Dmyri10ge.c5600 mgp->pci_saved_state.msi_ctrl =
5628 mgp->pci_saved_state.msi_ctrl);

Completed in 152 milliseconds