Searched refs:prev_pos (Results 1 – 3 of 3) sorted by relevance
/sound/soc/sof/ |
D | compress.c | 17 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/ |
D | core.c | 226 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/ |
D | hda-stream.c | 716 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()
|