/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_intr.c | 45 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()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | ddi_intr_impl.c | 107 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()
|
/titanic_50/usr/src/uts/common/io/virtio/ |
H A D | virtio.c | 825 struct virtio_int_handler vq_handlers[], int intr_types) in virtio_register_msi() argument 835 if (intr_types & DDI_INTR_TYPE_MSIX) in virtio_register_msi() 1064 int intr_types; in virtio_register_ints() local 1070 ret = ddi_intr_get_supported_types(sc->sc_dev, &intr_types); in virtio_register_ints() 1077 if (intr_types & (DDI_INTR_TYPE_MSIX | DDI_INTR_TYPE_MSI)) { in virtio_register_ints() 1079 vq_handlers, intr_types); in virtio_register_ints() 1085 if (intr_types & DDI_INTR_TYPE_FIXED) { in virtio_register_ints()
|
/titanic_50/usr/src/uts/common/io/pciex/ |
H A D | pcieb.c | 935 int intr_types; in pcieb_intr_attach() local 947 if (ddi_intr_get_supported_types(dip, &intr_types) != DDI_SUCCESS) { in pcieb_intr_attach() 953 if ((intr_types & DDI_INTR_TYPE_MSI) && in pcieb_intr_attach() 956 intr_types = DDI_INTR_TYPE_MSI; in pcieb_intr_attach() 963 if (intr_types != DDI_INTR_TYPE_MSI) { in pcieb_intr_attach() 973 if (intr_types & DDI_INTR_TYPE_FIXED) { in pcieb_intr_attach()
|
/titanic_50/usr/src/uts/common/io/nxge/ |
H A D | nxge_intr.c | 573 nxge->dip, &interrupts->intr_types); in nxge_hio_intr_init() 577 "types = 0x%x", ddi_status, interrupts->intr_types)); in nxge_hio_intr_init() 582 "returned 0x%x, types = 0x%x", ddi_status, interrupts->intr_types)); in nxge_hio_intr_init()
|
H A D | nxge_main.c | 5906 int intr_types; in nxge_add_intrs() local 5927 if ((ddi_status = ddi_intr_get_supported_types(nxgep->dip, &intr_types)) in nxge_add_intrs() 5934 nxgep->nxge_intr_type.intr_types = intr_types; in nxge_add_intrs() 5937 "ddi_intr_get_supported_types: 0x%08x", intr_types)); in nxge_add_intrs() 5954 "ddi_intr_get_supported_types: 0x%08x", intr_types)); in nxge_add_intrs() 5955 if (intr_types & DDI_INTR_TYPE_MSIX) { in nxge_add_intrs() 5960 } else if (intr_types & DDI_INTR_TYPE_MSI) { in nxge_add_intrs() 5965 } else if (intr_types & DDI_INTR_TYPE_FIXED) { in nxge_add_intrs() 5974 if (intr_types & DDI_INTR_TYPE_MSI) { in nxge_add_intrs() 5979 } else if (intr_types & DDI_INTR_TYPE_MSIX) { in nxge_add_intrs() [all …]
|
/titanic_50/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhci.c | 249 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()
|
/titanic_50/usr/src/uts/common/io/xge/drv/ |
H A D | xge.c | 1083 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()
|
/titanic_50/usr/src/uts/common/io/hxge/ |
H A D | hxge_main.c | 3626 int intr_types; in hxge_add_intrs() local 3645 if ((ddi_status = ddi_intr_get_supported_types(hxgep->dip, &intr_types)) in hxge_add_intrs() 3653 hxgep->hxge_intr_type.intr_types = intr_types; in hxge_add_intrs() 3656 "ddi_intr_get_supported_types: 0x%08x", intr_types)); in hxge_add_intrs() 3673 "ddi_intr_get_supported_types: 0x%08x", intr_types)); in hxge_add_intrs() 3674 if (intr_types & DDI_INTR_TYPE_MSIX) { in hxge_add_intrs() 3679 } else if (intr_types & DDI_INTR_TYPE_MSI) { in hxge_add_intrs() 3684 } else if (intr_types & DDI_INTR_TYPE_FIXED) { in hxge_add_intrs() 3692 if (intr_types & DDI_INTR_TYPE_MSI) { in hxge_add_intrs() 3697 } else if (intr_types & DDI_INTR_TYPE_MSIX) { in hxge_add_intrs() [all …]
|
H A D | hxge.h | 213 int intr_types; /* interrupt types supported */ member
|
/titanic_50/usr/src/uts/common/io/rge/ |
H A D | rge_main.c | 1570 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()
|
/titanic_50/usr/src/uts/sun4/io/px/ |
H A D | px.c | 1385 int intr_types, ret = DDI_SUCCESS; in px_intr_ops() local 1397 &intr_types)) == DDI_SUCCESS) { in px_intr_ops() 1402 *(int *)result |= intr_types; in px_intr_ops()
|
/titanic_50/usr/src/uts/common/io/yge/ |
H A D | yge.c | 1084 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()
|
/titanic_50/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 1758 int intr_types, rc; in i40e_alloc_intrs() local 1767 rc = ddi_intr_get_supported_types(devinfo, &intr_types); in i40e_alloc_intrs() 1784 if ((intr_types & DDI_INTR_TYPE_MSIX) && in i40e_alloc_intrs() 1836 if ((intr_types & DDI_INTR_TYPE_MSI) && in i40e_alloc_intrs() 1842 if (intr_types & DDI_INTR_TYPE_FIXED) { in i40e_alloc_intrs()
|
/titanic_50/usr/src/uts/common/io/nge/ |
H A D | nge_main.c | 2753 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()
|
/titanic_50/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_util.c | 716 int intr_types; in ehci_register_intrs_and_init_mutex() local 775 &intr_types) != DDI_SUCCESS) { in ehci_register_intrs_and_init_mutex() 785 "supported interrupt types 0x%x", intr_types); in ehci_register_intrs_and_init_mutex() 787 if ((intr_types & DDI_INTR_TYPE_MSI) && ehcip->ehci_msi_enabled) { in ehci_register_intrs_and_init_mutex() 804 (intr_types & DDI_INTR_TYPE_FIXED)) { in ehci_register_intrs_and_init_mutex()
|
/titanic_50/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 4344 int intr_types; in igb_alloc_intrs() local 4350 rc = ddi_intr_get_supported_types(devinfo, &intr_types); in igb_alloc_intrs() 4358 intr_types); in igb_alloc_intrs() 4363 if ((intr_types & DDI_INTR_TYPE_MSIX) && in igb_alloc_intrs() 4381 if ((intr_types & DDI_INTR_TYPE_MSI) && in igb_alloc_intrs() 4393 if (intr_types & DDI_INTR_TYPE_FIXED) { in igb_alloc_intrs()
|
/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_nexus.c | 1598 p->intr_types = prop_lookup_int(sc, "interrupt-types", in init_driver_props() 1600 (void) ddi_prop_update_int(dev, dip, "interrupt-types", p->intr_types); in init_driver_props() 1674 if ((itype & itypes & p->intr_types) == 0) in cfg_itype_and_nqueues() 1787 itypes, p->intr_types); in cfg_itype_and_nqueues()
|
H A D | adapter.h | 416 int intr_types; member
|
/titanic_50/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 4912 int intr_types; in ixgbe_alloc_intrs() local 4920 rc = ddi_intr_get_supported_types(devinfo, &intr_types); in ixgbe_alloc_intrs() 4927 IXGBE_DEBUGLOG_1(ixgbe, "Supported interrupt types: %x", intr_types); in ixgbe_alloc_intrs() 4934 if ((intr_types & DDI_INTR_TYPE_MSIX) && in ixgbe_alloc_intrs() 4957 if ((intr_types & DDI_INTR_TYPE_MSI) && in ixgbe_alloc_intrs() 4970 if (intr_types & DDI_INTR_TYPE_FIXED) { in ixgbe_alloc_intrs()
|
/titanic_50/usr/src/uts/common/io/bge/ |
H A D | bge_main2.c | 3633 int intr_types; local 3929 if (ddi_intr_get_supported_types(devinfo, &intr_types) != DDI_SUCCESS) { 3936 bgep->ifname, intr_types)); 3938 if ((intr_types & DDI_INTR_TYPE_MSI) && bgep->chipid.msi_enabled) { 3951 (intr_types & DDI_INTR_TYPE_FIXED)) {
|
/titanic_50/usr/src/uts/common/io/sata/adapters/si3124/ |
H A D | si3124.c | 524 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()
|
/titanic_50/usr/src/uts/common/sys/nxge/ |
H A D | nxge.h | 484 int intr_types; /* interrupt types supported */ member
|
/titanic_50/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.c | 4465 int count, avail, actual, intr_types; in myri10ge_add_intrs() local 4469 rc = ddi_intr_get_supported_types(devinfo, &intr_types); in myri10ge_add_intrs() 4478 intr_types &= ~DDI_INTR_TYPE_MSI; in myri10ge_add_intrs() 4480 intr_types &= ~DDI_INTR_TYPE_MSIX; in myri10ge_add_intrs() 4482 if (intr_types & DDI_INTR_TYPE_MSIX) { in myri10ge_add_intrs() 4485 } else if (intr_types & DDI_INTR_TYPE_MSI) { in myri10ge_add_intrs()
|
/titanic_50/usr/src/uts/common/io/sata/adapters/nv_sata/ |
H A D | nv_sata.c | 571 int status, attach_state, intr_types, bar, i, j, command; in nv_attach() local 682 if (ddi_intr_get_supported_types(dip, &intr_types) != in nv_attach() 692 intr_types); in nv_attach() 695 if (intr_types & DDI_INTR_TYPE_MSI) { in nv_attach() 721 (intr_types & DDI_INTR_TYPE_FIXED)) { in nv_attach()
|