/illumos-gate/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_intr.c | 242 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 D | xpv_psm.c | 1109 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) {
|
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_introp.c | 62 ushort_t msi_ctrl; local 106 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); 109 msi_ctrl |= ((highbit(count) -1) << PCI_MSI_MME_SHIFT); 110 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl); 118 if (msi_ctrl & PCI_MSI_64BIT_MASK) { 412 ushort_t msi_ctrl; local 419 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); 420 if ((msi_ctrl & PCI_MSI_ENABLE_BIT)) 423 msi_ctrl |= PCI_MSI_ENABLE_BIT; 424 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl); 509 ushort_t msi_ctrl; local [all...] |
H A D | apic_common.c | 1656 ushort_t msi_ctrl; local 1663 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); 1664 msi_ctrl &= (~PCI_MSI_MME_MASK); 1665 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl); 1668 if (msi_ctrl & PCI_MSI_64BIT_MASK) { 1710 ushort_t msi_ctrl; local 1717 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); 1718 if (!(msi_ctrl & PCI_MSI_ENABLE_BIT)) 1721 msi_ctrl &= ~PCI_MSI_ENABLE_BIT; /* MSI disable */ 1722 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl); [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | pci_intr_lib.c | 106 pci_get_msi_ctrl(dev_info_t *dip, int type, ushort_t *msi_ctrl, argument 109 *msi_ctrl = *caps_ptr = 0; 121 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr, 126 "caps_ptr=%x msi_ctrl=%x\n", *caps_ptr, *msi_ctrl)); 133 if ((*msi_ctrl = PCI_CAP_GET16(*h, NULL, *caps_ptr, 138 "caps_ptr=%x msi_ctrl=%x\n", *caps_ptr, *msi_ctrl)); 157 ushort_t caps_ptr, msi_ctrl; local 165 if (pci_get_msi_ctrl(rdip, type, &msi_ctrl, 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 [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpci.c | 674 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)
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 304 ushort_t msi_ctrl; local 341 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); 344 msi_ctrl |= ((highbit(count) - 1) << PCI_MSI_MME_SHIFT); 345 pci_config_put16(handle, cap_ptr + PCI_MSI_CTRL, msi_ctrl); 348 APIX_WRITE_MSI_DATA(handle, cap_ptr, msi_ctrl, 353 if (msi_ctrl & PCI_MSI_64BIT_MASK) 357 APIX_WRITE_MSI_DATA(handle, cap_ptr, msi_ctrl, msi_data); 379 ushort_t msi_ctrl; local 386 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); 387 if ((msi_ctrl 1637 ushort_t msi_ctrl; local [all...] |
H A D | apix.c | 1658 ushort_t msi_ctrl; local 1715 msi_ctrl = pci_config_get16(handle, cap_ptr + PCI_MSI_CTRL); 1718 if (msi_ctrl & PCI_MSI_PVM_MASK) { 1719 if (msi_ctrl & PCI_MSI_64BIT_MASK) 1734 if (msi_ctrl & PCI_MSI_PVM_MASK) {
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor.c | 3427 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);
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_var.h | 140 uint16_t msi_ctrl; member in struct:myri10ge_pci_saved_state
|