Home
last modified time | relevance | path

Searched refs:oldptr (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/media/pci/cx18/
Dcx18-alsa-pcm.c63 unsigned int oldptr; in cx18_alsa_announce_pcm_data() local
100 oldptr = cxsc->hwptr_done_capture; in cx18_alsa_announce_pcm_data()
101 if (oldptr + length >= runtime->buffer_size) { in cx18_alsa_announce_pcm_data()
103 runtime->buffer_size - oldptr; in cx18_alsa_announce_pcm_data()
104 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data()
109 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data()
/Linux-v5.10/drivers/media/pci/ivtv/
Divtv-alsa-pcm.c60 unsigned int oldptr; in ivtv_alsa_announce_pcm_data() local
97 oldptr = itvsc->hwptr_done_capture; in ivtv_alsa_announce_pcm_data()
98 if (oldptr + length >= runtime->buffer_size) { in ivtv_alsa_announce_pcm_data()
100 runtime->buffer_size - oldptr; in ivtv_alsa_announce_pcm_data()
101 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data()
106 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data()
/Linux-v5.10/drivers/media/usb/cx231xx/
Dcx231xx-audio.c83 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()
[all …]
/Linux-v5.10/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c104 unsigned int oldptr; in cobalt_alsa_announce_pcm_data() local
142 oldptr = cobsc->hwptr_done_capture; in cobalt_alsa_announce_pcm_data()
143 if (oldptr + length >= runtime->buffer_size) { in cobalt_alsa_announce_pcm_data()
144 unsigned int cnt = runtime->buffer_size - oldptr; in cobalt_alsa_announce_pcm_data()
148 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data()
158 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data()
/Linux-v5.10/arch/parisc/kernel/
Dmodule.c866 Elf_Sym *newptr, *oldptr; in module_finalize() local
918 oldptr = (void *)symhdr->sh_addr; in module_finalize()
919 newptr = oldptr + 1; /* we start counting at 1 */ in module_finalize()
924 oldptr++; /* note, count starts at 1 so preincrement */ in module_finalize()
925 if(strncmp(strtab + oldptr->st_name, in module_finalize()
929 if(newptr != oldptr) in module_finalize()
930 *newptr++ = *oldptr; in module_finalize()
/Linux-v5.10/drivers/media/usb/em28xx/
Dem28xx-audio.c80 unsigned int oldptr; in em28xx_audio_isocirq() local
126 oldptr = dev->adev.hwptr_done_capture; in em28xx_audio_isocirq()
127 if (oldptr + length >= runtime->buffer_size) { in em28xx_audio_isocirq()
129 runtime->buffer_size - oldptr; in em28xx_audio_isocirq()
130 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq()
135 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq()
/Linux-v5.10/sound/usb/
Dpcm.c1412 unsigned int stride, frames, bytes, oldptr; in retire_capture_urb() local
1449 oldptr = subs->hwptr_done; in retire_capture_urb()
1453 frames = (bytes + (oldptr % stride)) / stride; in retire_capture_urb()
1470 if (oldptr + bytes > runtime->buffer_size * stride) { in retire_capture_urb()
1472 runtime->buffer_size * stride - oldptr; in retire_capture_urb()
1473 memcpy(runtime->dma_area + oldptr, cp, bytes1); in retire_capture_urb()
1476 memcpy(runtime->dma_area + oldptr, cp, bytes); in retire_capture_urb()