Lines Matching refs:threshold
2576 int64_t threshold;
2607 threshold = picldiag_get_int_propval(temph, PICL_PROP_LOW_WARNING,
2610 if (got_temp && temperature < threshold)
2616 threshold = picldiag_get_int_propval(temph, PICL_PROP_LOW_SHUTDOWN,
2619 if (got_temp && temperature < threshold)
2625 threshold = picldiag_get_int_propval(temph, PICL_PROP_HIGH_WARNING,
2628 if (got_temp && temperature > threshold)
2634 threshold = picldiag_get_int_propval(temph, PICL_PROP_HIGH_SHUTDOWN,
2637 if (got_temp && temperature > threshold)
2712 float threshold;
2742 threshold = picldiag_get_float_propval(currenth, PICL_PROP_LOW_WARNING,
2745 if (got_current && current < threshold)
2751 threshold = picldiag_get_float_propval(currenth, PICL_PROP_LOW_SHUTDOWN,
2754 if (got_current && current < threshold)
2760 threshold = picldiag_get_float_propval(currenth, PICL_PROP_HIGH_WARNING,
2763 if (got_current && current > threshold)
2769 threshold = picldiag_get_float_propval(currenth,
2772 if (got_current && current > threshold)
2847 float threshold;
2877 threshold = picldiag_get_float_propval(voltageh, PICL_PROP_LOW_WARNING,
2880 if (got_voltage && voltage < threshold)
2886 threshold = picldiag_get_float_propval(voltageh, PICL_PROP_LOW_SHUTDOWN,
2889 if (got_voltage && voltage < threshold)
2895 threshold = picldiag_get_float_propval(voltageh, PICL_PROP_HIGH_WARNING,
2898 if (got_voltage && voltage > threshold)
2904 threshold = picldiag_get_float_propval(voltageh,
2907 if (got_voltage && voltage > threshold)