Lines Matching full:threshold
34 /* Temperature threshold error, we don't handle this yet */ in xadc_handle_event()
52 * lower threshold event. Userspace will have to check the in xadc_handle_event()
168 *val = xadc->threshold[offset]; in xadc_read_event_value()
202 xadc->threshold[offset] = val; in xadc_write_event_value()
216 * threshold. in xadc_write_event_value()
221 * Since we store the hysteresis as relative (to the threshold) in xadc_write_event_value()
224 * threshold changes. in xadc_write_event_value()
226 if (xadc->threshold[offset] < xadc->temp_hysteresis) in xadc_write_event_value()
227 xadc->threshold[offset + 4] = 0; in xadc_write_event_value()
229 xadc->threshold[offset + 4] = xadc->threshold[offset] - in xadc_write_event_value()
232 xadc->threshold[offset + 4]); in xadc_write_event_value()