Lines Matching refs:thresh
732 struct nd_intel_smart_threshold *thresh) in smart_notify() argument
735 __func__, thresh->alarm_control, thresh->spares, in smart_notify()
736 smart->spares, thresh->media_temperature, in smart_notify()
737 smart->media_temperature, thresh->ctrl_temperature, in smart_notify()
739 if (((thresh->alarm_control & ND_INTEL_SMART_SPARE_TRIP) in smart_notify()
741 <= thresh->spares) in smart_notify()
742 || ((thresh->alarm_control & ND_INTEL_SMART_TEMP_TRIP) in smart_notify()
744 >= thresh->media_temperature) in smart_notify()
745 || ((thresh->alarm_control & ND_INTEL_SMART_CTEMP_TRIP) in smart_notify()
747 >= thresh->ctrl_temperature) in smart_notify()
759 struct nd_intel_smart_threshold *thresh, in nfit_test_cmd_smart_set_threshold() argument
768 memcpy(thresh->data, in, size); in nfit_test_cmd_smart_set_threshold()
770 smart_notify(bus_dev, dimm_dev, smart, thresh); in nfit_test_cmd_smart_set_threshold()
778 struct nd_intel_smart_threshold *thresh, in nfit_test_cmd_smart_inject() argument
811 smart_notify(bus_dev, dimm_dev, smart, thresh); in nfit_test_cmd_smart_inject()