Searched refs:dev_wake_ts (Results 1 – 1 of 1) sorted by relevance
/external/adhd/cras/src/server/ |
D | dev_io.c | 272 struct timespec dev_wake_ts, now; in get_input_dev_max_wake_ts() local 288 cras_frames_to_time(target_frames, dev_rate, &dev_wake_ts); in get_input_dev_max_wake_ts() 290 if (timespec_after(&dev_wake_ts, res_ts)) { in get_input_dev_max_wake_ts() 291 *res_ts = dev_wake_ts; in get_input_dev_max_wake_ts() 306 struct timespec level_tstamp, wake_time_out, min_ts, now, dev_wake_ts; in set_input_dev_wake_ts() local 358 rc = get_input_dev_max_wake_ts(adev, curr_level, &dev_wake_ts); 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()
|