/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_fm.c | 107 if (!DDI_FM_ACC_ERR_CAP(ha->fm_capabilities)) { in qlc_fm_check_acc_handle() 125 if (!DDI_FM_DMA_ERR_CAP(ha->fm_capabilities)) { in qlc_fm_check_dma_handle() 145 if (!DDI_FM_DMA_ERR_CAP(ha->fm_capabilities)) { in qlc_fm_check_pkt_dma_handle() 193 if (!DDI_FM_EREPORT_CAP(ha->fm_capabilities)) { in qlc_fm_service_impact() 207 if (ha->fm_capabilities == DDI_FM_NOT_CAPABLE) { in qlc_fm_init() 214 if (ha->fm_capabilities) { in qlc_fm_init() 215 ddi_fm_init(ha->dip, (int *)&ha->fm_capabilities, &iblk); in qlc_fm_init() 222 if (DDI_FM_EREPORT_CAP(ha->fm_capabilities) || in qlc_fm_init() 223 DDI_FM_ERRCB_CAP(ha->fm_capabilities)) { in qlc_fm_init() 230 if (DDI_FM_ERRCB_CAP(ha->fm_capabilities)) { in qlc_fm_init() [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_fm.c | 182 hxgep->fm_capabilities = ddi_prop_get_int(DDI_DEV_T_ANY, hxgep->dip, in hxge_fm_init() 187 "FM capable = %d\n", hxgep->fm_capabilities)); in hxge_fm_init() 194 if (hxgep->fm_capabilities) in hxge_fm_init() 195 ddi_fm_init(hxgep->dip, &hxgep->fm_capabilities, &iblk); in hxge_fm_init() 200 if (DDI_FM_EREPORT_CAP(hxgep->fm_capabilities) || in hxge_fm_init() 201 DDI_FM_ERRCB_CAP(hxgep->fm_capabilities)) { in hxge_fm_init() 206 if (DDI_FM_ERRCB_CAP(hxgep->fm_capabilities)) { in hxge_fm_init() 218 if (DDI_FM_ACC_ERR_CAP(hxgep->fm_capabilities)) { in hxge_fm_init() 233 if (DDI_FM_DMA_ERR_CAP(hxgep->fm_capabilities)) in hxge_fm_init() 245 if (hxgep->fm_capabilities) { in hxge_fm_fini() [all …]
|
H A D | hxge_common_impl.h | 227 if (DDI_FM_EREPORT_CAP(hxgep->fm_capabilities)) \ 230 if (DDI_FM_EREPORT_CAP(hxgep->fm_capabilities)) \
|
H A D | hxge.h | 395 int fm_capabilities; /* FMA capabilities */ member
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fm.c | 357 nxgep->fm_capabilities = ddi_prop_get_int(DDI_DEV_T_ANY, nxgep->dip, in nxge_fm_init() 362 "FM capable = %d\n", nxgep->fm_capabilities)); in nxge_fm_init() 365 nxgep->fm_capabilities = DDI_FM_NOT_CAPABLE; in nxge_fm_init() 374 if (nxgep->fm_capabilities) in nxge_fm_init() 375 ddi_fm_init(nxgep->dip, &nxgep->fm_capabilities, &iblk); in nxge_fm_init() 380 if (DDI_FM_EREPORT_CAP(nxgep->fm_capabilities) || in nxge_fm_init() 381 DDI_FM_ERRCB_CAP(nxgep->fm_capabilities)) { in nxge_fm_init() 386 if (DDI_FM_ERRCB_CAP(nxgep->fm_capabilities)) { in nxge_fm_init() 398 if (DDI_FM_ACC_ERR_CAP(nxgep->fm_capabilities)) { in nxge_fm_init() 411 if (DDI_FM_DMA_ERR_CAP(nxgep->fm_capabilities)) in nxge_fm_init() [all …]
|
H A D | nxge_hw.c | 353 if (DDI_FM_EREPORT_CAP(nxgep->fm_capabilities)) { in nxge_check_xaui_xfp() 377 if (DDI_FM_EREPORT_CAP(nxgep->fm_capabilities)) { in nxge_check_xaui_xfp()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge_fm.c | 38 if (DDI_FM_EREPORT_CAP(qlge->fm_capabilities)) { in ql_fm_ereport()
|
H A D | qlge.c | 7309 qlge->instance, qlge->fm_capabilities)); in ql_fm_init() 7315 if (qlge->fm_capabilities) in ql_fm_init() 7316 ddi_fm_init(qlge->dip, &qlge->fm_capabilities, &iblk); in ql_fm_init() 7321 if (DDI_FM_EREPORT_CAP(qlge->fm_capabilities) || in ql_fm_init() 7322 DDI_FM_ERRCB_CAP(qlge->fm_capabilities)) { in ql_fm_init() 7327 if (DDI_FM_ERRCB_CAP(qlge->fm_capabilities)) { in ql_fm_init() 7339 if (DDI_FM_ACC_ERR_CAP(qlge->fm_capabilities)) { in ql_fm_init() 7350 if (DDI_FM_DMA_ERR_CAP(qlge->fm_capabilities)) { in ql_fm_init() 7364 if (qlge->fm_capabilities) { in ql_fm_fini() 7369 if (DDI_FM_EREPORT_CAP(qlge->fm_capabilities) || in ql_fm_fini() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_attach.c | 629 pwp->fm_capabilities = ddi_getprop(DDI_DEV_T_ANY, pwp->dip, in pmcs_attach() 3184 if (pwp->fm_capabilities) { in pmcs_fm_init() 3195 ddi_fm_init(pwp->dip, &pwp->fm_capabilities, &fm_ibc); in pmcs_fm_init() 3201 if (DDI_FM_EREPORT_CAP(pwp->fm_capabilities) || in pmcs_fm_init() 3202 DDI_FM_ERRCB_CAP(pwp->fm_capabilities)) { in pmcs_fm_init() 3209 if (DDI_FM_ERRCB_CAP(pwp->fm_capabilities)) { in pmcs_fm_init() 3220 if (pwp->fm_capabilities) { in pmcs_fm_fini() 3224 if (DDI_FM_ERRCB_CAP(pwp->fm_capabilities)) { in pmcs_fm_fini() 3231 if (DDI_FM_EREPORT_CAP(pwp->fm_capabilities) || in pmcs_fm_fini() 3232 DDI_FM_ERRCB_CAP(pwp->fm_capabilities)) { in pmcs_fm_fini()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca.c | 2428 if (DDI_FM_EREPORT_CAP(dca->fm_capabilities) && in dca_failure() 4770 int fm_capabilities = DDI_FM_EREPORT_CAPABLE | in dca_fma_init() local 4775 dca->fm_capabilities = ddi_getprop(DDI_DEV_T_ANY, dca->dca_dip, in dca_fma_init() 4777 fm_capabilities); in dca_fma_init() 4779 DBG(dca, DWARN, "dca->fm_capabilities = 0x%x", dca->fm_capabilities); in dca_fma_init() 4782 if (dca->fm_capabilities) { in dca_fma_init() 4787 ddi_fm_init(dca->dca_dip, &dca->fm_capabilities, &fm_ibc); in dca_fma_init() 4794 if (DDI_FM_EREPORT_CAP(dca->fm_capabilities) || in dca_fma_init() 4795 DDI_FM_ERRCB_CAP(dca->fm_capabilities)) in dca_fma_init() 4802 if (DDI_FM_ERRCB_CAP(dca->fm_capabilities)) { in dca_fma_init() [all …]
|
/illumos-gate/usr/src/uts/common/sys/sata/adapters/si3124/ |
H A D | si3124var.h | 194 int fm_capabilities; /* FMA capabilities */ member
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 479 igb->fm_capabilities = igb_get_prop(igb, "fm-capable", in igb_attach() 5342 if (igb->fm_capabilities & DDI_FM_ACCCHK_CAPABLE) { in igb_fm_init() 5348 if (igb->fm_capabilities & DDI_FM_DMACHK_CAPABLE) { in igb_fm_init() 5356 if (igb->fm_capabilities) { in igb_fm_init() 5359 ddi_fm_init(igb->dip, &igb->fm_capabilities, &iblk); in igb_fm_init() 5364 if (DDI_FM_EREPORT_CAP(igb->fm_capabilities) || in igb_fm_init() 5365 DDI_FM_ERRCB_CAP(igb->fm_capabilities)) in igb_fm_init() 5371 if (DDI_FM_ERRCB_CAP(igb->fm_capabilities)) in igb_fm_init() 5381 if (igb->fm_capabilities) { in igb_fm_fini() 5386 if (DDI_FM_EREPORT_CAP(igb->fm_capabilities) || in igb_fm_fini() [all …]
|
H A D | igb_sw.h | 775 int fm_capabilities; member
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_log.c | 132 if (DDI_FM_EREPORT_CAP(bgep->fm_capabilities)) { in bge_fm_ereport()
|
H A D | bge_main2.c | 3191 if (bgep->fm_capabilities) { 3196 ddi_fm_init(bgep->devinfo, &bgep->fm_capabilities, &iblk); 3201 if (DDI_FM_EREPORT_CAP(bgep->fm_capabilities) || 3202 DDI_FM_ERRCB_CAP(bgep->fm_capabilities)) 3208 if (DDI_FM_ERRCB_CAP(bgep->fm_capabilities)) 3225 if (bgep->fm_capabilities) { 3230 if (DDI_FM_EREPORT_CAP(bgep->fm_capabilities) || 3231 DDI_FM_ERRCB_CAP(bgep->fm_capabilities)) 3237 if (DDI_FM_ERRCB_CAP(bgep->fm_capabilities)) 3673 bgep->fm_capabilities = ddi_prop_get_int(DDI_DEV_T_ANY, devinfo, [all …]
|
/illumos-gate/usr/src/uts/common/io/sata/adapters/si3124/ |
H A D | si3124.c | 547 si_ctlp->fm_capabilities = ddi_getprop(DDI_DEV_T_ANY, dip, in si_attach() 5711 if (si_ctlp->fm_capabilities) { in si_fm_init() 5722 ddi_fm_init(si_ctlp->sictl_devinfop, &si_ctlp->fm_capabilities, in si_fm_init() 5725 if (si_ctlp->fm_capabilities == DDI_FM_NOT_CAPABLE) in si_fm_init() 5732 if (DDI_FM_EREPORT_CAP(si_ctlp->fm_capabilities) || in si_fm_init() 5733 DDI_FM_ERRCB_CAP(si_ctlp->fm_capabilities)) { in si_fm_init() 5740 if (DDI_FM_ERRCB_CAP(si_ctlp->fm_capabilities)) { in si_fm_init() 5755 if (si_ctlp->fm_capabilities) { in si_fm_fini() 5759 if (DDI_FM_ERRCB_CAP(si_ctlp->fm_capabilities)) { in si_fm_fini() 5766 if (DDI_FM_EREPORT_CAP(si_ctlp->fm_capabilities) || in si_fm_fini() [all …]
|
/illumos-gate/usr/src/uts/common/io/mega_sas/ |
H A D | megaraid_sas.c | 470 instance->fm_capabilities = ddi_prop_get_int( in megasas_attach() 4874 if (instance->fm_capabilities) { in megasas_fm_init() 4885 ddi_fm_init(instance->dip, &instance->fm_capabilities, &fm_ibc); in megasas_fm_init() 4892 if (DDI_FM_EREPORT_CAP(instance->fm_capabilities) || in megasas_fm_init() 4893 DDI_FM_ERRCB_CAP(instance->fm_capabilities)) { in megasas_fm_init() 4900 if (DDI_FM_ERRCB_CAP(instance->fm_capabilities)) { in megasas_fm_init() 4914 if (instance->fm_capabilities) { in megasas_fm_fini() 4918 if (DDI_FM_ERRCB_CAP(instance->fm_capabilities)) { in megasas_fm_fini() 4925 if (DDI_FM_EREPORT_CAP(instance->fm_capabilities) || in megasas_fm_fini() 4926 DDI_FM_ERRCB_CAP(instance->fm_capabilities)) { in megasas_fm_fini() [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 476 ixgbe->fm_capabilities = ixgbe_get_prop(ixgbe, PROP_FM_CAPABLE, in ixgbe_attach() 6112 if (ixgbe->fm_capabilities & DDI_FM_ACCCHK_CAPABLE) { in ixgbe_fm_init() 6118 if (ixgbe->fm_capabilities & DDI_FM_DMACHK_CAPABLE) { in ixgbe_fm_init() 6126 if (ixgbe->fm_capabilities) { in ixgbe_fm_init() 6131 ddi_fm_init(ixgbe->dip, &ixgbe->fm_capabilities, &iblk); in ixgbe_fm_init() 6136 if (DDI_FM_EREPORT_CAP(ixgbe->fm_capabilities) || in ixgbe_fm_init() 6137 DDI_FM_ERRCB_CAP(ixgbe->fm_capabilities)) in ixgbe_fm_init() 6143 if (DDI_FM_ERRCB_CAP(ixgbe->fm_capabilities)) in ixgbe_fm_init() 6155 if (ixgbe->fm_capabilities) { in ixgbe_fm_fini() 6160 if (DDI_FM_EREPORT_CAP(ixgbe->fm_capabilities) || in ixgbe_fm_fini() [all …]
|
H A D | ixgbe_sw.h | 710 int fm_capabilities; /* FMA capabilities */ member
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 454 &Adapter->fm_capabilities); in e1000g_attach() 6561 if (Adapter->fm_capabilities & DDI_FM_ACCCHK_CAPABLE) { in e1000g_fm_init() 6567 if (Adapter->fm_capabilities & DDI_FM_DMACHK_CAPABLE) { in e1000g_fm_init() 6575 if (Adapter->fm_capabilities) { in e1000g_fm_init() 6578 ddi_fm_init(Adapter->dip, &Adapter->fm_capabilities, &iblk); in e1000g_fm_init() 6583 if (DDI_FM_EREPORT_CAP(Adapter->fm_capabilities) || in e1000g_fm_init() 6584 DDI_FM_ERRCB_CAP(Adapter->fm_capabilities)) in e1000g_fm_init() 6590 if (DDI_FM_ERRCB_CAP(Adapter->fm_capabilities)) in e1000g_fm_init() 6600 if (Adapter->fm_capabilities) { in e1000g_fm_fini() 6605 if (DDI_FM_EREPORT_CAP(Adapter->fm_capabilities) || in e1000g_fm_fini() [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs.h | 357 int fm_capabilities; member
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.h | 485 int fm_capabilities; member
|
H A D | aac.c | 6959 softs->fm_capabilities = ddi_getprop(DDI_DEV_T_ANY, softs->devinfo_p, in aac_fm_init() 6965 if (softs->fm_capabilities) { in aac_fm_init() 6976 ddi_fm_init(softs->devinfo_p, &softs->fm_capabilities, &fm_ibc); in aac_fm_init() 6982 if (DDI_FM_EREPORT_CAP(softs->fm_capabilities) || in aac_fm_init() 6983 DDI_FM_ERRCB_CAP(softs->fm_capabilities)) { in aac_fm_init() 6990 if (DDI_FM_ERRCB_CAP(softs->fm_capabilities)) { in aac_fm_init() 7005 if (softs->fm_capabilities) { in aac_fm_fini() 7009 if (DDI_FM_ERRCB_CAP(softs->fm_capabilities)) { in aac_fm_fini() 7016 if (DDI_FM_EREPORT_CAP(softs->fm_capabilities) || in aac_fm_fini() 7017 DDI_FM_ERRCB_CAP(softs->fm_capabilities)) { in aac_fm_fini() [all …]
|
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.c | 628 instance->fm_capabilities = ddi_prop_get_int( in mrsas_attach() 7158 if (instance->fm_capabilities) { in mrsas_fm_init() 7169 ddi_fm_init(instance->dip, &instance->fm_capabilities, &fm_ibc); in mrsas_fm_init() 7176 if (DDI_FM_EREPORT_CAP(instance->fm_capabilities) || in mrsas_fm_init() 7177 DDI_FM_ERRCB_CAP(instance->fm_capabilities)) { in mrsas_fm_init() 7184 if (DDI_FM_ERRCB_CAP(instance->fm_capabilities)) { in mrsas_fm_init() 7198 if (instance->fm_capabilities) { in mrsas_fm_fini() 7202 if (DDI_FM_ERRCB_CAP(instance->fm_capabilities)) { in mrsas_fm_fini() 7209 if (DDI_FM_EREPORT_CAP(instance->fm_capabilities) || in mrsas_fm_fini() 7210 DDI_FM_ERRCB_CAP(instance->fm_capabilities)) { in mrsas_fm_fini() [all …]
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | dca.h | 492 int fm_capabilities; /* FMA capabilities */ member
|