Home
last modified time | relevance | path

Searched refs:ih_type (Results 1 – 22 of 22) sorted by relevance

/titanic_50/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c168 if (DDI_INTR_IS_MSI_OR_MSIX(hdlp->ih_type)) { in pci_get_priority()
265 tmp_hdl.ih_type = types; in pci_common_intr_ops()
299 if (DDI_INTR_IS_MSI_OR_MSIX(hdlp->ih_type)) { in pci_common_intr_ops()
300 if (pci_msi_get_nintrs(hdlp->ih_dip, hdlp->ih_type, in pci_common_intr_ops()
314 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) in pci_common_intr_ops()
319 if (DDI_INTR_IS_MSI_OR_MSIX(hdlp->ih_type) && in pci_common_intr_ops()
347 if (hdlp->ih_type == DDI_INTR_TYPE_MSI) in pci_common_intr_ops()
349 else if (hdlp->ih_type == DDI_INTR_TYPE_MSIX) in pci_common_intr_ops()
390 if (hdlp->ih_type == DDI_INTR_TYPE_MSIX) { in pci_common_intr_ops()
428 if (DDI_INTR_IS_MSI_OR_MSIX(hdlp->ih_type) && in pci_common_intr_ops()
[all …]
H A Dpci_kstats.c134 switch (ih_p->ih_type) { in pci_ih_ks_update()
/titanic_50/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_introp.c798 *result = hdlp->ih_type; in apic_intr_ops()
800 *result = hdlp->ih_type & ~DDI_INTR_TYPE_MSIX; in apic_intr_ops()
802 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI | in apic_intr_ops()
806 if (hdlp->ih_type == DDI_INTR_TYPE_MSI) in apic_intr_ops()
817 hdlp->ih_pri, hdlp->ih_type); in apic_intr_ops()
824 *result = apic_introp_xlate(dip, ispec, hdlp->ih_type); in apic_intr_ops()
829 if ((irqp = apic_find_irq(dip, ispec, hdlp->ih_type)) == NULL) in apic_intr_ops()
831 *result = apic_get_pending(irqp, hdlp->ih_type); in apic_intr_ops()
834 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in apic_intr_ops()
836 irqp = apic_find_irq(dip, ispec, hdlp->ih_type); in apic_intr_ops()
[all …]
/titanic_50/usr/src/uts/sun4/io/px/
H A Dpx_intr.c582 ret = pci_msi_get_cap(rdip, hdlp->ih_type, (int *)result); in px_msix_ops()
593 if ((ret = px_msi_alloc(px_p, rdip, hdlp->ih_type, in px_msix_ops()
599 "count 0x%x\n", rdip, hdlp->ih_type, hdlp->ih_inum, in px_msix_ops()
605 if ((hdlp->ih_type == DDI_INTR_TYPE_MSIX) && in px_msix_ops()
626 (void) pci_msi_unconfigure(rdip, hdlp->ih_type, hdlp->ih_inum); in px_msix_ops()
628 if (hdlp->ih_type == DDI_INTR_TYPE_MSI) in px_msix_ops()
731 if ((pci_is_msi_enabled(rdip, hdlp->ih_type) != DDI_SUCCESS) || in px_msix_ops()
732 (hdlp->ih_type == DDI_INTR_TYPE_MSIX)) { in px_msix_ops()
735 if ((ret = pci_msi_configure(rdip, hdlp->ih_type, in px_msix_ops()
737 hdlp->ih_type == DDI_INTR_TYPE_MSIX ? in px_msix_ops()
[all …]
H A Dpx.c1416 switch (hdlp->ih_type) { in px_intr_ops()
/titanic_50/usr/src/uts/common/sys/
H A Dddi_intr_impl.h79 uint16_t ih_type; /* interrupt type being used */ member
371 if ((hdlp->ih_type == DDI_INTR_TYPE_MSIX) && \
374 ASSERT(hdlp->ih_type == hdlp->ih_main->ih_type); \
/titanic_50/usr/src/uts/i86pc/io/apix/
H A Dapix.c1153 switch (hdlp->ih_type) { in apix_intr_ops()
1181 hdlp->ih_type); in apix_intr_ops()
1189 vecp = apix_get_dev_map(dip, hdlp->ih_inum, hdlp->ih_type); in apix_intr_ops()
1202 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) { in apix_intr_ops()
1212 vecp = apix_get_dev_map(dip, hdlp->ih_inum, hdlp->ih_type); in apix_intr_ops()
1219 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in apix_intr_ops()
1222 vecp = apix_get_dev_map(dip, hdlp->ih_inum, hdlp->ih_type); in apix_intr_ops()
1229 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in apix_intr_ops()
1232 vecp = apix_get_dev_map(dip, hdlp->ih_inum, hdlp->ih_type); in apix_intr_ops()
1239 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in apix_intr_ops()
[all …]
H A Dapix_irm.c277 if (handle->ih_type == DDI_INTR_TYPE_FIXED) in apix_irm_intr_ops()
282 if (handle->ih_type == DDI_INTR_TYPE_FIXED) in apix_irm_intr_ops()
H A Dapix_utils.c1030 hdlp->ih_type); in apix_add_avintr()
/titanic_50/usr/src/uts/i86xpv/io/psm/
H A Dxpv_psm.c655 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI | in xen_intr_ops()
680 *result = hdlp->ih_type; in xen_intr_ops()
682 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI | in xen_intr_ops()
686 if (hdlp->ih_type == DDI_INTR_TYPE_MSI) in xen_intr_ops()
697 hdlp->ih_pri, hdlp->ih_type); in xen_intr_ops()
714 *result = apic_introp_xlate(dip, ispec, hdlp->ih_type); in xen_intr_ops()
725 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xen_intr_ops()
731 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xen_intr_ops()
737 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) in xen_intr_ops()
743 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xen_intr_ops()
[all …]
/titanic_50/usr/src/uts/common/os/
H A Dddi_intr.c107 hdl.ih_type = type; in ddi_intr_get_nintrs()
276 tmp_hdl.ih_type = type; in ddi_intr_alloc()
320 hdlp->ih_type = type; in ddi_intr_alloc()
389 if (hdlp->ih_type & DDI_INTR_TYPE_FIXED) in ddi_intr_free()
667 (hdlp->ih_type != DDI_INTR_TYPE_MSIX) || /* only MSI-X allowed */ in ddi_intr_dup_handler()
762 ((hdlp->ih_type == DDI_INTR_TYPE_MSI) && in ddi_intr_enable()
797 ((hdlp->ih_type == DDI_INTR_TYPE_MSI) && in ddi_intr_disable()
835 hdlp->ih_type != DDI_INTR_TYPE_MSI || in ddi_intr_block_enable()
882 hdlp->ih_type != DDI_INTR_TYPE_MSI || in ddi_intr_block_disable()
H A Dddi_intr_impl.c146 hdl.ih_type = intr_type; in i_ddi_intr_get_supported_nintrs()
280 hdl.ih_type = type; in i_ddi_intr_get_limit()
527 (hdlp->ih_type != DDI_INTR_TYPE_MSIX)) { in set_intr_affinity()
H A Dddi_intr_irm.c1248 hdl.ih_type = type;
/titanic_50/usr/src/uts/common/xen/io/
H A Dxpvd.c471 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) { in xpvd_intr_ops()
543 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) { in xpvd_intr_ops()
601 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xpvd_intr_ops()
614 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xpvd_intr_ops()
/titanic_50/usr/src/uts/i86pc/os/
H A Dmp_machdep.c1735 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI | in mach_intr_ops()
1739 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) in mach_intr_ops()
1747 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) in mach_intr_ops()
/titanic_50/usr/src/uts/i86pc/io/
H A Disa.c806 ASSERT(hdlp->ih_type == DDI_INTR_TYPE_FIXED); in isa_intr_ops()
809 ASSERT(hdlp->ih_type == DDI_INTR_TYPE_FIXED); in isa_intr_ops()
835 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in isa_intr_ops()
H A Drootnex.c1407 ASSERT(hdlp->ih_type == DDI_INTR_TYPE_FIXED); in rootnex_intr_ops()
1410 ASSERT(hdlp->ih_type == DDI_INTR_TYPE_FIXED); in rootnex_intr_ops()
/titanic_50/usr/src/uts/sparc/io/pciex/
H A Dpcieb_sparc.c79 (hdlp->ih_type != DDI_INTR_TYPE_FIXED)) in pcieb_plat_intr_ops()
/titanic_50/usr/src/uts/common/io/cardbus/
H A Dcardbus.c2242 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) { in cardbus_intr_ops()
2290 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) { in cardbus_enable_intr_impl()
2326 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) { in cardbus_disable_intr_impl()
/titanic_50/usr/src/uts/sun4/os/
H A Dddi_impl.c733 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in i_ddi_intr_ops()
/titanic_50/usr/src/uts/sun4u/io/pci/
H A Dpci_pci.c668 (hdlp->ih_type != DDI_INTR_TYPE_FIXED)) in ppb_intr_ops()
H A Ddb21554.c2156 (hdlp->ih_type != DDI_INTR_TYPE_FIXED)) in db_intr_ops()