Home
last modified time | relevance | path

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

/linux-5.19.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-5.19.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-5.19.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-5.19.10/arch/riscv/include/asm/
Dalternative-macros.h9 .macro ALT_ENTRY oldptr newptr vendor_id errata_id new_len
10 RISCV_PTR \oldptr
77 #define ALT_ENTRY(oldptr, newptr, vendor_id, errata_id, newlen) \ argument
78 RISCV_PTR " " oldptr "\n" \
/linux-5.19.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-5.19.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-5.19.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-5.19.10/sound/usb/
Dpcm.c1190 unsigned int stride, frames, bytes, oldptr; in retire_capture_urb() local
1227 oldptr = subs->hwptr_done; in retire_capture_urb()
1231 frames = (bytes + (oldptr % stride)) / stride; in retire_capture_urb()
1243 if (oldptr + bytes > subs->buffer_bytes) { in retire_capture_urb()
1244 unsigned int bytes1 = subs->buffer_bytes - oldptr; in retire_capture_urb()
1246 memcpy(runtime->dma_area + oldptr, cp, bytes1); in retire_capture_urb()
1249 memcpy(runtime->dma_area + oldptr, cp, bytes); in retire_capture_urb()