Lines Matching refs:sft_res
546 struct ipm_selftest_rsp *sft_res; in ipmi_mc_get_selftest() local
565 sft_res = (struct ipm_selftest_rsp *) rsp->data; in ipmi_mc_get_selftest()
567 if (sft_res->code == IPM_SFT_CODE_OK) { in ipmi_mc_get_selftest()
572 else if (sft_res->code == IPM_SFT_CODE_NOT_IMPLEMENTED) { in ipmi_mc_get_selftest()
577 else if (sft_res->code == IPM_SFT_CODE_DEV_CORRUPTED) { in ipmi_mc_get_selftest()
581 if (sft_res->test & IPM_SELFTEST_SEL_ERROR) { in ipmi_mc_get_selftest()
584 if (sft_res->test & IPM_SELFTEST_SDR_ERROR) { in ipmi_mc_get_selftest()
587 if (sft_res->test & IPM_SELFTEST_FRU_ERROR) { in ipmi_mc_get_selftest()
590 if (sft_res->test & IPM_SELFTEST_IPMB_ERROR) { in ipmi_mc_get_selftest()
593 if (sft_res->test & IPM_SELFTEST_SDRR_EMPTY) { in ipmi_mc_get_selftest()
596 if (sft_res->test & IPM_SELFTEST_INTERNAL_USE) { in ipmi_mc_get_selftest()
599 if (sft_res->test & IPM_SELFTEST_FW_BOOTBLOCK) { in ipmi_mc_get_selftest()
602 if (sft_res->test & IPM_SELFTEST_FW_CORRUPTED) { in ipmi_mc_get_selftest()
607 else if (sft_res->code == IPM_SFT_CODE_FATAL_ERROR) { in ipmi_mc_get_selftest()
609 printf("Failure code : %02x\n", sft_res->test); in ipmi_mc_get_selftest()
613 else if (sft_res->code == IPM_SFT_CODE_RESERVED) { in ipmi_mc_get_selftest()
619 printf("Selftest : device specific (%02Xh)\n", sft_res->code); in ipmi_mc_get_selftest()
620 printf("Failure code : %02Xh\n", sft_res->test); in ipmi_mc_get_selftest()