Home
last modified time | relevance | path

Searched refs:intr_type (Results 1 – 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/cmd/mdb/i86pc/modules/common/
H A Dintr_common.c218 char *intr_type; in apic_interrupt_dump() local
232 intr_type = get_interrupt_type(irqp->airq_mps_intr_index); in apic_interrupt_dump()
239 if (strcmp(intr_type, "Fixed") == 0) in apic_interrupt_dump()
277 intr_type, cpu_assigned, irqp->airq_share, ioapic_iline); in apic_interrupt_dump()
326 char *intr_type; in apix_interrupt_dump() local
345 intr_type = get_apix_interrupt_type(vectp->v_type); in apix_interrupt_dump()
361 if (strcmp(intr_type, "Fixed") == 0) in apix_interrupt_dump()
400 intr_type, vectp->v_share, ioapic_iline); in apix_interrupt_dump()
419 char *intr_type = "IPI"; in apix_interrupt_ipi_dump() local
454 intr_type, vectp->v_share, ioapic_iline); in apix_interrupt_ipi_dump()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_intr.c62 dev->intr_type = DDI_INTR_TYPE_MSIX; in oce_setup_intr()
67 dev->intr_type = DDI_INTR_TYPE_FIXED; in oce_setup_intr()
72 ret = ddi_intr_get_nintrs(dev->dip, dev->intr_type, &nsupported); in oce_setup_intr()
80 ret = ddi_intr_get_navail(dev->dip, dev->intr_type, &navail); in oce_setup_intr()
106 ret = ddi_intr_alloc(dev->dip, dev->htable, dev->intr_type, in oce_setup_intr()
141 if ((dev->intr_type == DDI_INTR_TYPE_MSIX) && in oce_setup_intr()
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_intr_impl.h323 void i_ddi_intr_set_current_type(dev_info_t *dip, int intr_type);
324 uint_t i_ddi_intr_get_supported_nintrs(dev_info_t *dip, int intr_type);
330 uint_t i_ddi_intr_get_current_navail(dev_info_t *dip, int intr_type);
331 uint_t i_ddi_intr_get_limit(dev_info_t *dip, int intr_type,
334 ddi_irm_pool_t *i_ddi_intr_get_pool(dev_info_t *dip, int intr_type);
337 int i_ddi_irm_insert(dev_info_t *dip, int intr_type, int count);
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxge.c770 if (lldev->intr_type == DDI_INTR_TYPE_MSIX) { in xge_alloc_intrs()
779 ret = ddi_intr_get_nintrs(dip, lldev->intr_type, &count); in xge_alloc_intrs()
815 lldev->intr_type == DDI_INTR_TYPE_MSIX ? "MSI-X" : in xge_alloc_intrs()
843 if (lldev->intr_type == DDI_INTR_TYPE_MSIX) in xge_alloc_intrs()
866 if (lldev->intr_type == DDI_INTR_TYPE_MSIX) in xge_free_intrs()
889 switch (lldev->intr_type) { in xge_add_intrs()
1191 ll->intr_type = DDI_INTR_TYPE_MSIX; in xge_attach()
1200 ll->intr_type = DDI_INTR_TYPE_FIXED; in xge_attach()
1208 if (ll->intr_type == DDI_INTR_TYPE_MSIX) { in xge_attach()
1210 ll->intr_type = DDI_INTR_TYPE_FIXED; in xge_attach()
[all …]
H A Dxgell.h379 int intr_type; member
/illumos-gate/usr/src/uts/common/os/
H A Dddi_intr_impl.c134 i_ddi_intr_get_supported_nintrs(dev_info_t *dip, int intr_type) in i_ddi_intr_get_supported_nintrs() argument
140 if ((intr_p) && (intr_p->devi_intr_curr_type == intr_type) && in i_ddi_intr_get_supported_nintrs()
146 hdl.ih_type = intr_type; in i_ddi_intr_get_supported_nintrs()
179 i_ddi_intr_set_current_type(dev_info_t *dip, int intr_type) in i_ddi_intr_set_current_type() argument
184 intr_p->devi_intr_curr_type = intr_type; in i_ddi_intr_set_current_type()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_intr.c528 int intr_type, behavior; in nxge_hio_intr_init() local
588 interrupts->intr_type = DDI_INTR_TYPE_FIXED; in nxge_hio_intr_init()
591 intr_type = interrupts->intr_type; in nxge_hio_intr_init()
593 ddi_status = ddi_intr_get_navail(nxge->dip, intr_type, &navail); in nxge_hio_intr_init()
605 ddi_status = ddi_intr_get_nintrs(nxge->dip, intr_type, &nintrs); in nxge_hio_intr_init()
625 behavior = ((intr_type == DDI_INTR_TYPE_FIXED) ? in nxge_hio_intr_init()
628 ddi_status = ddi_intr_alloc(nxge->dip, interrupts->htable, intr_type, in nxge_hio_intr_init()
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcieb.c1121 pcieb_intr_init(pcieb_devstate_t *pcieb, int intr_type) in pcieb_intr_init() argument
1135 (intr_type == DDI_INTR_TYPE_MSI) ? "MSI" : "INTx"); in pcieb_intr_init()
1142 if ((intr_type == DDI_INTR_TYPE_MSI) && PCIE_IS_RP(bus_p) && in pcieb_intr_init()
1164 if (intr_type == DDI_INTR_TYPE_MSI) { in pcieb_intr_init()
1180 ret = ddi_intr_get_nintrs(dip, intr_type, &nintrs); in pcieb_intr_init()
1199 ret = ddi_intr_alloc(dip, pcieb->pcieb_htable, intr_type, inum, in pcieb_intr_init()
1219 if (intr_type == DDI_INTR_TYPE_MSI) { in pcieb_intr_init()
1295 pcieb->pcieb_intr_type = intr_type; in pcieb_intr_init()
1298 if (intr_type == DDI_INTR_TYPE_MSI) { in pcieb_intr_init()
1335 if ((intr_type == DDI_INTR_TYPE_MSI) && PCIE_IS_RP(bus_p)) { in pcieb_intr_init()
[all …]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_fm.c361 PCIE_ROOT_EH_SRC(pfd_p)->intr_type = PF_INTR_TYPE_DATA; in px_fm_callback()
452 PCIE_ROOT_EH_SRC(pfd_p)->intr_type = PF_INTR_TYPE_FABRIC; in px_err_fabric_intr()
587 pf_intr_type_t intr_type) in px_err_check_pcie() argument
594 PCIE_ROOT_EH_SRC(pfd_p)->intr_type = intr_type; in px_err_check_pcie()
740 PCIE_ROOT_EH_SRC(pfd_p)->intr_type = PF_INTR_TYPE_NONE; in px_get_pfd()
H A Dpx_fm.h127 px_err_pcie_t *regs, pf_intr_type_t intr_type);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/
H A Dlmrc_ddi.c643 lmrc_add_intrs(lmrc_t *lmrc, int intr_type) in lmrc_add_intrs() argument
660 if ((lmrc->l_intr_types & intr_type) == 0) in lmrc_add_intrs()
664 if (intr_type == DDI_INTR_TYPE_MSIX && !lmrc->l_fw_msix_enabled) in lmrc_add_intrs()
667 ret = ddi_intr_get_nintrs(lmrc->l_dip, intr_type, &nintrs); in lmrc_add_intrs()
674 ret = ddi_intr_get_navail(lmrc->l_dip, intr_type, &navail); in lmrc_add_intrs()
691 ret = ddi_intr_alloc(lmrc->l_dip, lmrc->l_intr_htable, intr_type, 0, in lmrc_add_intrs()
754 lmrc->l_intr_type = intr_type; in lmrc_add_intrs()
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmx.c2197 uint32_t intr_type, intr_vec, reason; in vmx_exit_process() local
2254 intr_type = idtvec_info & VMCS_INTR_T_MASK; in vmx_exit_process()
2255 if (intr_type == VMCS_INTR_T_NMI) { in vmx_exit_process()
2266 if (intr_type == VMCS_INTR_T_SWINTR || in vmx_exit_process()
2268 intr_type == VMCS_INTR_T_SWEXCEPTION) { in vmx_exit_process()
2302 intr_type = idtvec_info & VMCS_INTR_T_MASK; in vmx_exit_process()
2303 if (intr_type != VMCS_INTR_T_SWINTR && in vmx_exit_process()
2425 intr_type = intr_info & VMCS_INTR_T_MASK; in vmx_exit_process()
2444 if (intr_type == VMCS_INTR_T_NMI) in vmx_exit_process()
2460 if (intr_type == VMCS_INTR_T_SWEXCEPTION && in vmx_exit_process()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhci.c43 static int uhci_add_intrs(uhci_state_t *uhcip, int intr_type);
485 int intr_type) in uhci_add_intrs() argument
491 "uhci_add_intrs: interrupt type 0x%x", intr_type); in uhci_add_intrs()
494 ret = ddi_intr_get_nintrs(uhcip->uhci_dip, intr_type, &count); in uhci_add_intrs()
504 ret = ddi_intr_get_navail(uhcip->uhci_dip, intr_type, &avail); in uhci_add_intrs()
523 flag = (intr_type == DDI_INTR_TYPE_MSI) ? in uhci_add_intrs()
528 intr_type, 0, count, &actual, flag); in uhci_add_intrs()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pvscsi/
H A Dpvscsi_var.h95 int intr_type; member
/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_main.c592 atge_add_intr_handler(atge_t *atgep, int intr_type) in atge_add_intr_handler() argument
600 if (intr_type != DDI_INTR_TYPE_FIXED) { in atge_add_intr_handler()
601 err = ddi_intr_get_nintrs(atgep->atge_dip, intr_type, &count); in atge_add_intr_handler()
611 err = ddi_intr_get_navail(atgep->atge_dip, intr_type, &avail); in atge_add_intr_handler()
638 intr_type)); in atge_add_intr_handler()
641 intr_type, 0, avail, &atgep->atge_intr_cnt, flag); in atge_add_intr_handler()
712 if (intr_type == DDI_INTR_TYPE_FIXED) in atge_add_intr_handler()
714 else if (intr_type == DDI_INTR_TYPE_MSI) in atge_add_intr_handler()
716 else if (intr_type == DDI_INTR_TYPE_MSIX) in atge_add_intr_handler()
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c1298 rge_add_intrs(rge_t *rgep, int intr_type) in rge_add_intrs() argument
1309 ret = ddi_intr_get_nintrs(dip, intr_type, &count); in rge_add_intrs()
1317 ret = ddi_intr_get_navail(dip, intr_type, &avail); in rge_add_intrs()
1330 ret = ddi_intr_alloc(dip, rgep->htable, intr_type, 0, in rge_add_intrs()
1739 rgep->intr_type = DDI_INTR_TYPE_MSI; in rge_attach()
1751 rgep->intr_type = DDI_INTR_TYPE_FIXED; in rge_attach()
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_main.c1530 if (igb->intr_type == DDI_INTR_TYPE_MSIX) in igb_init_adapter()
3657 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_disable_adapter_interrupts()
3678 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_enable_adapter_interrupts_82580()
3709 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_enable_adapter_interrupts_82576()
3742 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_enable_adapter_interrupts_82575()
4405 igb->intr_type = 0; in igb_alloc_intrs()
4461 igb_alloc_intr_handles(igb_t *igb, int intr_type) in igb_alloc_intr_handles() argument
4470 switch (intr_type) { in igb_alloc_intr_handles()
4498 intr_type); in igb_alloc_intr_handles()
4603 igb->intr_type = intr_type; in igb_alloc_intr_handles()
[all …]
H A Digb_gld.c701 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_rx_ring_intr_enable()
729 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_rx_ring_intr_disable()
814 if (igb->intr_type & (DDI_INTR_TYPE_MSIX | DDI_INTR_TYPE_MSI)) { in igb_fill_ring()
831 if (igb->intr_type & (DDI_INTR_TYPE_MSIX | DDI_INTR_TYPE_MSI)) { in igb_fill_ring()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_main.c4371 if (ixgbe->intr_type == DDI_INTR_TYPE_MSIX) { in ixgbe_disable_adapter_interrupts()
4399 if (ixgbe->intr_type == DDI_INTR_TYPE_MSIX) { in ixgbe_enable_adapter_interrupts()
5102 ixgbe->intr_type = 0; in ixgbe_alloc_intrs()
5196 switch (intr_type) { in ixgbe_alloc_intr_handles()
5225 intr_type); in ixgbe_alloc_intr_handles()
5309 ixgbe->intr_type = intr_type; in ixgbe_alloc_intr_handles()
5331 switch (ixgbe->intr_type) { in ixgbe_add_intr_handlers()
5696 if (ixgbe->intr_type != DDI_INTR_TYPE_MSIX) { in ixgbe_map_intrs_to_vectors()
5774 if (ixgbe->intr_type != DDI_INTR_TYPE_MSIX) { in ixgbe_setup_adapter_vector()
6256 if (ixgbe->intr_type & in ixgbe_fill_ring()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/mr_sas/
H A Dmr_sas.c182 switch (m.intr_type) { in mr_sas_dcmd()
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dppt.c1239 int i, msi_count, intr_type; in ppt_setup_msi() local
1275 intr_type = DDI_INTR_TYPE_FIXED; in ppt_setup_msi()
1278 intr_type = DDI_INTR_TYPE_MSI; in ppt_setup_msi()
1292 if (ddi_intr_alloc(ppt->pptd_dip, ppt->msi.inth, intr_type, 0, in ppt_setup_msi()
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_main.c2877 ngep->intr_type = DDI_INTR_TYPE_MSI; in nge_register_intrs_and_init_locks()
2893 ngep->intr_type = DDI_INTR_TYPE_FIXED; in nge_register_intrs_and_init_locks()
2919 nge_add_intrs(nge_t *ngep, int intr_type) in nge_add_intrs() argument
2925 NGE_DEBUG(("nge_add_intrs: interrupt type 0x%x\n", intr_type)); in nge_add_intrs()
2928 ret = ddi_intr_get_nintrs(dip, intr_type, &count); in nge_add_intrs()
2937 ret = ddi_intr_get_navail(dip, intr_type, &avail); in nge_add_intrs()
2956 ret = ddi_intr_alloc(dip, ngep->htable, intr_type, 0, in nge_add_intrs()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_main.c1682 i40e_alloc_intr_handles(i40e_t *i40e, dev_info_t *devinfo, int intr_type) in i40e_alloc_intr_handles() argument
1689 switch (intr_type) { in i40e_alloc_intr_handles()
1717 "%d", intr_type); in i40e_alloc_intr_handles()
1720 rc = ddi_intr_get_nintrs(devinfo, intr_type, &count); in i40e_alloc_intr_handles()
1727 rc = ddi_intr_get_navail(devinfo, intr_type, &count); in i40e_alloc_intr_handles()
1743 rc = ddi_intr_alloc(devinfo, i40e->i40e_intr_handles, intr_type, 0, in i40e_alloc_intr_handles()
1779 i40e->i40e_intr_type = intr_type; in i40e_alloc_intr_handles()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c808 if ((qlge->intr_type == DDI_INTR_TYPE_MSIX) && intr) { in ql_enable_completion_interrupt()
841 if ((qlge->intr_type == DDI_INTR_TYPE_MSIX) && intr) { in ql_forced_disable_completion_interrupt()
917 if ((qlge->intr_type != DDI_INTR_TYPE_MSIX) || i == 0) in ql_disable_all_completion_interrupts()
2960 if (qlge->intr_type != DDI_INTR_TYPE_MSIX) { in ql_isr()
3915 switch (qlge->intr_type) { in ql_add_intr_handlers()
4016 if (qlge->intr_type == DDI_INTR_TYPE_MSIX) { in ql_resolve_queues_to_irqs()
4194 ql_request_irq_vectors(qlge_t *qlge, int intr_type) in ql_request_irq_vectors() argument
4204 switch (intr_type) { in ql_request_irq_vectors()
4345 qlge->intr_type = intr_type; in ql_request_irq_vectors()
4416 qlge->intr_type = DDI_INTR_TYPE_MSI; in ql_alloc_irqs()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c125 int intr_type; /* DDI_INTR_TYPE_* */ member
580 sc->intr_type = iaq.intr_type; in t4_devo_attach()
583 if (sc->props.multi_rings && (sc->intr_type != DDI_INTR_TYPE_MSIX)) { in t4_devo_attach()
695 rc = ddi_intr_alloc(dip, sc->intr_handle, sc->intr_type, 0, in t4_devo_attach()
700 sc->intr_count, sc->intr_type, rc, i); in t4_devo_attach()
805 sc->intr_type == DDI_INTR_TYPE_MSIX ? "MSI-X interrupts" : in t4_devo_attach()
806 sc->intr_type == DDI_INTR_TYPE_MSI ? "MSI interrupts" : in t4_devo_attach()
2238 iaq->intr_type = itype;

1234