Searched refs:target_frames (Results 1 – 2 of 2) sorted by relevance
373 unsigned int dev_rate, half_buffer_size, target_frames; in get_input_dev_max_wake_ts() local384 target_frames = half_buffer_size - curr_level; in get_input_dev_max_wake_ts()386 target_frames = 0; in get_input_dev_max_wake_ts()388 cras_frames_to_time(target_frames, dev_rate, &dev_wake_ts); in get_input_dev_max_wake_ts()
1656 unsigned int target_frames, dropped_frames = 0; in cras_iodev_drop_frames() local1665 target_frames = MIN(frames, rc); in cras_iodev_drop_frames()1672 for (i = 0; (dropped_frames < target_frames) && (i < 2); i++) { in cras_iodev_drop_frames()1673 frames = target_frames - dropped_frames; in cras_iodev_drop_frames()