Lines Matching refs:oldptr
83 unsigned int oldptr; in cx231xx_audio_isocirq() local
126 oldptr = dev->adev.hwptr_done_capture; in cx231xx_audio_isocirq()
127 if (oldptr + length >= runtime->buffer_size) { in cx231xx_audio_isocirq()
130 cnt = runtime->buffer_size - oldptr; in cx231xx_audio_isocirq()
131 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_isocirq()
136 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_isocirq()
174 unsigned int oldptr; in cx231xx_audio_bulkirq() local
213 oldptr = dev->adev.hwptr_done_capture; in cx231xx_audio_bulkirq()
214 if (oldptr + length >= runtime->buffer_size) { in cx231xx_audio_bulkirq()
217 cnt = runtime->buffer_size - oldptr; in cx231xx_audio_bulkirq()
218 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_bulkirq()
223 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_bulkirq()