Home
last modified time | relevance | path

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

1234

/titanic_50/usr/src/cmd/mdb/i86pc/modules/common/
H A Dintr_common.c217 char *intr_type; in apic_interrupt_dump() local
231 intr_type = get_interrupt_type(irqp->airq_mps_intr_index); in apic_interrupt_dump()
238 if (strcmp(intr_type, "Fixed") == 0) in apic_interrupt_dump()
276 intr_type, cpu_assigned, irqp->airq_share, ioapic_iline); in apic_interrupt_dump()
320 char *intr_type; in apix_interrupt_dump() local
339 intr_type = get_apix_interrupt_type(vectp->v_type); in apix_interrupt_dump()
355 if (strcmp(intr_type, "Fixed") == 0) in apix_interrupt_dump()
394 intr_type, vectp->v_share, ioapic_iline); in apix_interrupt_dump()
413 char *intr_type = "IPI"; in apix_interrupt_ipi_dump() local
448 intr_type, vectp->v_share, ioapic_iline); in apix_interrupt_ipi_dump()
/titanic_50/usr/src/cmd/mdb/sparc/modules/intr/
H A Dintr.c47 uint16_t intr_type; member
245 info.intr_type = DDI_INTR_TYPE_FIXED; in intr_niumx_walk_step()
332 info.intr_type = DDI_INTR_TYPE_FIXED; in intr_pci_print_items()
426 info.intr_type = in intr_px_print_items()
495 mdb_printf(" %s\t", intr_get_intr_type(info.intr_type)); in intr_print_elements()
496 if (info.intr_type == DDI_INTR_TYPE_FIXED) { in intr_print_elements()
516 intr_get_intr_type(info.intr_type)); in intr_print_elements()
517 if (info.intr_type == DDI_INTR_TYPE_MSI) { in intr_print_elements()
519 } else if (info.intr_type == DDI_INTR_TYPE_MSIX) { in intr_print_elements()
521 } else if (!info.intr_type) { in intr_print_elements()
/titanic_50/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()
/titanic_50/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);
/titanic_50/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()
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 Dxgell.h379 int intr_type; member
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_intr.c525 int intr_type, behavior; in nxge_hio_intr_init() local
585 interrupts->intr_type = DDI_INTR_TYPE_FIXED; in nxge_hio_intr_init()
588 intr_type = interrupts->intr_type; in nxge_hio_intr_init()
590 ddi_status = ddi_intr_get_navail(nxge->dip, intr_type, &navail); in nxge_hio_intr_init()
602 ddi_status = ddi_intr_get_nintrs(nxge->dip, intr_type, &nintrs); in nxge_hio_intr_init()
622 behavior = ((intr_type == DDI_INTR_TYPE_FIXED) ? in nxge_hio_intr_init()
625 ddi_status = ddi_intr_alloc(nxge->dip, interrupts->htable, intr_type, in nxge_hio_intr_init()
/titanic_50/usr/src/uts/common/io/pciex/
H A Dpcieb.c215 static int pcieb_intr_init(pcieb_devstate_t *pcieb_p, int intr_type);
999 pcieb_intr_init(pcieb_devstate_t *pcieb, int intr_type) in pcieb_intr_init() argument
1012 (intr_type == DDI_INTR_TYPE_MSI) ? "MSI" : "INTx"); in pcieb_intr_init()
1024 if ((intr_type == DDI_INTR_TYPE_MSI) && PCIE_IS_RP(bus_p) && in pcieb_intr_init()
1035 if (intr_type == DDI_INTR_TYPE_MSI) { in pcieb_intr_init()
1050 ret = ddi_intr_get_nintrs(dip, intr_type, &nintrs); in pcieb_intr_init()
1069 ret = ddi_intr_alloc(dip, pcieb->pcieb_htable, intr_type, inum, in pcieb_intr_init()
1089 if (intr_type == DDI_INTR_TYPE_MSI) { in pcieb_intr_init()
1165 pcieb->pcieb_intr_type = intr_type; in pcieb_intr_init()
1168 if (intr_type == DDI_INTR_TYPE_MSI) { in pcieb_intr_init()
[all …]
/titanic_50/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);
/titanic_50/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()
/titanic_50/usr/src/tools/ctf/cvt/
H A Ddwarf.c606 intr->intr_type = INTR_INT; in tdesc_intr_common()
1330 intr->intr_type = INTR_INT; in die_base_name_parse()
1395 intr->intr_type = INTR_INT; in die_base_from_dwarf()
1398 intr->intr_type = INTR_INT; in die_base_from_dwarf()
1402 intr->intr_type = INTR_INT; in die_base_from_dwarf()
1406 intr->intr_type = INTR_INT; in die_base_from_dwarf()
1411 intr->intr_type = INTR_INT; in die_base_from_dwarf()
1420 intr->intr_type = INTR_REAL; in die_base_from_dwarf()
H A Dmerge.c224 if (si->intr_type != ti->intr_type || in equiv_intrinsic()
230 if (si->intr_type == INTR_INT && in equiv_intrinsic()
233 else if (si->intr_type == INTR_REAL && in equiv_intrinsic()
H A Dctftools.h182 intrtype_t intr_type; member
H A Dctf.c273 if (ip->intr_type == INTR_INT) in write_type()
282 if (ip->intr_type == INTR_INT) { in write_type()
971 ip->intr_type = INTR_INT; in resurrect_types()
997 ip->intr_type = INTR_REAL; in resurrect_types()
/titanic_50/usr/src/uts/common/io/igb/
H A Digb_main.c1485 if (igb->intr_type == DDI_INTR_TYPE_MSIX) in igb_init_adapter()
3612 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_disable_adapter_interrupts()
3633 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_enable_adapter_interrupts_82580()
3664 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_enable_adapter_interrupts_82576()
3697 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_enable_adapter_interrupts_82575()
4360 igb->intr_type = 0; in igb_alloc_intrs()
4416 igb_alloc_intr_handles(igb_t *igb, int intr_type) in igb_alloc_intr_handles() argument
4425 switch (intr_type) { in igb_alloc_intr_handles()
4453 intr_type); in igb_alloc_intr_handles()
4463 rc = ddi_intr_get_nintrs(devinfo, intr_type, &count); in igb_alloc_intr_handles()
[all …]
H A Digb_gld.c719 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_rx_ring_intr_enable()
747 if (igb->intr_type == DDI_INTR_TYPE_MSIX) { in igb_rx_ring_intr_disable()
832 if (igb->intr_type & (DDI_INTR_TYPE_MSIX | DDI_INTR_TYPE_MSI)) { in igb_fill_ring()
849 if (igb->intr_type & (DDI_INTR_TYPE_MSIX | DDI_INTR_TYPE_MSI)) { in igb_fill_ring()
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/atge/
H A Datge_main.c590 atge_add_intr_handler(atge_t *atgep, int intr_type) in atge_add_intr_handler() argument
598 if (intr_type != DDI_INTR_TYPE_FIXED) { in atge_add_intr_handler()
599 err = ddi_intr_get_nintrs(atgep->atge_dip, intr_type, &count); in atge_add_intr_handler()
609 err = ddi_intr_get_navail(atgep->atge_dip, intr_type, &avail); in atge_add_intr_handler()
636 intr_type)); in atge_add_intr_handler()
639 intr_type, 0, avail, &atgep->atge_intr_cnt, flag); in atge_add_intr_handler()
710 if (intr_type == DDI_INTR_TYPE_FIXED) in atge_add_intr_handler()
712 else if (intr_type == DDI_INTR_TYPE_MSI) in atge_add_intr_handler()
714 else if (intr_type == DDI_INTR_TYPE_MSIX) in atge_add_intr_handler()
/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c118 int intr_type; /* DDI_INTR_TYPE_* */ member
475 sc->intr_type = iaq.intr_type; in t4_devo_attach()
572 rc = ddi_intr_alloc(dip, sc->intr_handle, sc->intr_type, 0, in t4_devo_attach()
577 sc->intr_count, sc->intr_type, rc, i); in t4_devo_attach()
655 sc->intr_type == DDI_INTR_TYPE_MSIX ? "MSI-X interrupts" : in t4_devo_attach()
656 sc->intr_type == DDI_INTR_TYPE_MSI ? "MSI interrupts" : in t4_devo_attach()
666 sc->intr_type == DDI_INTR_TYPE_MSIX ? "MSI-X interrupts" : in t4_devo_attach()
667 sc->intr_type == DDI_INTR_TYPE_MSI ? "MSI interrupts" : in t4_devo_attach()
1686 iaq->intr_type = itype; in cfg_itype_and_nqueues()
/titanic_50/usr/src/uts/common/io/ixgbe/
H A Dixgbe_main.c1968 ASSERT(ixgbe->intr_type == DDI_INTR_TYPE_MSIX); in ixgbe_cbfunc()
4203 if (ixgbe->intr_type == DDI_INTR_TYPE_MSIX) { in ixgbe_disable_adapter_interrupts()
4231 if (ixgbe->intr_type == DDI_INTR_TYPE_MSIX) { in ixgbe_enable_adapter_interrupts()
4254 (ixgbe->intr_type == DDI_INTR_TYPE_MSI)) { in ixgbe_enable_adapter_interrupts()
4929 ixgbe->intr_type = 0; in ixgbe_alloc_intrs()
5011 ixgbe_alloc_intr_handles(ixgbe_t *ixgbe, int intr_type) in ixgbe_alloc_intr_handles() argument
5021 switch (intr_type) { in ixgbe_alloc_intr_handles()
5050 intr_type); in ixgbe_alloc_intr_handles()
5059 rc = ddi_intr_get_nintrs(devinfo, intr_type, &count); in ixgbe_alloc_intr_handles()
5079 rc = ddi_intr_alloc(devinfo, ixgbe->htable, intr_type, 0, in ixgbe_alloc_intr_handles()
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/mr_sas/
H A Dmr_sas.c182 switch (m.intr_type) { in mr_sas_dcmd()
/titanic_50/usr/src/uts/common/io/i40e/
H A Di40e_main.c1648 i40e_alloc_intr_handles(i40e_t *i40e, dev_info_t *devinfo, int intr_type) in i40e_alloc_intr_handles() argument
1655 switch (intr_type) { in i40e_alloc_intr_handles()
1683 "%d", intr_type); in i40e_alloc_intr_handles()
1687 rc = ddi_intr_get_nintrs(devinfo, intr_type, &count); in i40e_alloc_intr_handles()
1694 rc = ddi_intr_get_navail(devinfo, intr_type, &count); in i40e_alloc_intr_handles()
1710 rc = ddi_intr_alloc(devinfo, i40e->i40e_intr_handles, intr_type, 0, in i40e_alloc_intr_handles()
1746 i40e->i40e_intr_type = intr_type; in i40e_alloc_intr_handles()
/titanic_50/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()

1234