Searched refs:half_buffer_size (Results 1 – 1 of 1) sorted by relevance
373 unsigned int dev_rate, half_buffer_size, target_frames; in get_input_dev_max_wake_ts() local382 half_buffer_size = adev->dev->buffer_size / 2; in get_input_dev_max_wake_ts()383 if (curr_level < half_buffer_size) in get_input_dev_max_wake_ts()384 target_frames = half_buffer_size - curr_level; in get_input_dev_max_wake_ts()