Searched defs:intr_types (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_intr.c45 int intr_types = 0; local
53 ret = ddi_intr_get_supported_types(dev->dip, &intr_types);
61 if (intr_types & DDI_INTR_TYPE_MSIX) {
66 } else if (intr_types & DDI_INTR_TYPE_FIXED) {
131 if ((intr_types & DDI_INTR_TYPE_MSIX) && (nallocd > 1)) {
142 (intr_types & DDI_INTR_TYPE_FIXED)) {
143 intr_types &= ~DDI_INTR_TYPE_MSIX;
/illumos-gate/usr/src/uts/common/os/
H A Dddi_intr_impl.c107 int ret, intr_types; local
116 (void *)&intr_types);
118 return ((ret == DDI_SUCCESS) ? intr_types : 0);
125 i_ddi_intr_set_supported_types(dev_info_t *dip, int intr_types) argument
130 intr_p->devi_intr_sup_types = intr_types;
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxge.c1083 int ret, intr_types, i; local
1112 ret = ddi_intr_get_supported_types(dev_info, &intr_types);
1113 if ((ret != DDI_SUCCESS) || (!(intr_types & DDI_INTR_TYPE_FIXED))) {
1190 if (xgell_config->msix_enable && intr_types & DDI_INTR_TYPE_MSIX) {
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx.c1385 int intr_types, ret = DDI_SUCCESS; local
1397 &intr_types)) == DDI_SUCCESS) {
1402 *(int *)result |= intr_types;
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhci.c249 int i, intr_types; local
298 &intr_types) != DDI_SUCCESS) {
309 "uhci_attach: supported interrupt types 0x%x", intr_types);
311 if ((intr_types & DDI_INTR_TYPE_MSI) && uhci_enable_msi) {
325 if (!(uhcip->uhci_htable) && (intr_types & DDI_INTR_TYPE_FIXED)) {
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio.c825 struct virtio_int_handler vq_handlers[], int intr_types)
835 if (intr_types & DDI_INTR_TYPE_MSIX)
1064 int intr_types; local
1070 ret = ddi_intr_get_supported_types(sc->sc_dev, &intr_types);
1077 if (intr_types & (DDI_INTR_TYPE_MSIX | DDI_INTR_TYPE_MSI)) {
1079 vq_handlers, intr_types);
1085 if (intr_types & DDI_INTR_TYPE_FIXED) {
823 virtio_register_msi(struct virtio_softc *sc, struct virtio_int_handler *config_handler, struct virtio_int_handler vq_handlers[], int intr_types) argument
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c1570 int intr_types; local
1720 if (ddi_intr_get_supported_types(devinfo, &intr_types)
1733 if ((intr_types & DDI_INTR_TYPE_MSI) && rgep->msi_enable) {
1744 (intr_types & DDI_INTR_TYPE_FIXED)) {
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_main.c1694 int intr_types, rc; local
1696 rc = ddi_intr_get_supported_types(devinfo, &intr_types);
1705 if ((intr_types & DDI_INTR_TYPE_MSIX) &&
1719 if ((intr_types & DDI_INTR_TYPE_MSI) &&
1725 if (intr_types & DDI_INTR_TYPE_FIXED) {
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcieb.c935 int intr_types; local
947 if (ddi_intr_get_supported_types(dip, &intr_types) != DDI_SUCCESS) {
953 if ((intr_types & DDI_INTR_TYPE_MSI) &&
956 intr_types = DDI_INTR_TYPE_MSI;
963 if (intr_types != DDI_INTR_TYPE_MSI) {
973 if (intr_types & DDI_INTR_TYPE_FIXED) {
/illumos-gate/usr/src/uts/common/io/sata/adapters/si3124/
H A Dsi3124.c524 int intr_types; local
624 if (ddi_intr_get_supported_types(dip, &intr_types)
633 intr_types);
635 if (is_msi_supported && (intr_types & DDI_INTR_TYPE_MSI)) {
656 (intr_types & DDI_INTR_TYPE_FIXED)) {
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_util.c716 int intr_types; local
775 &intr_types) != DDI_SUCCESS) {
785 "supported interrupt types 0x%x", intr_types);
787 if ((intr_types & DDI_INTR_TYPE_MSI) && ehcip->ehci_msi_enabled) {
804 (intr_types & DDI_INTR_TYPE_FIXED)) {
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.c1084 int intr_types; local
1088 rv = ddi_intr_get_supported_types(dip, &intr_types);
1102 if (intr_types & DDI_INTR_TYPE_FIXED) {
1103 intr_types &= ~(DDI_INTR_TYPE_MSI | DDI_INTR_TYPE_MSIX);
1107 if (intr_types & DDI_INTR_TYPE_MSIX) {
1113 if (intr_types & DDI_INTR_TYPE_MSI) {
1119 if (intr_types & DDI_INTR_TYPE_FIXED) {
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_main.c2753 int intr_types; local
2810 if (ddi_intr_get_supported_types(ngep->devinfo, &intr_types)
2818 intr_types));
2820 if ((intr_types & DDI_INTR_TYPE_MSI) && nge_enable_msi) {
2883 (intr_types & DDI_INTR_TYPE_FIXED)) {
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/
H A Dpvscsi.c1619 int intr_types; local
1622 &intr_types) != DDI_SUCCESS) {
1628 if ((intr_types & DDI_INTR_TYPE_MSIX) != 0 && pvscsi_enable_msi) {
1636 } else if ((intr_types & DDI_INTR_TYPE_MSI) != 0 && pvscsi_enable_msi) {
1644 } else if ((intr_types & DDI_INTR_TYPE_FIXED) != 0) {
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_main2.c3633 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)) {
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dadapter.h416 int intr_types; member in struct:driver_properties
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c524 int intr_types; local
830 if (ddi_intr_get_supported_types(dip, &intr_types) != DDI_SUCCESS) {
838 intr_types);
840 if (ahci_msi_enabled && (intr_types & DDI_INTR_TYPE_MSI)) {
857 if (intr_types & DDI_INTR_TYPE_FIXED) {
/illumos-gate/usr/src/uts/common/io/sata/adapters/nv_sata/
H A Dnv_sata.c571 int status, attach_state, intr_types, bar, i, j, command; local
682 if (ddi_intr_get_supported_types(dip, &intr_types) !=
692 intr_types);
695 if (intr_types & DDI_INTR_TYPE_MSI) {
721 (intr_types & DDI_INTR_TYPE_FIXED)) {
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c2788 int intr_types; local
2924 if (ddi_intr_get_supported_types(dev_info, &intr_types) !=
2929 if (intr_types & DDI_INTR_TYPE_FIXED) {
2932 } else if (intr_types & DDI_INTR_TYPE_MSI) {
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_main.c3626 int intr_types; local
3645 if ((ddi_status = ddi_intr_get_supported_types(hxgep->dip, &intr_types))
3653 hxgep->hxge_intr_type.intr_types = intr_types;
3656 "ddi_intr_get_supported_types: 0x%08x", intr_types));
3673 "ddi_intr_get_supported_types: 0x%08x", intr_types));
3674 if (intr_types & DDI_INTR_TYPE_MSIX) {
3679 } else if (intr_types & DDI_INTR_TYPE_MSI) {
3684 } else if (intr_types & DDI_INTR_TYPE_FIXED) {
3692 if (intr_types
[all...]
H A Dhxge.h213 int intr_types; /* interrupt types supported */ member in struct:_hxge_intr_t
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_main.c5908 int intr_types; local
5914 rc = ddi_intr_get_supported_types(devinfo, &intr_types);
5932 if ((intr_types & DDI_INTR_TYPE_MSI) && Adapter->msi_enable) {
5945 (intr_types & DDI_INTR_TYPE_FIXED)) {
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_main.c4344 int intr_types; local
4350 rc = ddi_intr_get_supported_types(devinfo, &intr_types);
4358 intr_types);
4363 if ((intr_types & DDI_INTR_TYPE_MSIX) &&
4381 if ((intr_types & DDI_INTR_TYPE_MSI) &&
4393 if (intr_types & DDI_INTR_TYPE_FIXED) {
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_main.c4908 int intr_types; local
4916 rc = ddi_intr_get_supported_types(devinfo, &intr_types);
4923 IXGBE_DEBUGLOG_1(ixgbe, "Supported interrupt types: %x", intr_types);
4930 if ((intr_types & DDI_INTR_TYPE_MSIX) &&
4953 if ((intr_types & DDI_INTR_TYPE_MSI) &&
4966 if (intr_types & DDI_INTR_TYPE_FIXED) {
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4359 int intr_types; local
4365 if (ddi_intr_get_supported_types(qlge->dip, &intr_types)
4374 __func__, qlge->instance, intr_types));
4377 if ((intr_types & DDI_INTR_TYPE_MSIX) != 0) {
4379 __func__, qlge->instance, intr_types));
4409 if (intr_types & DDI_INTR_TYPE_MSI) {

Completed in 4875 milliseconds

12