Lines Matching full:threshold
35 /* Temperature threshold error, we don't handle this yet */ in xadc_handle_event()
53 * lower threshold event. Userspace will have to check the in xadc_handle_event()
172 *val = xadc->threshold[offset]; in xadc_read_event_value()
204 xadc->threshold[offset] = val; in xadc_write_event_value()
218 * threshold. in xadc_write_event_value()
223 * Since we store the hysteresis as relative (to the threshold) in xadc_write_event_value()
226 * threshold changes. in xadc_write_event_value()
228 if (xadc->threshold[offset] < xadc->temp_hysteresis) in xadc_write_event_value()
229 xadc->threshold[offset + 4] = 0; in xadc_write_event_value()
231 xadc->threshold[offset + 4] = xadc->threshold[offset] - in xadc_write_event_value()
234 xadc->threshold[offset + 4]); in xadc_write_event_value()