Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c169 if (DDI_INTR_IS_MSI_OR_MSIX(hdlp->ih_type)) { in pci_get_priority()
266 tmp_hdl.ih_type = types; in pci_common_intr_ops()
300 if (DDI_INTR_IS_MSI_OR_MSIX(hdlp->ih_type)) { in pci_common_intr_ops()
301 if (pci_msi_get_nintrs(hdlp->ih_dip, hdlp->ih_type, in pci_common_intr_ops()
315 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) in pci_common_intr_ops()
320 if (DDI_INTR_IS_MSI_OR_MSIX(hdlp->ih_type) && in pci_common_intr_ops()
348 if (hdlp->ih_type == DDI_INTR_TYPE_MSI) in pci_common_intr_ops()
350 else if (hdlp->ih_type == DDI_INTR_TYPE_MSIX) in pci_common_intr_ops()
391 if (hdlp->ih_type == DDI_INTR_TYPE_MSIX) { in pci_common_intr_ops()
429 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()
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_introp.c801 *result = hdlp->ih_type; in apic_intr_ops()
803 *result = hdlp->ih_type & ~DDI_INTR_TYPE_MSIX; in apic_intr_ops()
805 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI | in apic_intr_ops()
809 if (hdlp->ih_type == DDI_INTR_TYPE_MSI) in apic_intr_ops()
820 hdlp->ih_pri, hdlp->ih_type); in apic_intr_ops()
827 *result = apic_introp_xlate(dip, ispec, hdlp->ih_type); in apic_intr_ops()
832 if ((irqp = apic_find_irq(dip, ispec, hdlp->ih_type)) == NULL) in apic_intr_ops()
834 *result = apic_get_pending(irqp, hdlp->ih_type); in apic_intr_ops()
837 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in apic_intr_ops()
839 irqp = apic_find_irq(dip, ispec, hdlp->ih_type); in apic_intr_ops()
[all …]
/illumos-gate/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.c1429 switch (hdlp->ih_type) { in px_intr_ops()
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix.c1130 switch (hdlp->ih_type) { in apix_intr_ops()
1158 hdlp->ih_type); in apix_intr_ops()
1166 vecp = apix_get_dev_map(dip, hdlp->ih_inum, hdlp->ih_type); in apix_intr_ops()
1179 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) { in apix_intr_ops()
1189 vecp = apix_get_dev_map(dip, hdlp->ih_inum, hdlp->ih_type); in apix_intr_ops()
1196 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in apix_intr_ops()
1199 vecp = apix_get_dev_map(dip, hdlp->ih_inum, hdlp->ih_type); in apix_intr_ops()
1206 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in apix_intr_ops()
1209 vecp = apix_get_dev_map(dip, hdlp->ih_inum, hdlp->ih_type); in apix_intr_ops()
1216 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.c1035 hdlp->ih_type); in apix_add_avintr()
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_psm.c656 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI | in xen_intr_ops()
681 *result = hdlp->ih_type; in xen_intr_ops()
683 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI | in xen_intr_ops()
687 if (hdlp->ih_type == DDI_INTR_TYPE_MSI) in xen_intr_ops()
698 hdlp->ih_pri, hdlp->ih_type); in xen_intr_ops()
715 *result = apic_introp_xlate(dip, ispec, hdlp->ih_type); in xen_intr_ops()
726 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xen_intr_ops()
732 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xen_intr_ops()
738 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) in xen_intr_ops()
744 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xen_intr_ops()
[all …]
/illumos-gate/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); \
/illumos-gate/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;
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxpvd.c482 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) { in xpvd_intr_ops()
554 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) { in xpvd_intr_ops()
612 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xpvd_intr_ops()
625 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in xpvd_intr_ops()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmp_machdep.c1709 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI | in mach_intr_ops()
1713 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) in mach_intr_ops()
1721 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED) in mach_intr_ops()
/illumos-gate/usr/src/uts/i86pc/io/
H A Disa.c807 ASSERT(hdlp->ih_type == DDI_INTR_TYPE_FIXED); in isa_intr_ops()
810 ASSERT(hdlp->ih_type == DDI_INTR_TYPE_FIXED); in isa_intr_ops()
836 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in isa_intr_ops()
H A Drootnex.c1397 ASSERT(hdlp->ih_type == DDI_INTR_TYPE_FIXED); in rootnex_intr_ops()
1400 ASSERT(hdlp->ih_type == DDI_INTR_TYPE_FIXED); in rootnex_intr_ops()
/illumos-gate/usr/src/uts/sparc/io/pciex/
H A Dpcieb_sparc.c79 (hdlp->ih_type != DDI_INTR_TYPE_FIXED)) in pcieb_plat_intr_ops()
/illumos-gate/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()
/illumos-gate/usr/src/uts/sun4/os/
H A Dddi_impl.c734 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED) in i_ddi_intr_ops()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c1133 (hdlp->ih_type == DDI_INTR_TYPE_MSI)) { in qlt_enable_intr()