Lines Matching refs:inj
776 struct nd_intel_smart_inject *inj, in nfit_test_cmd_smart_inject() argument
782 if (buf_len != sizeof(*inj)) in nfit_test_cmd_smart_inject()
785 if (inj->flags & ND_INTEL_SMART_INJECT_MTEMP) { in nfit_test_cmd_smart_inject()
786 if (inj->mtemp_enable) in nfit_test_cmd_smart_inject()
787 smart->media_temperature = inj->media_temperature; in nfit_test_cmd_smart_inject()
791 if (inj->flags & ND_INTEL_SMART_INJECT_SPARE) { in nfit_test_cmd_smart_inject()
792 if (inj->spare_enable) in nfit_test_cmd_smart_inject()
793 smart->spares = inj->spares; in nfit_test_cmd_smart_inject()
797 if (inj->flags & ND_INTEL_SMART_INJECT_FATAL) { in nfit_test_cmd_smart_inject()
798 if (inj->fatal_enable) in nfit_test_cmd_smart_inject()
803 if (inj->flags & ND_INTEL_SMART_INJECT_SHUTDOWN) { in nfit_test_cmd_smart_inject()
804 if (inj->unsafe_shutdown_enable) { in nfit_test_cmd_smart_inject()
810 inj->status = 0; in nfit_test_cmd_smart_inject()