Lines Matching refs:dir
89 enum iio_event_direction dir; member
152 enum iio_event_direction dir) in ad7150_read_event_config() argument
170 if (dir == IIO_EV_DIR_RISING) in ad7150_read_event_config()
174 if (dir == IIO_EV_DIR_RISING) in ad7150_read_event_config()
187 enum iio_event_direction dir) in ad7150_write_event_params() argument
190 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_write_event_params()
193 if ((type != chip->type) || (dir != chip->dir)) in ad7150_write_event_params()
235 enum iio_event_direction dir, int state) in ad7150_write_event_config() argument
250 (type == chip->type) && (dir == chip->dir)) { in ad7150_write_event_config()
258 if ((type != chip->type) || (dir != chip->dir)) { in ad7150_write_event_config()
259 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_write_event_config()
302 chip->dir = dir; in ad7150_write_event_config()
306 dir); in ad7150_write_event_config()
327 enum iio_event_direction dir, in ad7150_read_event_value() argument
332 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_read_event_value()
359 enum iio_event_direction dir, in ad7150_write_event_value() argument
365 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_write_event_value()
404 ret = ad7150_write_event_params(indio_dev, chan->channel, type, dir); in ad7150_write_event_value()
414 .dir = IIO_EV_DIR_RISING,
419 .dir = IIO_EV_DIR_FALLING,
424 .dir = IIO_EV_DIR_RISING,
430 .dir = IIO_EV_DIR_FALLING,
496 chip->type, chip->dir), in __ad7150_event_handler()