Lines Matching full:rising
190 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_write_event_params() local
199 u16 value = chip->threshold[rising][chan]; in ad7150_write_event_params()
208 sens = chip->thresh_sensitivity[rising][chan]; in ad7150_write_event_params()
259 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_write_event_config() local
283 if (rising) in ad7150_write_event_config()
332 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_read_event_value() local
339 *val = chip->thresh_sensitivity[rising][chan->channel]; in ad7150_read_event_value()
342 *val = chip->threshold[rising][chan->channel]; in ad7150_read_event_value()
349 *val2 = chip->thresh_timeout[rising][chan->channel] * 10000; in ad7150_read_event_value()
365 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_write_event_value() local
372 chip->thresh_sensitivity[rising][chan->channel] = val; in ad7150_write_event_value()
375 chip->threshold[rising][chan->channel] = val; in ad7150_write_event_value()
395 chip->thresh_timeout[rising][chan->channel] = timeout; in ad7150_write_event_value()