Lines Matching refs:min_ts
306 struct timespec level_tstamp, wake_time_out, min_ts, now, dev_wake_ts; in set_input_dev_wake_ts() local
312 min_ts.tv_sec = 20; in set_input_dev_wake_ts()
313 min_ts.tv_nsec = 0; in set_input_dev_wake_ts()
315 add_timespecs(&min_ts, &now); in set_input_dev_wake_ts()
332 wake_time_out = min_ts; in set_input_dev_wake_ts()
351 if (timespec_after(&min_ts, &wake_time_out)) { in set_input_dev_wake_ts()
352 min_ts = wake_time_out; in set_input_dev_wake_ts()
363 } else if(timespec_after(&min_ts, &dev_wake_ts)) { in set_input_dev_wake_ts()
364 min_ts = dev_wake_ts; in set_input_dev_wake_ts()
368 adev->wake_ts = min_ts; in set_input_dev_wake_ts()
905 int dev_io_next_input_wake(struct open_dev **idevs, struct timespec *min_ts) in dev_io_next_input_wake() argument
916 if (timespec_after(min_ts, &adev->wake_ts)) in dev_io_next_input_wake()
917 *min_ts = adev->wake_ts; in dev_io_next_input_wake()