Lines Matching refs:hdlp

627  * hdlp    - pointer to the internal interrupt handle structure for the
637 xen_intr_ops(dev_info_t *dip, ddi_intr_handle_impl_t *hdlp,
646 DDI_INTR_IMPLDBG((CE_CONT, "xen_intr_ops: dip: %p hdlp: %p "
647 "intr_op: %x\n", (void *)dip, (void *)hdlp, intr_op));
655 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI |
661 * masked off the MSI/X bits in hdlp->ih_type if not
665 * hdlp->ih_type passed in from the nexus has all the
680 *result = hdlp->ih_type;
682 *result = hdlp->ih_type & ~(DDI_INTR_TYPE_MSI |
686 if (hdlp->ih_type == DDI_INTR_TYPE_MSI)
687 *result = apic_alloc_msi_vectors(dip, hdlp->ih_inum,
688 hdlp->ih_scratch1, hdlp->ih_pri,
689 (int)(uintptr_t)hdlp->ih_scratch2);
691 *result = apic_alloc_msix_vectors(dip, hdlp->ih_inum,
692 hdlp->ih_scratch1, hdlp->ih_pri,
693 (int)(uintptr_t)hdlp->ih_scratch2);
696 apic_free_vectors(dip, hdlp->ih_inum, hdlp->ih_scratch1,
697 hdlp->ih_pri, hdlp->ih_type);
710 ispec = ((ihdl_plat_t *)hdlp->ih_private)->ip_ispecp;
714 *result = apic_introp_xlate(dip, ispec, hdlp->ih_type);
721 *result = ec_pending_irq(hdlp->ih_vector);
725 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED)
727 ec_enable_irq(hdlp->ih_vector);
731 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED)
733 ec_disable_irq(hdlp->ih_vector);
737 if (hdlp->ih_type == DDI_INTR_TYPE_FIXED)
743 if (hdlp->ih_type != DDI_INTR_TYPE_FIXED)
745 ispec = ((ihdl_plat_t *)hdlp->ih_private)->ip_ispecp;
746 if ((irqp = apic_find_irq(dip, ispec, hdlp->ih_type))
756 err = ec_set_irq_priority(hdlp->ih_vector, new_priority);
769 hdlp->ih_vector, hdlp->ih_private) != PSM_SUCCESS)