Searched refs:oldptr (Results 1 – 5 of 5) sorted by relevance
/drivers/media/usb/cx231xx/ |
D | cx231xx-audio.c | 95 unsigned int oldptr; in cx231xx_audio_isocirq() local 137 oldptr = dev->adev.hwptr_done_capture; in cx231xx_audio_isocirq() 138 if (oldptr + length >= runtime->buffer_size) { in cx231xx_audio_isocirq() 141 cnt = runtime->buffer_size - oldptr; in cx231xx_audio_isocirq() 142 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_isocirq() 147 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_isocirq() 185 unsigned int oldptr; in cx231xx_audio_bulkirq() local 223 oldptr = dev->adev.hwptr_done_capture; in cx231xx_audio_bulkirq() 224 if (oldptr + length >= runtime->buffer_size) { in cx231xx_audio_bulkirq() 227 cnt = runtime->buffer_size - oldptr; in cx231xx_audio_bulkirq() [all …]
|
/drivers/media/pci/cx18/ |
D | cx18-alsa-pcm.c | 73 unsigned int oldptr; in cx18_alsa_announce_pcm_data() local 110 oldptr = cxsc->hwptr_done_capture; in cx18_alsa_announce_pcm_data() 111 if (oldptr + length >= runtime->buffer_size) { in cx18_alsa_announce_pcm_data() 113 runtime->buffer_size - oldptr; in cx18_alsa_announce_pcm_data() 114 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data() 119 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data()
|
/drivers/media/pci/ivtv/ |
D | ivtv-alsa-pcm.c | 71 unsigned int oldptr; in ivtv_alsa_announce_pcm_data() local 108 oldptr = itvsc->hwptr_done_capture; in ivtv_alsa_announce_pcm_data() 109 if (oldptr + length >= runtime->buffer_size) { in ivtv_alsa_announce_pcm_data() 111 runtime->buffer_size - oldptr; in ivtv_alsa_announce_pcm_data() 112 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data() 117 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data()
|
/drivers/media/pci/cobalt/ |
D | cobalt-alsa-pcm.c | 117 unsigned int oldptr; in cobalt_alsa_announce_pcm_data() local 155 oldptr = cobsc->hwptr_done_capture; in cobalt_alsa_announce_pcm_data() 156 if (oldptr + length >= runtime->buffer_size) { in cobalt_alsa_announce_pcm_data() 157 unsigned int cnt = runtime->buffer_size - oldptr; in cobalt_alsa_announce_pcm_data() 161 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data() 171 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data()
|
/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 82 unsigned int oldptr; in em28xx_audio_isocirq() local 127 oldptr = dev->adev.hwptr_done_capture; in em28xx_audio_isocirq() 128 if (oldptr + length >= runtime->buffer_size) { in em28xx_audio_isocirq() 130 runtime->buffer_size - oldptr; in em28xx_audio_isocirq() 131 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq() 136 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq()
|