Home
last modified time | relevance | path

Searched refs:prev_pos (Results 1 – 3 of 3) sorted by relevance

/sound/soc/sof/
Dcompress.c17 u64 prev_pos; in sof_set_transferred_bytes() local
20 div64_u64_rem(sstream->copied_total, buffer_size, &prev_pos); in sof_set_transferred_bytes()
22 if (host_pos < prev_pos) in sof_set_transferred_bytes()
23 copied = (buffer_size - prev_pos) + host_pos; in sof_set_transferred_bytes()
25 copied = host_pos - prev_pos; in sof_set_transferred_bytes()
/sound/soc/intel/avs/
Dcore.c226 u64 prev_pos, pos, num_bytes; in hdac_stream_update_pos() local
228 div64_u64_rem(stream->curr_pos, buffer_size, &prev_pos); in hdac_stream_update_pos()
231 if (pos < prev_pos) in hdac_stream_update_pos()
232 num_bytes = (buffer_size - prev_pos) + pos; in hdac_stream_update_pos()
234 num_bytes = pos - prev_pos; in hdac_stream_update_pos()
/sound/soc/sof/intel/
Dhda-stream.c716 u64 prev_pos, pos, num_bytes; in hda_dsp_compr_bytes_transferred() local
718 div64_u64_rem(hstream->curr_pos, buffer_size, &prev_pos); in hda_dsp_compr_bytes_transferred()
721 if (pos < prev_pos) in hda_dsp_compr_bytes_transferred()
722 num_bytes = (buffer_size - prev_pos) + pos; in hda_dsp_compr_bytes_transferred()
724 num_bytes = pos - prev_pos; in hda_dsp_compr_bytes_transferred()