Lines Matching defs:dip

63 	dev_info_t		*dip = irq_ptr->airq_dip;
64 int cap_ptr = i_ddi_get_msi_msix_cap_ptr(dip);
65 ddi_acc_handle_t handle = i_ddi_get_pci_config_handle(dip);
70 DDI_INTR_IMPLDBG((CE_CONT, "apic_pci_msi_enable_vector: dip=0x%p\n"
71 "\tdriver = %s, inum=0x%x vector=0x%x apicid=0x%x\n", (void *)dip,
72 ddi_driver_name(dip), inum, vector, target_apic_id));
83 apic_vt_ops->apic_intrmap_alloc_entry(intrmap_tbl, dip, type,
130 ddi_intr_msix_t *msix_p = i_ddi_get_msix(dip);
150 * dip is not used at this moment. If we really don't need that,
155 apic_navail_vector(dev_info_t *dip, int pri)
159 DDI_INTR_IMPLDBG((CE_CONT, "apic_navail_vector: dip: %p, pri: %x\n",
160 (void *)dip, pri));
239 * It finds the apic_irq_t associates with the dip, ispec and type.
242 apic_find_irq(dev_info_t *dip, struct intrspec *ispec, int type)
247 DDI_INTR_IMPLDBG((CE_CONT, "apic_find_irq: dip=0x%p vec=0x%x "
248 "ipl=0x%x type=0x%x\n", (void *)dip, ispec->intrspec_vec,
253 if ((irqp->airq_dip == dip) &&
376 apic_free_vectors(dev_info_t *dip, int inum, int count, int pri, int type)
382 DDI_INTR_IMPLDBG((CE_CONT, "apic_free_vectors: dip: %p inum: %x "
384 (void *)dip, inum, count, pri, type));
395 if ((irqptr = apic_find_irq(dip, &ispec, type)) == NULL) {
397 "dip=0x%p inum=0x%x pri=0x%x apic_find_irq() "
398 "failed\n", (void *)dip, inum, pri));
557 * shared. Since they are not shared, the dip in the table will
567 /* Sanity check: CPU and dip is the same for all entries. */
572 "set_grp: cpu or dip for vec 0x%x difft than for "
575 " cpu: %d vs %d, dip: 0x%p vs 0x%p\n", orig_cpu,
696 /* Some devices have NULL dip. Don't count these. */
720 * filling in the dip array.
744 * dip - pointer to the dev_info structure of the requested device
755 apic_intr_ops(dev_info_t *dip, ddi_intr_handle_impl_t *hdlp,
766 DDI_INTR_IMPLDBG((CE_CONT, "apic_intr_ops: dip: %p hdlp: %p "
767 "intr_op: %x\n", (void *)dip, (void *)hdlp, intr_op));
807 *result = apic_alloc_msi_vectors(dip, hdlp->ih_inum,
811 *result = apic_alloc_msix_vectors(dip, hdlp->ih_inum,
816 apic_free_vectors(dip, hdlp->ih_inum, hdlp->ih_scratch1,
820 *result = apic_navail_vector(dip, hdlp->ih_pri);
824 *result = apic_introp_xlate(dip, ispec, hdlp->ih_type);
829 if ((irqp = apic_find_irq(dip, ispec, hdlp->ih_type)) == NULL)
836 irqp = apic_find_irq(dip, ispec, hdlp->ih_type);
844 if ((irqp = apic_find_irq(dip, ispec, hdlp->ih_type)) == NULL)
858 if ((irqp = apic_find_irq(dip, ispec, hdlp->ih_type)) == NULL)
876 count_vec = apic_alloc_msi_vectors(dip, hdlp->ih_inum,
880 count_vec = apic_alloc_msix_vectors(dip, hdlp->ih_inum,
890 apic_free_vectors(dip, hdlp->ih_inum, count_vec,