/titanic_41/usr/src/uts/i86pc/sys/ |
H A D | psm_common.h | 78 uchar_t ipin; member 116 extern int acpi_translate_pci_irq(dev_info_t *dip, int ipin, int *pci_irqp, 132 extern void acpi_new_irq_cache_ent(int bus, int dev, int ipin, int pci_irq, 135 extern int acpi_get_irq_cache_ent(uchar_t bus, uchar_t dev, int ipin,
|
H A D | apic.h | 627 #define READ_IOAPIC_RDT_ENTRY_LOW_DWORD(ioapic_ix, ipin) \ argument 628 ioapic_read(ioapic_ix, APIC_RDT_CMD + (2 * (ipin))) 630 #define READ_IOAPIC_RDT_ENTRY_HIGH_DWORD(ioapic_ix, ipin) \ argument 631 ioapic_read(ioapic_ix, APIC_RDT_CMD2 + (2 * (ipin))) 633 #define WRITE_IOAPIC_RDT_ENTRY_LOW_DWORD(ioapic_ix, ipin, value) \ argument 634 ioapic_write(ioapic_ix, APIC_RDT_CMD + (2 * (ipin)), value) 636 #define WRITE_IOAPIC_RDT_ENTRY_HIGH_DWORD(ioapic_ix, ipin, value) \ argument 637 ioapic_write(ioapic_ix, APIC_RDT_CMD2 + (2 * (ipin)), value)
|
H A D | apix.h | 242 int ipin, int *pci_irqp, iflag_t *intr_flagp);
|
/titanic_41/usr/src/cmd/mdb/i86pc/modules/common/ |
H A D | apic_common.c | 30 #define APIC_READ_IOAPIC_RDT_ENTRY_LOW_DWORD(ioapic_ix, ipin) \ argument 31 apic_ioapic_read(ioapic_ix, APIC_RDT_CMD + (2 * (ipin))) 33 #define APIC_READ_IOAPIC_RDT_ENTRY_HIGH_DWORD(ioapic_ix, ipin) \ argument 34 apic_ioapic_read(ioapic_ix, APIC_RDT_CMD2 + (2 * (ipin)))
|
/titanic_41/usr/src/uts/i86pc/io/psm/ |
H A D | psm_common.c | 93 int ipin, int *pci_irqp, iflag_t *iflagp, acpi_psm_lnk_t *acpipsmlnkp); 108 acpi_get_gsiv(dev_info_t *dip, ACPI_HANDLE pciobj, int devno, int ipin, in acpi_get_gsiv() argument 129 if (dev_adr != prtp->Address || ipin != prtp->Pin) in acpi_get_gsiv() 403 acpi_translate_pci_irq(dev_info_t *dip, int ipin, int *pci_irqp, in acpi_translate_pci_irq() argument 412 curpin = ipin; in acpi_translate_pci_irq() 831 acpi_new_irq_cache_ent(int bus, int dev, int ipin, int pci_irq, in acpi_new_irq_cache_ent() argument 857 ep->ipin = (uchar_t)ipin; in acpi_new_irq_cache_ent() 875 acpi_get_irq_cache_ent(uchar_t bus, uchar_t dev, int ipin, in acpi_get_irq_cache_ent() argument 888 (irqcachep->ipin == ipin)) { in acpi_get_irq_cache_ent()
|
H A D | uppc.c | 622 int ipin, int *pci_irqp, iflag_t *intr_flagp) in uppc_acpi_translate_pci_irq() argument 627 if ((status = acpi_get_irq_cache_ent(busid, devid, ipin, pci_irqp, in uppc_acpi_translate_pci_irq() 637 if ((status = acpi_translate_pci_irq(dip, ipin, pci_irqp, in uppc_acpi_translate_pci_irq() 656 acpi_new_irq_cache_ent(busid, devid, ipin, *pci_irqp, in uppc_acpi_translate_pci_irq() 857 uchar_t ipin, iline; in uppc_translate_irq() local 890 ipin = pci_config_get8(cfg_handle, PCI_CONF_IPIN) - PCI_INTA; in uppc_translate_irq() 893 ipin, &pci_irq, &intr_flag) == ACPI_PSM_SUCCESS) { in uppc_translate_irq()
|
/titanic_41/usr/src/uts/i86xpv/io/psm/ |
H A D | mp_platform_xpv.c | 89 int ipin, int *pci_irqp, iflag_t *intr_flagp); 731 uchar_t ipin; in apic_introp_xlate() local 805 ipin = pci_config_get8(cfg_handle, PCI_CONF_IPIN) - PCI_INTA; in apic_introp_xlate() 809 ipin, &pci_irq, &intr_flag) != ACPI_PSM_SUCCESS) in apic_introp_xlate() 816 pci_irq = ((devid & 0x1f) << 2) | (ipin & 0x3); in apic_introp_xlate() 820 devid, ipin, &intrp)) == -1) in apic_introp_xlate() 902 uchar_t ioapicindex, uchar_t ipin, apic_irq_t **irqptrp) in apic_share_vector() argument 922 dummyirq.airq_intin_no = ipin; in apic_share_vector() 974 irqptr->airq_intin_no = ipin; in apic_share_vector() 1010 uchar_t ipin, ioapic, ioapicindex, vector; in apic_setup_irq_table() local [all …]
|
H A D | xpv_uppc.c | 616 int ipin, int *pci_irqp, iflag_t *intr_flagp) in xen_uppc_acpi_translate_pci_irq() argument 621 if ((status = acpi_get_irq_cache_ent(busid, devid, ipin, pci_irqp, in xen_uppc_acpi_translate_pci_irq() 631 if ((status = acpi_translate_pci_irq(dip, ipin, pci_irqp, in xen_uppc_acpi_translate_pci_irq() 650 acpi_new_irq_cache_ent(busid, devid, ipin, *pci_irqp, in xen_uppc_acpi_translate_pci_irq() 670 uchar_t ipin, iline; in xen_uppc_translate_irq() local 703 ipin = pci_config_get8(cfg_handle, PCI_CONF_IPIN) - PCI_INTA; in xen_uppc_translate_irq() 706 ipin, &pci_irq, &intr_flag) == ACPI_PSM_SUCCESS) { in xen_uppc_translate_irq()
|
/titanic_41/usr/src/uts/i86pc/io/ |
H A D | mp_platform_misc.c | 98 int ipin, int *pci_irqp, iflag_t *intr_flagp); 777 uchar_t ipin; in apic_introp_xlate() local 851 ipin = pci_config_get8(cfg_handle, PCI_CONF_IPIN) - PCI_INTA; in apic_introp_xlate() 855 ipin, &pci_irq, &intr_flag) != ACPI_PSM_SUCCESS) in apic_introp_xlate() 862 pci_irq = ((devid & 0x1f) << 2) | (ipin & 0x3); in apic_introp_xlate() 866 devid, ipin, &intrp)) == -1) in apic_introp_xlate() 948 uchar_t ioapicindex, uchar_t ipin, apic_irq_t **irqptrp) in apic_share_vector() argument 968 dummyirq.airq_intin_no = ipin; in apic_share_vector() 1020 irqptr->airq_intin_no = ipin; in apic_share_vector() 1056 uchar_t ipin, ioapic, ioapicindex, vector; in apic_setup_irq_table() local [all …]
|
H A D | mp_platform_common.c | 123 int ipin, int *pci_irqp, iflag_t *intr_flagp); 1360 int ipin; in apic_handle_pci_pci_bridge() local 1383 ipin = (child_devno + child_ipin) % PCI_INTD; in apic_handle_pci_pci_bridge() 1387 (ipin & 0x3); in apic_handle_pci_pci_bridge() 1394 child_ipin = ipin; in apic_handle_pci_pci_bridge() 1743 int ipin, int *pci_irqp, iflag_t *intr_flagp) in apic_acpi_translate_pci_irq() argument 1749 if ((status = acpi_get_irq_cache_ent(busid, devid, ipin, pci_irqp, in apic_acpi_translate_pci_irq() 1759 if ((status = acpi_translate_pci_irq(dip, ipin, pci_irqp, intr_flagp, in apic_acpi_translate_pci_irq() 1778 acpi_new_irq_cache_ent(busid, devid, ipin, *pci_irqp, in apic_acpi_translate_pci_irq()
|
/titanic_41/usr/src/uts/i86pc/io/apix/ |
H A D | apix.c | 2253 uchar_t ipin, ioapic, ioapicindex; in apix_intx_setup() local 2261 ipin = intrp->intr_destintin; in apix_intx_setup() 2271 if ((newirq = apic_find_intin(ioapicindex, ipin)) != -1) in apix_intx_setup() 2279 ipin = irqno - apic_io_vectbase[ioapicindex]; in apix_intx_setup() 2283 ASSERT(apic_irq_table[irqno]->airq_intin_no == ipin && in apix_intx_setup() 2293 ipin = (uchar_t)irqno; in apix_intx_setup() 2316 irqp->airq_intin_no = ipin; in apix_intx_setup() 2403 uchar_t ipin; in apix_intx_setup_pci() local 2415 ipin = pci_config_get8(cfg_handle, PCI_CONF_IPIN) - PCI_INTA; in apix_intx_setup_pci() 2420 ipin, &pci_irq, &intr_flag) != ACPI_PSM_SUCCESS) in apix_intx_setup_pci() [all …]
|
H A D | apix_utils.c | 1835 uchar_t ioapicindex, ipin; in ioapix_setup_intr() local 1841 ipin = irqno - apic_io_vectbase[ioapicindex]; in ioapix_setup_intr() 1852 ASSERT(irqp->airq_intin_no == ipin && in ioapix_setup_intr() 1864 irqp->airq_intin_no = ipin; in ioapix_setup_intr() 1891 irqno, ioapicindex, ipin, irqp->airq_cpu, irqp->airq_vector)); in ioapix_setup_intr()
|