/illumos-gate/usr/src/cmd/mdb/i86pc/modules/common/ |
H A D | intr_common.c | 218 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 D | oce_intr.c | 62 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 D | ddi_intr_impl.h | 323 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 D | xge.c | 770 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() 788 ret = ddi_intr_get_navail(dip, lldev->intr_type, &avail); in xge_alloc_intrs() 807 ret = ddi_intr_alloc(dip, lldev->intr_table, lldev->intr_type, 0, 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() [all …]
|
H A D | xgell.h | 379 int intr_type; member
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_intr_impl.c | 134 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 D | nxge_intr.c | 528 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 D | pcieb.c | 332 static int pcieb_intr_init(pcieb_devstate_t *pcieb_p, int intr_type); 1121 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() 1147 if (intr_type == DDI_INTR_TYPE_MSI && pcie_link_bw_supported(dip)) { 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() [all …]
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_fm.c | 361 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 D | px_fm.h | 127 px_err_pcie_t *regs, pf_intr_type_t intr_type);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc_ddi.c | 643 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 D | vmx.c | 2197 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() 2267 intr_type == VMCS_INTR_T_PRIV_SWEXCEPTION || 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() 2304 intr_type != VMCS_INTR_T_SWEXCEPTION && in vmx_exit_process() 2305 intr_type != VMCS_INTR_T_PRIV_SWEXCEPTION) { in vmx_exit_process() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhci.c | 43 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 D | pvscsi_var.h | 95 int intr_type; member
|
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_main.c | 592 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 D | rge_main.c | 1298 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 D | igb_main.c | 1530 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() 4508 rc = ddi_intr_get_nintrs(devinfo, intr_type, &count); in igb_alloc_intr_handles() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | asy.c | 1051 asy_intr_setup(struct asycom *asy, int intr_type) in asy_intr_setup() argument 1067 if ((asy->asy_intr_types & intr_type) == 0) in asy_intr_setup() 1070 ret = ddi_intr_get_nintrs(asy->asy_dip, intr_type, &nintrs); in asy_intr_setup() 1073 intr_type); in asy_intr_setup() 1078 asyerror(asy, CE_WARN, "no interrupts of type %d", intr_type); in asy_intr_setup() 1082 ret = ddi_intr_get_navail(asy->asy_dip, intr_type, &navail); in asy_intr_setup() 1085 intr_type); in asy_intr_setup() 1091 intr_type); in asy_intr_setup() 1101 ret = ddi_intr_alloc(asy->asy_dip, asy->asy_inth, intr_type, 0, 1, in asy_intr_setup() 1105 "type %d", navail, intr_type); in asy_intr_setup() [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 2059 ASSERT(ixgbe->intr_type == DDI_INTR_TYPE_MSIX); in ixgbe_cbfunc() 4371 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() 4422 (ixgbe->intr_type == DDI_INTR_TYPE_MSI)) { in ixgbe_enable_adapter_interrupts() 5102 ixgbe->intr_type = 0; in ixgbe_alloc_intrs() 5186 ixgbe_alloc_intr_handles(ixgbe_t *ixgbe, int intr_type) in ixgbe_alloc_intr_handles() argument 5196 switch (intr_type) { in ixgbe_alloc_intr_handles() 5225 intr_type); in ixgbe_alloc_intr_handles() 5234 rc = ddi_intr_get_nintrs(devinfo, intr_type, &count); in ixgbe_alloc_intr_handles() 5254 rc = ddi_intr_alloc(devinfo, ixgbe->htable, intr_type, 0, in ixgbe_alloc_intr_handles() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mr_sas/ |
H A D | mr_sas.c | 182 switch (m.intr_type) { in mr_sas_dcmd()
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | ppt.c | 1283 int i, msi_count, intr_type; in ppt_setup_msi() local 1319 intr_type = DDI_INTR_TYPE_FIXED; in ppt_setup_msi() 1322 intr_type = DDI_INTR_TYPE_MSI; in ppt_setup_msi() 1336 if (ddi_intr_alloc(ppt->pptd_dip, ppt->msi.inth, intr_type, 0, in ppt_setup_msi()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_nexus.c | 128 int intr_type; /* DDI_INTR_TYPE_* */ member 561 sc->intr_type = iaq.intr_type; in t4_devo_attach() 564 if (sc->props.multi_rings && (sc->intr_type != DDI_INTR_TYPE_MSIX)) { in t4_devo_attach() 635 rc = ddi_intr_alloc(dip, sc->intr_handle, sc->intr_type, 0, in t4_devo_attach() 640 sc->intr_count, sc->intr_type, rc, i); in t4_devo_attach() 716 sc->intr_type == DDI_INTR_TYPE_MSIX ? "MSI-X interrupts" : in t4_devo_attach() 717 sc->intr_type == DDI_INTR_TYPE_MSI ? "MSI interrupts" : in t4_devo_attach() 2074 iaq->intr_type = itype; in cfg_itype_and_nqueues()
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_main.c | 2877 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 D | i40e_main.c | 1682 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 D | qlge.c | 808 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() 870 if ((qlge->intr_type == DDI_INTR_TYPE_MSIX) && (intr != 0)) in ql_disable_completion_interrupt() 895 if ((qlge->intr_type != DDI_INTR_TYPE_MSIX) || i == 0) { in ql_enable_all_completion_interrupts() 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() [all …]
|