Lines Matching defs:dir
730 static int ams_get_alarm_offset(int scan_index, enum iio_event_direction dir)
737 if (dir == IIO_EV_DIR_FALLING) {
883 enum iio_event_direction dir)
893 enum iio_event_direction dir,
918 enum iio_event_direction dir,
922 unsigned int offset = ams_get_alarm_offset(chan->scan_index, dir);
939 enum iio_event_direction dir,
961 offset = ams_get_alarm_offset(chan->scan_index, dir);
1091 .dir = IIO_EV_DIR_RISING,
1099 .dir = IIO_EV_DIR_RISING,
1104 .dir = IIO_EV_DIR_FALLING,
1109 .dir = IIO_EV_DIR_EITHER,