/linux-6.3-rc2/arch/riscv/errata/thead/ |
A D | errata.c | 91 void *oldptr, *altptr; in thead_errata_patch_func() local 101 oldptr = ALT_OLD_PTR(alt); in thead_errata_patch_func() 106 memcpy(oldptr, altptr, alt->alt_len); in thead_errata_patch_func() 109 patch_text_nosync(oldptr, altptr, alt->alt_len); in thead_errata_patch_func()
|
/linux-6.3-rc2/drivers/media/pci/cx18/ |
A D | cx18-alsa-pcm.c | 63 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-6.3-rc2/drivers/media/pci/ivtv/ |
A D | ivtv-alsa-pcm.c | 60 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-6.3-rc2/arch/riscv/kernel/ |
A D | cpufeature.c | 277 void *oldptr, *altptr; in riscv_cpufeature_patch_func() local 294 oldptr = ALT_OLD_PTR(alt); in riscv_cpufeature_patch_func() 298 patch_text_nosync(oldptr, altptr, alt->alt_len); in riscv_cpufeature_patch_func() 299 riscv_alternative_fix_offsets(oldptr, alt->alt_len, oldptr - altptr); in riscv_cpufeature_patch_func()
|
/linux-6.3-rc2/drivers/media/usb/cx231xx/ |
A D | cx231xx-audio.c | 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() [all …]
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | alternative-macros.h | 9 .macro ALT_ENTRY oldptr newptr vendor_id errata_id new_len 10 .4byte \oldptr - . 61 #define ALT_ENTRY(oldptr, newptr, vendor_id, errata_id, newlen) \ 62 ".4byte ((" oldptr ") - .) \n" \
|
/linux-6.3-rc2/drivers/media/pci/cobalt/ |
A D | cobalt-alsa-pcm.c | 104 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-6.3-rc2/arch/parisc/kernel/ |
A D | module.c | 866 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-6.3-rc2/drivers/media/usb/em28xx/ |
A D | em28xx-audio.c | 70 unsigned int oldptr; in em28xx_audio_isocirq() local 116 oldptr = dev->adev.hwptr_done_capture; in em28xx_audio_isocirq() 117 if (oldptr + length >= runtime->buffer_size) { in em28xx_audio_isocirq() 119 runtime->buffer_size - oldptr; in em28xx_audio_isocirq() 120 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq() 125 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq()
|
/linux-6.3-rc2/sound/usb/ |
A D | pcm.c | 1266 unsigned int stride, frames, bytes, oldptr; in retire_capture_urb() local 1303 oldptr = subs->hwptr_done; in retire_capture_urb() 1307 frames = (bytes + (oldptr % stride)) / stride; in retire_capture_urb() 1319 if (oldptr + bytes > subs->buffer_bytes) { in retire_capture_urb() 1320 unsigned int bytes1 = subs->buffer_bytes - oldptr; in retire_capture_urb() 1322 memcpy(runtime->dma_area + oldptr, cp, bytes1); in retire_capture_urb() 1325 memcpy(runtime->dma_area + oldptr, cp, bytes); in retire_capture_urb()
|