Home
last modified time | relevance | path

Searched refs:intr_types (Results 1 – 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_intr.c45 int intr_types = 0; in oce_setup_intr() local
53 ret = ddi_intr_get_supported_types(dev->dip, &intr_types); in oce_setup_intr()
61 if (intr_types & DDI_INTR_TYPE_MSIX) { in oce_setup_intr()
66 } else if (intr_types & DDI_INTR_TYPE_FIXED) { in oce_setup_intr()
131 if ((intr_types & DDI_INTR_TYPE_MSIX) && (nallocd > 1)) { in oce_setup_intr()
142 (intr_types & DDI_INTR_TYPE_FIXED)) { in oce_setup_intr()
143 intr_types &= ~DDI_INTR_TYPE_MSIX; in oce_setup_intr()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_intr.c40 int intr_types; in smartpqi_register_intrs() local
43 if (ddi_intr_get_supported_types(s->s_dip, &intr_types) != in smartpqi_register_intrs()
50 if (intr_types & DDI_INTR_TYPE_MSIX) { in smartpqi_register_intrs()
55 } else if (intr_types & DDI_INTR_TYPE_MSI) { in smartpqi_register_intrs()
60 } else if (intr_types & DDI_INTR_TYPE_FIXED) { in smartpqi_register_intrs()
69 intr_types); in smartpqi_register_intrs()
/illumos-gate/usr/src/uts/common/os/
H A Dddi_intr_impl.c107 int ret, intr_types; in i_ddi_intr_get_supported_types() local
116 (void *)&intr_types); in i_ddi_intr_get_supported_types()
118 return ((ret == DDI_SUCCESS) ? intr_types : 0); in i_ddi_intr_get_supported_types()
125 i_ddi_intr_set_supported_types(dev_info_t *dip, int intr_types) in i_ddi_intr_set_supported_types() argument
130 intr_p->devi_intr_sup_types = intr_types; in i_ddi_intr_set_supported_types()
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci.c1345 int intr_types, ret; in xhci_alloc_intrs() local
1355 &intr_types)) != DDI_SUCCESS) { in xhci_alloc_intrs()
1365 intr_types &= xhcip->xhci_caps.xcap_intr_types; in xhci_alloc_intrs()
1366 if (intr_types & DDI_INTR_TYPE_MSIX) { in xhci_alloc_intrs()
1371 if (intr_types & DDI_INTR_TYPE_MSI) { in xhci_alloc_intrs()
1376 if (intr_types & DDI_INTR_TYPE_FIXED) { in xhci_alloc_intrs()
1382 "0x%x", intr_types); in xhci_alloc_intrs()
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcieb.c1058 int intr_types; in pcieb_intr_attach() local
1070 if (ddi_intr_get_supported_types(dip, &intr_types) != DDI_SUCCESS) { in pcieb_intr_attach()
1076 if ((intr_types & DDI_INTR_TYPE_MSI) && in pcieb_intr_attach()
1079 intr_types = DDI_INTR_TYPE_MSI; in pcieb_intr_attach()
1086 if (intr_types != DDI_INTR_TYPE_MSI) { in pcieb_intr_attach()
1096 if (intr_types & DDI_INTR_TYPE_FIXED) { in pcieb_intr_attach()
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhci.c249 int i, intr_types; in uhci_attach() local
298 &intr_types) != DDI_SUCCESS) { in uhci_attach()
309 "uhci_attach: supported interrupt types 0x%x", intr_types); in uhci_attach()
311 if ((intr_types & DDI_INTR_TYPE_MSI) && uhci_enable_msi) { in uhci_attach()
325 if (!(uhcip->uhci_htable) && (intr_types & DDI_INTR_TYPE_FIXED)) { in uhci_attach()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_intr.c576 nxge->dip, &interrupts->intr_types); in nxge_hio_intr_init()
580 "types = 0x%x", ddi_status, interrupts->intr_types)); in nxge_hio_intr_init()
585 "returned 0x%x, types = 0x%x", ddi_status, interrupts->intr_types)); in nxge_hio_intr_init()
H A Dnxge_main.c5886 int intr_types; in nxge_add_intrs() local
5907 if ((ddi_status = ddi_intr_get_supported_types(nxgep->dip, &intr_types)) in nxge_add_intrs()
5914 nxgep->nxge_intr_type.intr_types = intr_types; in nxge_add_intrs()
5917 "ddi_intr_get_supported_types: 0x%08x", intr_types)); in nxge_add_intrs()
5934 "ddi_intr_get_supported_types: 0x%08x", intr_types)); in nxge_add_intrs()
5935 if (intr_types & DDI_INTR_TYPE_MSIX) { in nxge_add_intrs()
5940 } else if (intr_types & DDI_INTR_TYPE_MSI) { in nxge_add_intrs()
5945 } else if (intr_types & DDI_INTR_TYPE_FIXED) { in nxge_add_intrs()
5954 if (intr_types & DDI_INTR_TYPE_MSI) { in nxge_add_intrs()
5959 } else if (intr_types & DDI_INTR_TYPE_MSIX) { in nxge_add_intrs()
[all …]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_main.c3621 int intr_types; in hxge_add_intrs() local
3640 if ((ddi_status = ddi_intr_get_supported_types(hxgep->dip, &intr_types)) in hxge_add_intrs()
3648 hxgep->hxge_intr_type.intr_types = intr_types; in hxge_add_intrs()
3651 "ddi_intr_get_supported_types: 0x%08x", intr_types)); in hxge_add_intrs()
3668 "ddi_intr_get_supported_types: 0x%08x", intr_types)); in hxge_add_intrs()
3669 if (intr_types & DDI_INTR_TYPE_MSIX) { in hxge_add_intrs()
3674 } else if (intr_types & DDI_INTR_TYPE_MSI) { in hxge_add_intrs()
3679 } else if (intr_types & DDI_INTR_TYPE_FIXED) { in hxge_add_intrs()
3687 if (intr_types & DDI_INTR_TYPE_MSI) { in hxge_add_intrs()
3692 } else if (intr_types & DDI_INTR_TYPE_MSIX) { in hxge_add_intrs()
[all …]
H A Dhxge.h213 int intr_types; /* interrupt types supported */ member
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxge.c1083 int ret, intr_types, i; in xge_attach() local
1112 ret = ddi_intr_get_supported_types(dev_info, &intr_types); in xge_attach()
1113 if ((ret != DDI_SUCCESS) || (!(intr_types & DDI_INTR_TYPE_FIXED))) { in xge_attach()
1190 if (xgell_config->msix_enable && intr_types & DDI_INTR_TYPE_MSIX) { in xge_attach()
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c1570 int intr_types; in rge_attach() local
1720 if (ddi_intr_get_supported_types(devinfo, &intr_types) in rge_attach()
1733 if ((intr_types & DDI_INTR_TYPE_MSI) && rgep->msi_enable) { in rge_attach()
1744 (intr_types & DDI_INTR_TYPE_FIXED)) { in rge_attach()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx.c1398 int intr_types, ret = DDI_SUCCESS; in px_intr_ops() local
1410 &intr_types)) == DDI_SUCCESS) { in px_intr_ops()
1415 *(int *)result |= intr_types; in px_intr_ops()
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.c1084 int intr_types; in yge_attach_intr() local
1088 rv = ddi_intr_get_supported_types(dip, &intr_types); in yge_attach_intr()
1102 if (intr_types & DDI_INTR_TYPE_FIXED) { in yge_attach_intr()
1103 intr_types &= ~(DDI_INTR_TYPE_MSI | DDI_INTR_TYPE_MSIX); in yge_attach_intr()
1107 if (intr_types & DDI_INTR_TYPE_MSIX) { in yge_attach_intr()
1113 if (intr_types & DDI_INTR_TYPE_MSI) { in yge_attach_intr()
1119 if (intr_types & DDI_INTR_TYPE_FIXED) { in yge_attach_intr()
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_main.c2753 int intr_types; in nge_register_intrs_and_init_locks() local
2810 if (ddi_intr_get_supported_types(ngep->devinfo, &intr_types) in nge_register_intrs_and_init_locks()
2818 intr_types)); in nge_register_intrs_and_init_locks()
2820 if ((intr_types & DDI_INTR_TYPE_MSI) && nge_enable_msi) { in nge_register_intrs_and_init_locks()
2883 (intr_types & DDI_INTR_TYPE_FIXED)) { in nge_register_intrs_and_init_locks()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_main.c1792 int intr_types, rc; in i40e_alloc_intrs() local
1801 rc = ddi_intr_get_supported_types(devinfo, &intr_types); in i40e_alloc_intrs()
1817 if ((intr_types & DDI_INTR_TYPE_MSIX) && in i40e_alloc_intrs()
1885 if ((intr_types & DDI_INTR_TYPE_MSI) && in i40e_alloc_intrs()
1891 if (intr_types & DDI_INTR_TYPE_FIXED) { in i40e_alloc_intrs()
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_util.c717 int intr_types; in ehci_register_intrs_and_init_mutex() local
776 &intr_types) != DDI_SUCCESS) { in ehci_register_intrs_and_init_mutex()
786 "supported interrupt types 0x%x", intr_types); in ehci_register_intrs_and_init_mutex()
788 if ((intr_types & DDI_INTR_TYPE_MSI) && ehcip->ehci_msi_enabled) { in ehci_register_intrs_and_init_mutex()
805 (intr_types & DDI_INTR_TYPE_FIXED)) { in ehci_register_intrs_and_init_mutex()
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_main.c4389 int intr_types; in igb_alloc_intrs() local
4395 rc = ddi_intr_get_supported_types(devinfo, &intr_types); in igb_alloc_intrs()
4403 intr_types); in igb_alloc_intrs()
4408 if ((intr_types & DDI_INTR_TYPE_MSIX) && in igb_alloc_intrs()
4426 if ((intr_types & DDI_INTR_TYPE_MSI) && in igb_alloc_intrs()
4438 if (intr_types & DDI_INTR_TYPE_FIXED) { in igb_alloc_intrs()
/illumos-gate/usr/src/uts/common/io/sata/adapters/si3124/
H A Dsi3124.c524 int intr_types; in si_attach() local
624 if (ddi_intr_get_supported_types(dip, &intr_types) in si_attach()
633 intr_types); in si_attach()
635 if (is_msi_supported && (intr_types & DDI_INTR_TYPE_MSI)) { in si_attach()
656 (intr_types & DDI_INTR_TYPE_FIXED)) { in si_attach()
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_main2.c3621 int intr_types; local
3916 if (ddi_intr_get_supported_types(devinfo, &intr_types) != DDI_SUCCESS) {
3923 bgep->ifname, intr_types));
3925 if ((intr_types & DDI_INTR_TYPE_MSI) && bgep->chipid.msi_enabled) {
3938 (intr_types & DDI_INTR_TYPE_FIXED)) {
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_main.c5085 int intr_types; in ixgbe_alloc_intrs() local
5093 rc = ddi_intr_get_supported_types(devinfo, &intr_types); in ixgbe_alloc_intrs()
5100 IXGBE_DEBUGLOG_1(ixgbe, "Supported interrupt types: %x", intr_types); in ixgbe_alloc_intrs()
5107 if ((intr_types & DDI_INTR_TYPE_MSIX) && in ixgbe_alloc_intrs()
5130 if ((intr_types & DDI_INTR_TYPE_MSI) && in ixgbe_alloc_intrs()
5143 if (intr_types & DDI_INTR_TYPE_FIXED) { in ixgbe_alloc_intrs()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c2031 p->intr_types = prop_lookup_int(sc, "interrupt-types", in init_driver_props()
2033 (void) ddi_prop_update_int(dev, dip, "interrupt-types", p->intr_types); in init_driver_props()
2226 if ((itype & itypes & p->intr_types) == 0)
2359 itypes, p->intr_types);
H A Dadapter.h464 int intr_types; member
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge.h484 int intr_types; /* interrupt types supported */ member
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c4437 int count, avail, actual, intr_types; in myri10ge_add_intrs() local
4441 rc = ddi_intr_get_supported_types(devinfo, &intr_types); in myri10ge_add_intrs()
4450 intr_types &= ~DDI_INTR_TYPE_MSI; in myri10ge_add_intrs()
4452 intr_types &= ~DDI_INTR_TYPE_MSIX; in myri10ge_add_intrs()
4454 if (intr_types & DDI_INTR_TYPE_MSIX) { in myri10ge_add_intrs()
4457 } else if (intr_types & DDI_INTR_TYPE_MSI) { in myri10ge_add_intrs()

12