Searched refs:fr_to_write (Results 1 – 2 of 2) sorted by relevance
54 unsigned int hw_level, fr_to_write; in default_no_stream_playback() local79 fr_to_write = cras_iodev_buffer_avail(odev, hw_level); in default_no_stream_playback()81 fr_to_write = MIN(target_hw_level - hw_level, fr_to_write); in default_no_stream_playback()82 return cras_iodev_fill_odev_zeros(odev, fr_to_write); in default_no_stream_playback()
1811 unsigned int real_hw_level, fr_to_write; in possibly_enter_free_run() local1844 fr_to_write = odev->buffer_size - real_hw_level; in possibly_enter_free_run()1846 fr_to_write = MIN(target_hw_level - real_hw_level, fr_to_write); in possibly_enter_free_run()1847 rc = cras_iodev_fill_odev_zeros(odev, fr_to_write); in possibly_enter_free_run()1850 aio->filled_zeros_for_draining += fr_to_write; in possibly_enter_free_run()