/drivers/media/video/cx18/ |
D | cx18-alsa-pcm.c | 109 if (runtime->dma_area == NULL) { in cx18_alsa_announce_pcm_data() 118 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data() 120 memcpy(runtime->dma_area, pcm_data + cnt * stride, in cx18_alsa_announce_pcm_data() 123 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data() 237 if (runtime->dma_area) { in snd_pcm_alloc_vmalloc_buffer() 241 vfree(runtime->dma_area); in snd_pcm_alloc_vmalloc_buffer() 243 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer() 244 if (!runtime->dma_area) in snd_pcm_alloc_vmalloc_buffer() 270 if (substream->runtime->dma_area) { in snd_cx18_pcm_hw_free() 272 vfree(substream->runtime->dma_area); in snd_cx18_pcm_hw_free() [all …]
|
/drivers/media/video/tm6000/ |
D | tm6000-alsa.c | 111 vfree(substream->runtime->dma_area); in dsp_buffer_free() 112 substream->runtime->dma_area = NULL; in dsp_buffer_free() 122 if (substream->runtime->dma_area) { in dsp_buffer_alloc() 129 substream->runtime->dma_area = vmalloc(size); in dsp_buffer_alloc() 130 if (!substream->runtime->dma_area) in dsp_buffer_alloc() 227 if (!runtime || !runtime->dma_area) { in tm6000_fillbuf() 247 runtime->dma_area, buf_pos, in tm6000_fillbuf() 252 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); in tm6000_fillbuf() 253 memcpy(runtime->dma_area, buf + cnt * stride, in tm6000_fillbuf() 256 memcpy(runtime->dma_area + buf_pos * stride, buf, in tm6000_fillbuf() [all …]
|
/drivers/media/video/tlg2300/ |
D | pd-alsa.c | 94 if (runtime->dma_area) { in snd_pd_hw_capture_params() 97 vfree(runtime->dma_area); in snd_pd_hw_capture_params() 99 runtime->dma_area = vmalloc(size); in snd_pd_hw_capture_params() 100 if (!runtime->dma_area) in snd_pd_hw_capture_params() 152 memcpy(runtime->dma_area + oldptr * stride, cp, cnt * stride); in handle_audio_data() 153 memcpy(runtime->dma_area, (cp + cnt * stride), in handle_audio_data() 156 memcpy(runtime->dma_area + oldptr * stride, cp, len * stride); in handle_audio_data() 264 void *pageptr = subs->runtime->dma_area + offset; in snd_pcm_pd_get_page()
|
/drivers/staging/media/easycap/ |
D | easycap_sound.c | 319 memcpy(prt->dma_area + peasycap->dma_fill, in easycap_alsa_complete() 330 p2 = (u8 *)(prt->dma_area + peasycap->dma_fill); in easycap_alsa_complete() 355 p2 = (u8 *)(prt->dma_area + peasycap->dma_fill); in easycap_alsa_complete() 498 if (prt->dma_area) { in easycap_alsa_vmalloc() 501 vfree(prt->dma_area); in easycap_alsa_vmalloc() 503 prt->dma_area = vmalloc(sz); in easycap_alsa_vmalloc() 504 if (!prt->dma_area) in easycap_alsa_vmalloc() 540 if (prt->dma_area) { in easycap_alsa_hw_free() 541 JOT(8, "prt->dma_area = %p\n", prt->dma_area); in easycap_alsa_hw_free() 542 vfree(prt->dma_area); in easycap_alsa_hw_free() [all …]
|
/drivers/staging/media/go7007/ |
D | snd-go7007.c | 93 memcpy(runtime->dma_area + gosnd->w_idx, buf, cpy); in parse_audio_stream_data() 98 memcpy(runtime->dma_area + gosnd->w_idx, buf, length); in parse_audio_stream_data() 119 vfree(substream->runtime->dma_area); in go7007_snd_hw_params() 121 substream->runtime->dma_area = vmalloc(bytes); in go7007_snd_hw_params() 122 if (substream->runtime->dma_area == NULL) in go7007_snd_hw_params() 135 vfree(substream->runtime->dma_area); in go7007_snd_hw_free() 203 return vmalloc_to_page(substream->runtime->dma_area + offset); in go7007_snd_pcm_page()
|
/drivers/media/video/em28xx/ |
D | em28xx-audio.c | 127 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq() 129 memcpy(runtime->dma_area, cp + cnt * stride, in em28xx_audio_isocirq() 132 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq() 233 if (runtime->dma_area) { in snd_pcm_alloc_vmalloc_buffer() 237 vfree(runtime->dma_area); in snd_pcm_alloc_vmalloc_buffer() 239 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer() 240 if (!runtime->dma_area) in snd_pcm_alloc_vmalloc_buffer() 333 if (substream->runtime->dma_area) { in snd_em28xx_pcm_close() 335 vfree(substream->runtime->dma_area); in snd_em28xx_pcm_close() 336 substream->runtime->dma_area = NULL; in snd_em28xx_pcm_close() [all …]
|
/drivers/media/video/cx231xx/ |
D | cx231xx-audio.c | 152 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_isocirq() 154 memcpy(runtime->dma_area, cp + cnt * stride, in cx231xx_audio_isocirq() 157 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_isocirq() 236 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_bulkirq() 238 memcpy(runtime->dma_area, cp + cnt * stride, in cx231xx_audio_bulkirq() 241 memcpy(runtime->dma_area + oldptr * stride, cp, in cx231xx_audio_bulkirq() 397 if (runtime->dma_area) { in snd_pcm_alloc_vmalloc_buffer() 401 vfree(runtime->dma_area); in snd_pcm_alloc_vmalloc_buffer() 403 runtime->dma_area = vmalloc(size); in snd_pcm_alloc_vmalloc_buffer() 404 if (!runtime->dma_area) in snd_pcm_alloc_vmalloc_buffer() [all …]
|
/drivers/media/video/cx23885/ |
D | cx23885-alsa.c | 302 if (substream->runtime->dma_area) { in snd_cx23885_hw_params() 304 substream->runtime->dma_area = NULL; in snd_cx23885_hw_params() 344 substream->runtime->dma_area = chip->dma_risc->vaddr; in snd_cx23885_hw_params() 363 if (substream->runtime->dma_area) { in snd_cx23885_hw_free() 365 substream->runtime->dma_area = NULL; in snd_cx23885_hw_free() 429 void *pageptr = substream->runtime->dma_area + offset; in snd_cx23885_page()
|
/drivers/media/video/cx25821/ |
D | cx25821-alsa.c | 441 if (substream->runtime->dma_area) { in snd_cx25821_hw_params() 443 substream->runtime->dma_area = NULL; in snd_cx25821_hw_params() 488 substream->runtime->dma_area = chip->dma_risc->vaddr; in snd_cx25821_hw_params() 506 if (substream->runtime->dma_area) { in snd_cx25821_hw_free() 508 substream->runtime->dma_area = NULL; in snd_cx25821_hw_free() 572 void *pageptr = substream->runtime->dma_area + offset; in snd_cx25821_page()
|
/drivers/media/video/cx88/ |
D | cx88-alsa.c | 391 if (substream->runtime->dma_area) { in snd_cx88_hw_params() 393 substream->runtime->dma_area = NULL; in snd_cx88_hw_params() 432 substream->runtime->dma_area = chip->dma_risc->vaddr; in snd_cx88_hw_params() 450 if (substream->runtime->dma_area) { in snd_cx88_hw_free() 452 substream->runtime->dma_area = NULL; in snd_cx88_hw_free() 517 void *pageptr = substream->runtime->dma_area + offset; in snd_cx88_page()
|
/drivers/staging/line6/ |
D | capture.c | 163 memcpy(runtime->dma_area + in line6_capture_copy() 166 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy() 175 memcpy(runtime->dma_area + in line6_capture_copy()
|
D | playback.c | 214 runtime->dma_area + in submit_audio_out_urb() 218 len * bytes_per_frame, runtime->dma_area, in submit_audio_out_urb() 224 runtime->dma_area + in submit_audio_out_urb()
|
/drivers/media/video/saa7134/ |
D | saa7134-alsa.c | 631 if (substream->runtime->dma_area) { in snd_card_saa7134_hw_params() 635 substream->runtime->dma_area = NULL; in snd_card_saa7134_hw_params() 672 substream->runtime->dma_area = dev->dmasound.dma.vaddr; in snd_card_saa7134_hw_params() 697 if (substream->runtime->dma_area) { in snd_card_saa7134_hw_free() 701 substream->runtime->dma_area = NULL; in snd_card_saa7134_hw_free() 803 void *pageptr = substream->runtime->dma_area + offset; in snd_card_saa7134_page()
|
/drivers/usb/gadget/ |
D | f_uac2.c | 103 unsigned char *dma_area; member 236 src = prm->dma_area + prm->hw_ptr; in agdev_iso_complete() 240 dst = prm->dma_area + prm->hw_ptr; in agdev_iso_complete() 339 prm->dma_area = substream->runtime->dma_area; in uac2_pcm_hw_params() 356 prm->dma_area = NULL; in uac2_pcm_hw_free()
|
D | f_audio_source.c | 712 audio->buffer_start = runtime->dma_area; in audio_pcm_prepare()
|