Searched refs:prev_pos (Results 1 – 1 of 1) sorted by relevance
653 u64 prev_pos, pos, num_bytes; in hda_dsp_set_bytes_transferred() local655 div64_u64_rem(hstream->curr_pos, buffer_size, &prev_pos); in hda_dsp_set_bytes_transferred()658 if (pos < prev_pos) in hda_dsp_set_bytes_transferred()659 num_bytes = (buffer_size - prev_pos) + pos; in hda_dsp_set_bytes_transferred()661 num_bytes = pos - prev_pos; in hda_dsp_set_bytes_transferred()