Searched refs:new_pos (Results 1 – 1 of 1) sorted by relevance
136 unsigned int new_pos; in dmaengine_pcm_dma_complete() local140 new_pos = prtd->pos + snd_pcm_lib_period_bytes(substream); in dmaengine_pcm_dma_complete()141 if (new_pos >= snd_pcm_lib_buffer_bytes(substream)) in dmaengine_pcm_dma_complete()142 new_pos = 0; in dmaengine_pcm_dma_complete()143 prtd->pos = new_pos; in dmaengine_pcm_dma_complete()