Lines Matching full:buffer_size
16 u64 host_pos, u64 buffer_size) in sof_set_transferred_bytes() argument
21 div64_u64_rem(sstream->copied_total, buffer_size, &prev_pos); in sof_set_transferred_bytes()
24 copied = (buffer_size - prev_pos) + host_pos; in sof_set_transferred_bytes()
72 crtd->buffer_size); in snd_sof_compr_fragment_elapsed()
204 ret = snd_compr_malloc_pages(cstream, crtd->buffer_size); in sof_compr_set_params()
312 div_u64_rem(rtd->total_bytes_available, rtd->buffer_size, &offset); in sof_compr_copy_playback()
314 n = rtd->buffer_size - offset; in sof_compr_copy_playback()
333 div_u64_rem(rtd->total_bytes_transferred, rtd->buffer_size, &offset); in sof_compr_copy_capture()
335 n = rtd->buffer_size - offset; in sof_compr_copy_capture()
353 if (count > rtd->buffer_size) in sof_compr_copy()
354 count = rtd->buffer_size; in sof_compr_copy()