/linux-4.4.14/drivers/media/pci/cx18/ |
H A D | cx18-alsa-pcm.c | 110 if (runtime->dma_area == NULL) { cx18_alsa_announce_pcm_data() 119 memcpy(runtime->dma_area + oldptr * stride, pcm_data, cx18_alsa_announce_pcm_data() 121 memcpy(runtime->dma_area, pcm_data + cnt * stride, cx18_alsa_announce_pcm_data() 124 memcpy(runtime->dma_area + oldptr * stride, pcm_data, cx18_alsa_announce_pcm_data() 237 if (runtime->dma_area) { snd_pcm_alloc_vmalloc_buffer() 241 vfree(runtime->dma_area); snd_pcm_alloc_vmalloc_buffer() 243 runtime->dma_area = vmalloc(size); snd_pcm_alloc_vmalloc_buffer() 244 if (!runtime->dma_area) snd_pcm_alloc_vmalloc_buffer() 267 if (substream->runtime->dma_area) { snd_cx18_pcm_hw_free() 269 vfree(substream->runtime->dma_area); snd_cx18_pcm_hw_free() 270 substream->runtime->dma_area = NULL; snd_cx18_pcm_hw_free() 309 void *pageptr = subs->runtime->dma_area + offset; snd_pcm_get_vmalloc_page()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-pcm.c | 111 if (runtime->dma_area == NULL) { ivtv_alsa_announce_pcm_data() 120 memcpy(runtime->dma_area + oldptr * stride, pcm_data, ivtv_alsa_announce_pcm_data() 122 memcpy(runtime->dma_area, pcm_data + cnt * stride, ivtv_alsa_announce_pcm_data() 125 memcpy(runtime->dma_area + oldptr * stride, pcm_data, ivtv_alsa_announce_pcm_data() 244 if (runtime->dma_area) { snd_pcm_alloc_vmalloc_buffer() 248 vfree(runtime->dma_area); snd_pcm_alloc_vmalloc_buffer() 250 runtime->dma_area = vmalloc(size); snd_pcm_alloc_vmalloc_buffer() 251 if (!runtime->dma_area) snd_pcm_alloc_vmalloc_buffer() 274 if (substream->runtime->dma_area) { snd_ivtv_pcm_hw_free() 276 vfree(substream->runtime->dma_area); snd_ivtv_pcm_hw_free() 277 substream->runtime->dma_area = NULL; snd_ivtv_pcm_hw_free() 316 void *pageptr = subs->runtime->dma_area + offset; snd_pcm_get_vmalloc_page()
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa-pcm.c | 150 if (runtime->dma_area == NULL) { cobalt_alsa_announce_pcm_data() 161 sample_cpy(runtime->dma_area + (oldptr + i) * stride, cobalt_alsa_announce_pcm_data() 165 sample_cpy(runtime->dma_area + (i - cnt) * stride, cobalt_alsa_announce_pcm_data() 171 sample_cpy(runtime->dma_area + (oldptr + i) * stride, cobalt_alsa_announce_pcm_data() 266 if (runtime->dma_area) { snd_pcm_alloc_vmalloc_buffer() 270 vfree(runtime->dma_area); snd_pcm_alloc_vmalloc_buffer() 272 runtime->dma_area = vmalloc(size); snd_pcm_alloc_vmalloc_buffer() 273 if (!runtime->dma_area) snd_pcm_alloc_vmalloc_buffer() 292 if (substream->runtime->dma_area) { snd_cobalt_pcm_hw_free() 294 vfree(substream->runtime->dma_area); snd_cobalt_pcm_hw_free() 295 substream->runtime->dma_area = NULL; snd_cobalt_pcm_hw_free() 397 if (runtime->dma_area == NULL) { cobalt_alsa_pb_pcm_data() 405 runtime->dma_area + pos + i * stride, cobalt_alsa_pb_pcm_data() 508 void *pageptr = subs->runtime->dma_area + offset; snd_pcm_get_vmalloc_page()
|
/linux-4.4.14/sound/soc/au1x/ |
H A D | dbdma2.c | 51 dma_addr_t dma_area; /* address of queued DMA area */ member in struct:au1xpsc_audio_dmadata 82 au1xxx_dbdma_put_source(cd->ddma_chan, cd->dma_area, au1x_pcm_queue_tx() 87 cd->dma_area += cd->period_bytes; au1x_pcm_queue_tx() 90 cd->dma_area = cd->dma_area_s; au1x_pcm_queue_tx() 96 au1xxx_dbdma_put_dest(cd->ddma_chan, cd->dma_area, au1x_pcm_queue_rx() 101 cd->dma_area += cd->period_bytes; au1x_pcm_queue_rx() 104 cd->dma_area = cd->dma_area_s; au1x_pcm_queue_rx() 209 DBG("runtime->dma_area = 0x%08lx dma_addr_t = 0x%08lx dma_size = %d " au1xpsc_pcm_hw_params() 211 (unsigned long)runtime->dma_area, au1xpsc_pcm_hw_params() 227 pcd->dma_area_s = pcd->dma_area = runtime->dma_addr; au1xpsc_pcm_hw_params()
|
H A D | dma.c | 70 dma_start = virt_to_phys(runtime->dma_area); au1000_setup_dma_link()
|
/linux-4.4.14/sound/firewire/tascam/ |
H A D | amdtp-tascam.c | 50 src = (void *)runtime->dma_area + write_pcm_s32() 61 src = (void *)runtime->dma_area; write_pcm_s32() 75 src = (void *)runtime->dma_area + write_pcm_s16() 86 src = (void *)runtime->dma_area; write_pcm_s16() 100 dst = (void *)runtime->dma_area + read_pcm_s32() 114 dst = (void *)runtime->dma_area; read_pcm_s32()
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
H A D | tm6000-alsa.c | 111 vfree(substream->runtime->dma_area); dsp_buffer_free() 112 substream->runtime->dma_area = NULL; dsp_buffer_free() 122 if (substream->runtime->dma_area) { dsp_buffer_alloc() 129 substream->runtime->dma_area = vmalloc(size); dsp_buffer_alloc() 130 if (!substream->runtime->dma_area) dsp_buffer_alloc() 227 if (!runtime || !runtime->dma_area) { tm6000_fillbuf() 247 runtime->dma_area, buf_pos, tm6000_fillbuf() 252 memcpy(runtime->dma_area + buf_pos * stride, buf, cnt * stride); tm6000_fillbuf() 253 memcpy(runtime->dma_area, buf + cnt * stride, tm6000_fillbuf() 256 memcpy(runtime->dma_area + buf_pos * stride, buf, tm6000_fillbuf() 383 void *pageptr = subs->runtime->dma_area + offset; snd_pcm_get_vmalloc_page()
|
/linux-4.4.14/sound/soc/blackfin/ |
H A D | bf5xx-i2s-pcm.c | 101 sport_config_tx_dma(sport, runtime->dma_area, bf5xx_pcm_prepare() 105 sport_config_rx_dma(sport, runtime->dma_area, bf5xx_pcm_prepare() 221 vma->vm_start = (unsigned long)runtime->dma_area; bf5xx_pcm_mmap() 243 dst = runtime->dma_area; bf5xx_pcm_copy() 255 src = runtime->dma_area; bf5xx_pcm_copy() 271 dst = runtime->dma_area; bf5xx_pcm_copy() 274 src = runtime->dma_area; bf5xx_pcm_copy() 291 void *buf = runtime->dma_area; bf5xx_pcm_silence()
|
H A D | bf5xx-ac97-pcm.c | 63 sport->tx_pos, (__u16 *)runtime->dma_area + sport->tx_pos * bf5xx_mmap_copy() 71 sport->rx_pos, (__u16 *)runtime->dma_area + sport->rx_pos * bf5xx_mmap_copy() 137 if (runtime->dma_area) bf5xx_pcm_hw_free() 138 memset(runtime->dma_area, 0, runtime->buffer_size); bf5xx_pcm_hw_free() 170 sport_config_tx_dma(sport, runtime->dma_area, runtime->periods, bf5xx_pcm_prepare() 174 sport_config_rx_dma(sport, runtime->dma_area, runtime->periods, bf5xx_pcm_prepare() 276 vma->vm_start = (unsigned long)runtime->dma_area; bf5xx_pcm_mmap() 292 bf5xx_pcm_to_ac97((struct ac97_frame *)runtime->dma_area + pos, bf5xx_pcm_copy() 295 bf5xx_ac97_to_pcm((struct ac97_frame *)runtime->dma_area + pos, bf5xx_pcm_copy()
|
/linux-4.4.14/drivers/media/usb/go7007/ |
H A D | snd-go7007.c | 88 memcpy(runtime->dma_area + gosnd->w_idx, buf, cpy); parse_audio_stream_data() 93 memcpy(runtime->dma_area + gosnd->w_idx, buf, length); parse_audio_stream_data() 114 vfree(substream->runtime->dma_area); go7007_snd_hw_params() 116 substream->runtime->dma_area = vmalloc(bytes); go7007_snd_hw_params() 117 if (substream->runtime->dma_area == NULL) go7007_snd_hw_params() 130 vfree(substream->runtime->dma_area); go7007_snd_hw_free() 198 return vmalloc_to_page(substream->runtime->dma_area + offset); go7007_snd_pcm_page()
|
/linux-4.4.14/sound/firewire/ |
H A D | amdtp-am824.c | 164 src = (void *)runtime->dma_area + write_pcm_s32() 176 src = (void *)runtime->dma_area; write_pcm_s32() 190 src = (void *)runtime->dma_area + write_pcm_s16() 202 src = (void *)runtime->dma_area; write_pcm_s16() 216 dst = (void *)runtime->dma_area + read_pcm_s32() 227 dst = (void *)runtime->dma_area; read_pcm_s32()
|
H A D | isight.c | 119 memcpy(runtime->dma_area + isight->buffer_pointer * 4, isight_samples() 123 memcpy(runtime->dma_area + isight->buffer_pointer * 4, isight_samples() 126 memcpy(runtime->dma_area, samples, (count - count1) * 4); isight_samples() 151 memset(runtime->dma_area + isight->buffer_pointer * 4, isight_dropped_samples() 155 memset(runtime->dma_area + isight->buffer_pointer * 4, isight_dropped_samples() 157 memset(runtime->dma_area, 0, (dropped - count1) * 4); isight_dropped_samples()
|
/linux-4.4.14/sound/firewire/digi00x/ |
H A D | amdtp-dot.c | 163 src = (void *)runtime->dma_area + write_pcm_s32() 176 src = (void *)runtime->dma_area; write_pcm_s32() 189 src = (void *)runtime->dma_area + write_pcm_s16() 202 src = (void *)runtime->dma_area; write_pcm_s16() 215 dst = (void *)runtime->dma_area + read_pcm_s32() 227 dst = (void *)runtime->dma_area; read_pcm_s32()
|
/linux-4.4.14/sound/core/ |
H A D | pcm_memory.c | 391 if (runtime->dma_area == NULL) snd_pcm_lib_free_pages() 412 if (runtime->dma_area) { _snd_pcm_lib_alloc_vmalloc_buffer() 415 vfree(runtime->dma_area); _snd_pcm_lib_alloc_vmalloc_buffer() 417 runtime->dma_area = __vmalloc(size, gfp_flags, PAGE_KERNEL); _snd_pcm_lib_alloc_vmalloc_buffer() 418 if (!runtime->dma_area) _snd_pcm_lib_alloc_vmalloc_buffer() 439 vfree(runtime->dma_area); snd_pcm_lib_free_vmalloc_buffer() 440 runtime->dma_area = NULL; snd_pcm_lib_free_vmalloc_buffer() 458 return vmalloc_to_page(substream->runtime->dma_area + offset); snd_pcm_lib_get_vmalloc_page()
|
H A D | pcm_lib.c | 116 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, ofs); snd_pcm_playback_silence() 131 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, ofs); snd_pcm_playback_silence() 1999 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); snd_pcm_lib_write_transfer() 2119 if (snd_BUG_ON(!substream->ops->copy && !runtime->dma_area)) pcm_sanity_check() 2174 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff); snd_pcm_lib_writev_transfer() 2221 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); snd_pcm_lib_read_transfer() 2383 hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff); snd_pcm_lib_readv_transfer()
|
H A D | pcm_native.c | 3335 void *vaddr = substream->runtime->dma_area + ofs; snd_pcm_default_page_ops() 3409 substream->runtime->dma_area, snd_pcm_lib_default_mmap() 3667 return (unsigned long)runtime->dma_area + offset; snd_pcm_get_unmapped_area()
|
/linux-4.4.14/drivers/media/usb/cx231xx/ |
H A D | cx231xx-audio.c | 146 memcpy(runtime->dma_area + oldptr * stride, cp, cx231xx_audio_isocirq() 148 memcpy(runtime->dma_area, cp + cnt * stride, cx231xx_audio_isocirq() 151 memcpy(runtime->dma_area + oldptr * stride, cp, cx231xx_audio_isocirq() 232 memcpy(runtime->dma_area + oldptr * stride, cp, cx231xx_audio_bulkirq() 234 memcpy(runtime->dma_area, cp + cnt * stride, cx231xx_audio_bulkirq() 237 memcpy(runtime->dma_area + oldptr * stride, cp, cx231xx_audio_bulkirq() 397 if (runtime->dma_area) { snd_pcm_alloc_vmalloc_buffer() 401 vfree(runtime->dma_area); snd_pcm_alloc_vmalloc_buffer() 403 runtime->dma_area = vmalloc(size); snd_pcm_alloc_vmalloc_buffer() 404 if (!runtime->dma_area) snd_pcm_alloc_vmalloc_buffer() 630 void *pageptr = subs->runtime->dma_area + offset; snd_pcm_get_vmalloc_page()
|
/linux-4.4.14/sound/usb/6fire/ |
H A D | pcm.h | 46 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */
|
H A D | pcm.c | 205 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off usb6fire_pcm_capture() 207 u32 *dest_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size usb6fire_pcm_capture() 236 dest = (u32 *) alsa_rt->dma_area; usb6fire_pcm_capture() 251 u32 *src = (u32 *) (alsa_rt->dma_area + sub->dma_off usb6fire_pcm_playback() 253 u32 *src_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size usb6fire_pcm_playback() 283 src = (u32 *) alsa_rt->dma_area; usb6fire_pcm_playback()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
H A D | cx23885-alsa.c | 378 if (substream->runtime->dma_area) { snd_cx23885_hw_params() 380 substream->runtime->dma_area = NULL; snd_cx23885_hw_params() 416 substream->runtime->dma_area = chip->buf->vaddr; snd_cx23885_hw_params() 436 if (substream->runtime->dma_area) { snd_cx23885_hw_free() 438 substream->runtime->dma_area = NULL; snd_cx23885_hw_free() 502 void *pageptr = substream->runtime->dma_area + offset; snd_cx23885_page()
|
/linux-4.4.14/drivers/media/usb/usbtv/ |
H A D | usbtv-audio.c | 147 memcpy(runtime->dma_area + buffer_pos * frame_bytes, usbtv_audio_urb_received() 149 memcpy(runtime->dma_area, urb_current + cnt, usbtv_audio_urb_received() 152 memcpy(runtime->dma_area + buffer_pos * frame_bytes, usbtv_audio_urb_received()
|
/linux-4.4.14/sound/usb/line6/ |
H A D | capture.c | 109 memcpy(runtime->dma_area + line6_capture_copy() 112 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, line6_capture_copy() 121 memcpy(runtime->dma_area + line6_capture_copy()
|
H A D | playback.c | 218 runtime->dma_area + submit_audio_out_urb() 222 len * bytes_per_frame, runtime->dma_area, submit_audio_out_urb() 229 runtime->dma_area + submit_audio_out_urb()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
H A D | em28xx-audio.c | 133 memcpy(runtime->dma_area + oldptr * stride, cp, em28xx_audio_isocirq() 135 memcpy(runtime->dma_area, cp + cnt * stride, em28xx_audio_isocirq() 138 memcpy(runtime->dma_area + oldptr * stride, cp, em28xx_audio_isocirq() 203 if (runtime->dma_area) { snd_pcm_alloc_vmalloc_buffer() 207 vfree(runtime->dma_area); snd_pcm_alloc_vmalloc_buffer() 209 runtime->dma_area = vmalloc(size); snd_pcm_alloc_vmalloc_buffer() 210 if (!runtime->dma_area) snd_pcm_alloc_vmalloc_buffer() 340 if (substream->runtime->dma_area) { snd_em28xx_pcm_close() 342 vfree(substream->runtime->dma_area); snd_em28xx_pcm_close() 343 substream->runtime->dma_area = NULL; snd_em28xx_pcm_close() 471 void *pageptr = subs->runtime->dma_area + offset; snd_pcm_get_vmalloc_page()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | f_uac2.c | 69 unsigned char *dma_area; member in struct:uac2_rtd_params 242 memcpy(req->buf, prm->dma_area + hw_ptr, pending); agdev_iso_complete() 243 memcpy(req->buf + pending, prm->dma_area, agdev_iso_complete() 246 memcpy(req->buf, prm->dma_area + hw_ptr, req->actual); agdev_iso_complete() 250 memcpy(prm->dma_area + hw_ptr, req->buf, pending); agdev_iso_complete() 251 memcpy(prm->dma_area, req->buf + pending, agdev_iso_complete() 254 memcpy(prm->dma_area + hw_ptr, req->buf, req->actual); agdev_iso_complete() 337 prm->dma_area = substream->runtime->dma_area; uac2_pcm_hw_params() 354 prm->dma_area = NULL; uac2_pcm_hw_free()
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
H A D | cx25821-alsa.c | 516 if (substream->runtime->dma_area) { snd_cx25821_hw_params() 518 substream->runtime->dma_area = NULL; snd_cx25821_hw_params() 559 substream->runtime->dma_area = chip->buf->vaddr; snd_cx25821_hw_params() 578 if (substream->runtime->dma_area) { snd_cx25821_hw_free() 580 substream->runtime->dma_area = NULL; snd_cx25821_hw_free() 644 void *pageptr = substream->runtime->dma_area + offset; snd_cx25821_page()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 473 if (substream->runtime->dma_area) { snd_cx88_hw_params() 475 substream->runtime->dma_area = NULL; snd_cx88_hw_params() 510 substream->runtime->dma_area = chip->buf->vaddr; snd_cx88_hw_params() 528 if (substream->runtime->dma_area) { snd_cx88_hw_free() 530 substream->runtime->dma_area = NULL; snd_cx88_hw_free() 595 void *pageptr = substream->runtime->dma_area + offset; snd_cx88_page()
|
/linux-4.4.14/sound/arm/ |
H A D | pxa2xx-pcm-lib.c | 145 runtime->dma_area, pxa2xx_pcm_mmap()
|
H A D | aaci.c | 552 aacirun->start = runtime->dma_area; aaci_pcm_prepare()
|
/linux-4.4.14/sound/soc/intel/haswell/ |
H A D | sst-haswell-pcm.c | 441 unsigned char *dma_area, size_t size, int pcm) create_adsp_page_table() 449 dma_area, size, pages); create_adsp_page_table() 613 ret = create_adsp_page_table(substream, pdata, rtd, runtime->dma_area, hsw_pcm_hw_params() 727 unsigned char *dma_area = runtime->dma_area; hsw_notify_pointer() local 741 if (dma_area == NULL || dma_frames <= 0 hsw_notify_pointer() 753 SST_OLD_POSITION(dma_area, hsw_notify_pointer() 763 SST_OLD_POSITION(dma_area, hsw_notify_pointer() 771 dma_area, samples); hsw_notify_pointer() 439 create_adsp_page_table(struct snd_pcm_substream *substream, struct hsw_priv_data *pdata, struct snd_soc_pcm_runtime *rtd, unsigned char *dma_area, size_t size, int pcm) create_adsp_page_table() argument
|
H A D | sst-haswell-ipc.c | 259 unsigned char *dma_area; member in struct:sst_hsw_log_stream
|
/linux-4.4.14/sound/usb/hiface/ |
H A D | pcm.c | 41 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */ 277 source = alsa_rt->dma_area + sub->dma_off; hiface_pcm_playback() 289 source = alsa_rt->dma_area + sub->dma_off; hiface_pcm_playback() 292 source = alsa_rt->dma_area; hiface_pcm_playback()
|
/linux-4.4.14/sound/pcmcia/vx/ |
H A D | vxp_ops.c | 369 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset); vxp_dma_write() 381 addr = (unsigned short *)runtime->dma_area; vxp_dma_write() 409 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset); vxp_dma_read() 421 addr = (unsigned short *)runtime->dma_area; vxp_dma_read()
|
/linux-4.4.14/sound/soc/fsl/ |
H A D | imx-pcm-fiq.c | 221 runtime->dma_area, runtime->dma_addr, runtime->dma_bytes); snd_imx_pcm_mmap() 224 runtime->dma_area, snd_imx_pcm_mmap()
|
/linux-4.4.14/sound/soc/sh/ |
H A D | dma-sh7760.c | 211 BRGREG(BRGATXSAR) = (unsigned long)runtime->dma_area; camelot_prepare() 214 BRGREG(BRGARXDAR) = (unsigned long)runtime->dma_area; camelot_prepare()
|
H A D | siu_pcm.c | 236 virt = PERIOD_OFFSET(rt->dma_area, siu_io_tasklet()
|
H A D | fsi.c | 1113 return runtime->dma_area + fsi_pio_get_area()
|
/linux-4.4.14/sound/usb/caiaq/ |
H A D | audio.c | 393 char *audio_buf = rt->dma_area; read_in_urb_mode0() 440 char *audio_buf = rt->dma_area; read_in_urb_mode2() 472 audio_buf = rt->dma_area; read_in_urb_mode3() 553 char *audio_buf = rt->dma_area; fill_out_urb_mode_0() 589 audio_buf = rt->dma_area; fill_out_urb_mode_3()
|
/linux-4.4.14/sound/soc/omap/ |
H A D | omap-pcm.c | 160 runtime->dma_area, omap_pcm_mmap()
|
/linux-4.4.14/sound/soc/txx9/ |
H A D | txx9aclc.c | 64 "runtime->dma_area = %#lx dma_addr = %#lx dma_bytes = %zd " txx9aclc_pcm_hw_params() 66 (unsigned long)runtime->dma_area, txx9aclc_pcm_hw_params()
|
/linux-4.4.14/sound/usb/ |
H A D | pcm.c | 1324 memcpy(runtime->dma_area + oldptr, cp, bytes1); retire_capture_urb() 1325 memcpy(runtime->dma_area, cp + bytes1, bytes - bytes1); retire_capture_urb() 1327 memcpy(runtime->dma_area + oldptr, cp, bytes); retire_capture_urb() 1344 u8 *src = runtime->dma_area; fill_playback_urb_dsd_dop() 1402 runtime->dma_area + subs->hwptr_done, bytes1); copy_to_urb() 1404 runtime->dma_area, bytes - bytes1); copy_to_urb() 1407 runtime->dma_area + subs->hwptr_done, bytes); copy_to_urb() 1511 buf[i] = bitrev8(runtime->dma_area[idx]); prepare_playback_urb()
|
/linux-4.4.14/sound/soc/atmel/ |
H A D | atmel-pcm-pdc.c | 276 "dma_area = %p, dma_bytes = %zu\n", atmel_pcm_trigger() 277 rtd->buffer_size, rtd->dma_area, rtd->dma_bytes); atmel_pcm_trigger()
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 699 if (substream->runtime->dma_area) { snd_card_saa7134_hw_params() 703 substream->runtime->dma_area = NULL; snd_card_saa7134_hw_params() 741 substream->runtime->dma_area = dev->dmasound.vaddr; snd_card_saa7134_hw_params() 766 if (substream->runtime->dma_area) { snd_card_saa7134_hw_free() 770 substream->runtime->dma_area = NULL; snd_card_saa7134_hw_free() 872 void *pageptr = substream->runtime->dma_area + offset; snd_card_saa7134_page()
|
/linux-4.4.14/sound/usb/usx2y/ |
H A D | usbusx2yaudio.c | 97 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, blen); usX2Y_urb_capt_retire() 98 memcpy(runtime->dma_area, cp + blen, len * usX2Y->stride - blen); usX2Y_urb_capt_retire() 100 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, usX2Y_urb_capt_retire() 159 memcpy(subs->tmpbuf, runtime->dma_area + usX2Y_urb_play_prepare() 162 runtime->dma_area, (count - len) * usX2Y->stride); usX2Y_urb_play_prepare() 167 urb->transfer_buffer = runtime->dma_area + subs->hwptr * usX2Y->stride; usX2Y_urb_play_prepare()
|
/linux-4.4.14/sound/pci/cs46xx/ |
H A D | cs46xx_lib.c | 883 memcpy(cpcm->hw_buf.area + rec->hw_data, runtime->dma_area + rec->sw_data, bytes); snd_cs46xx_pb_trans_copy() 899 memcpy(runtime->dma_area + rec->sw_data, snd_cs46xx_cp_trans_copy() 1135 if (runtime->dma_area != cpcm->hw_buf.area) snd_cs46xx_playback_hw_params() 1137 runtime->dma_area = cpcm->hw_buf.area; snd_cs46xx_playback_hw_params() 1159 if (runtime->dma_area == cpcm->hw_buf.area) { snd_cs46xx_playback_hw_params() 1160 runtime->dma_area = NULL; snd_cs46xx_playback_hw_params() 1208 if (runtime->dma_area != cpcm->hw_buf.area) snd_cs46xx_playback_hw_free() 1211 runtime->dma_area = NULL; snd_cs46xx_playback_hw_free() 1300 if (runtime->dma_area != chip->capt.hw_buf.area) snd_cs46xx_capture_hw_params() 1302 runtime->dma_area = chip->capt.hw_buf.area; snd_cs46xx_capture_hw_params() 1307 if (runtime->dma_area == chip->capt.hw_buf.area) { snd_cs46xx_capture_hw_params() 1308 runtime->dma_area = NULL; snd_cs46xx_capture_hw_params() 1325 if (runtime->dma_area != chip->capt.hw_buf.area) snd_cs46xx_capture_hw_free() 1327 runtime->dma_area = NULL; snd_cs46xx_capture_hw_free()
|
/linux-4.4.14/sound/isa/gus/ |
H A D | gus_pcm.c | 96 block.buffer = runtime->dma_area + offset; snd_gf1_pcm_block_change() 372 if (copy_from_user(runtime->dma_area + bpos, src, len)) snd_gf1_pcm_playback_copy() 382 if ((err = snd_gf1_pcm_poke_block(gus, runtime->dma_area + bpos, pcmp->memory + bpos, len, w16, invert)) < 0) snd_gf1_pcm_playback_copy() 403 snd_pcm_format_set_silence(runtime->format, runtime->dma_area + bpos, count); snd_gf1_pcm_playback_silence() 412 if ((err = snd_gf1_pcm_poke_block(gus, runtime->dma_area + bpos, pcmp->memory + bpos, len, w16, invert)) < 0) snd_gf1_pcm_playback_silence()
|
/linux-4.4.14/sound/isa/msnd/ |
H A D | msnd.c | 487 runtime->dma_area = chip->mappedbase; snd_msnd_playback_open() 591 runtime->dma_area = chip->mappedbase + 0x3000; snd_msnd_capture_open() 593 memset(runtime->dma_area, 0, runtime->dma_bytes); snd_msnd_capture_open()
|
/linux-4.4.14/sound/pci/emu10k1/ |
H A D | p16v.c | 357 "dma_addr=%x, dma_area=%p, table_base=%p\n", snd_p16v_pcm_prepare_playback() 358 runtime->dma_addr, runtime->dma_area, table_base); snd_p16v_pcm_prepare_playback() 360 "dma_addr=%x, dma_area=%p, dma_bytes(size)=%x\n", snd_p16v_pcm_prepare_playback()
|
H A D | emupcm.c | 1607 unsigned short *src = (unsigned short *)(substream->runtime->dma_area + rec->sw_data); fx8010_pb_trans_copy() 1665 dev_dbg(emu->card->dev, "prepare: etram_pages = 0x%p, dma_area = 0x%x, " snd_emu10k1_fx8010_playback_prepare() 1667 emu->fx8010.etram_pages, runtime->dma_area, snd_emu10k1_fx8010_playback_prepare()
|
/linux-4.4.14/sound/drivers/ |
H A D | aloop.c | 356 snd_pcm_format_set_silence(runtime->format, runtime->dma_area, loopback_prepare() 380 char *dst = runtime->dma_area; clear_capture_buf() 408 char *src = runtime->dma_area; copy_play_buf() 409 char *dst = capt->substream->runtime->dma_area; copy_play_buf()
|
H A D | ml403-ac97cr.c | 447 src = (u16 *)(substream->runtime->dma_area + rec->sw_data); snd_ml403_ac97cr_playback_ind2_copy() 504 dst = (u16 *)(substream->runtime->dma_area + rec->sw_data); snd_ml403_ac97cr_capture_ind2_copy()
|
/linux-4.4.14/sound/drivers/pcsp/ |
H A D | pcsp_lib.c | 63 val = runtime->dma_area[chip->playback_ptr + chip->fmt_size - 1]; pcsp_timer_update()
|
/linux-4.4.14/sound/drivers/vx/ |
H A D | vx_pcm.c | 64 unsigned char *buf = (unsigned char *)(runtime->dma_area + offset); vx_pcm_read_per_bytes() 68 buf = (unsigned char *)runtime->dma_area; vx_pcm_read_per_bytes() 73 buf = (unsigned char *)runtime->dma_area; vx_pcm_read_per_bytes() 78 buf = (unsigned char *)runtime->dma_area; vx_pcm_read_per_bytes()
|
/linux-4.4.14/sound/soc/nuc900/ |
H A D | nuc900-pcm.c | 271 runtime->dma_area, nuc900_dma_mmap()
|
/linux-4.4.14/sound/usb/misc/ |
H A D | ua101.c | 230 source = runtime->dma_area + stream->buffer_pos * frame_bytes; copy_playback_data() 238 runtime->dma_area, (frames - frames1) * frame_bytes); copy_playback_data() 334 dest = runtime->dma_area + stream->buffer_pos * frame_bytes; copy_capture_data() 341 memcpy(runtime->dma_area, copy_capture_data()
|
/linux-4.4.14/sound/pci/vx222/ |
H A D | vx222_ops.c | 263 u32 *addr = (u32 *)(runtime->dma_area + offset); vx2_dma_write() 281 addr = (u32 *)runtime->dma_area; vx2_dma_write() 301 u32 *addr = (u32 *)(runtime->dma_area + offset); vx2_dma_read() 317 addr = (u32 *)runtime->dma_area; vx2_dma_read()
|
/linux-4.4.14/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf_pcm.c | 186 chip->pcm_area = runtime->dma_area; pdacf_pcm_prepare()
|
/linux-4.4.14/sound/pci/ca0106/ |
H A D | ca0106_main.c | 785 "dma_addr=%x, dma_area=%p, table_base=%p\n", snd_ca0106_pcm_prepare_playback() 786 runtime->dma_addr, runtime->dma_area, table_base); snd_ca0106_pcm_prepare_playback() 788 "dma_addr=%x, dma_area=%p, dma_bytes(size)=%x\n", snd_ca0106_pcm_prepare_playback() 892 "dma_addr=%x, dma_area=%p, table_base=%p\n", snd_ca0106_pcm_prepare_capture() 893 runtime->dma_addr, runtime->dma_area, table_base); snd_ca0106_pcm_prepare_capture() 895 "dma_addr=%x, dma_area=%p, dma_bytes(size)=%x\n", snd_ca0106_pcm_prepare_capture()
|
/linux-4.4.14/drivers/staging/most/aim-sound/ |
H A D | sound.c | 197 channel->copy_fn(runtime->dma_area + channel->buffer_pos * frame_bytes, copy_data() 203 channel->copy_fn(runtime->dma_area, copy_data()
|
/linux-4.4.14/sound/mips/ |
H A D | hal2.c | 604 memcpy(buf, substream->runtime->dma_area + rec->sw_data, bytes); hal2_playback_transfer() 698 memcpy(substream->runtime->dma_area + rec->sw_data, buf, bytes); hal2_capture_transfer()
|
H A D | sgio2audio.c | 375 dst_base = runtime->dma_area; snd_sgio2audio_dma_pull_frag() 423 src_base = runtime->dma_area; snd_sgio2audio_dma_push_frag()
|
H A D | au1x00.c | 162 dma_start = virt_to_phys(runtime->dma_area); au1000_setup_dma_link()
|
/linux-4.4.14/sound/pci/aw2/ |
H A D | aw2-alsa.c | 564 runtime->dma_area, snd_aw2_pcm_pointer_playback() 583 runtime->dma_area, snd_aw2_pcm_pointer_capture()
|
/linux-4.4.14/sound/pci/ |
H A D | intel8x0.c | 950 fill_nocache(runtime->dma_area, runtime->dma_bytes, 0); /* clear */ snd_intel8x0_hw_params() 957 if (runtime->dma_area && ! ichdev->page_attr_changed) { snd_intel8x0_hw_params() 958 fill_nocache(runtime->dma_area, runtime->dma_bytes, 1); snd_intel8x0_hw_params() 989 fill_nocache(substream->runtime->dma_area, substream->runtime->dma_bytes, 0); snd_intel8x0_hw_free() 2670 if (runtime->dma_area) intel8x0_suspend() 2671 fill_nocache(runtime->dma_area, runtime->dma_bytes, 0); intel8x0_suspend() 2728 if (runtime->dma_area) intel8x0_resume() 2729 fill_nocache(runtime->dma_area, runtime->dma_bytes, 1); intel8x0_resume()
|
H A D | rme32.c | 663 runtime->dma_area = (void __force *)(rme32->iobase + snd_rme32_playback_hw_params() 718 runtime->dma_area = (void __force *)rme32->iobase + snd_rme32_capture_hw_params() 1145 substream->runtime->dma_area + rec->sw_data, bytes); snd_rme32_pb_trans_copy() 1169 memcpy_fromio(substream->runtime->dma_area + rec->sw_data, snd_rme32_cp_trans_copy()
|
H A D | es1938.c | 854 if (copy_to_user(dst, runtime->dma_area + pos + 1, count)) snd_es1938_capture_copy() 857 if (copy_to_user(dst, runtime->dma_area + pos + 1, count - 1)) snd_es1938_capture_copy() 859 if (put_user(runtime->dma_area[0], ((unsigned char __user *)dst) + count - 1)) snd_es1938_capture_copy()
|
H A D | rme96.c | 986 runtime->dma_area = (void __force *)(rme96->iobase + snd_rme96_playback_hw_params() 1048 runtime->dma_area = (void __force *)(rme96->iobase + snd_rme96_capture_hw_params()
|
H A D | cmipci.c | 1340 if (rec->needs_silencing && runtime && runtime->dma_area) { snd_cmipci_silence_hack() 1342 memset(runtime->dma_area, 0, PAGE_SIZE); snd_cmipci_silence_hack()
|
/linux-4.4.14/sound/soc/intel/atom/ |
H A D | sst-mfld-platform-pcm.c | 243 substream->runtime->dma_area = substream->dma_buffer.area; sst_platform_alloc_stream() 402 memset(substream->runtime->dma_area, 0, params_buffer_bytes(params)); sst_media_hw_params()
|
/linux-4.4.14/sound/ppc/ |
H A D | snd_ps3.c | 622 runtime->dma_area; snd_ps3_pcm_prepare() 628 runtime->dma_area + (runtime->dma_bytes / 2); snd_ps3_pcm_prepare()
|
/linux-4.4.14/sound/pci/trident/ |
H A D | trident_memory.c | 263 ptr = (unsigned long)runtime->dma_area; snd_trident_alloc_cont_pages()
|
/linux-4.4.14/include/sound/ |
H A D | pcm.h | 410 unsigned char *dma_area; /* DMA area */ member in struct:snd_pcm_runtime 1111 runtime->dma_area = bufp->area; snd_pcm_set_runtime_buffer() 1116 runtime->dma_area = NULL; snd_pcm_set_runtime_buffer()
|
/linux-4.4.14/drivers/gpu/drm/bridge/ |
H A D | dw_hdmi-ahb-audio.c | 466 dw->buf_src = runtime->dma_area; dw_hdmi_prepare()
|
/linux-4.4.14/sound/isa/sb/ |
H A D | sb8_main.c | 172 runtime->dma_area[0] = 0x80; snd_sb8_playback_prepare()
|
/linux-4.4.14/sound/pci/asihpi/ |
H A D | asihpi.c | 635 &runtime->dma_area[0], snd_pcm_group_for_each_entry() 888 char *pd = &s->runtime->dma_area[buf_ofs]; snd_pcm_group_for_each_entry() 907 pd = s->runtime->dma_area; snd_pcm_group_for_each_entry() 926 pd = s->runtime->dma_area; snd_pcm_group_for_each_entry()
|
/linux-4.4.14/sound/soc/qcom/ |
H A D | lpass-platform.c | 344 runtime->dma_area, runtime->dma_addr, lpass_platform_pcmops_mmap()
|
/linux-4.4.14/sound/soc/xtensa/ |
H A D | xtfpga-i2s.c | 138 (void *)runtime->dma_area; \
|
/linux-4.4.14/sound/sh/ |
H A D | aica.c | 249 (unsigned long) (runtime->dma_area + aica_dma_transfer()
|
/linux-4.4.14/sound/sparc/ |
H A D | amd7930.c | 594 amd->p_orig = amd->p_cur = runtime->dma_area; snd_amd7930_playback_prepare() 626 amd->c_orig = amd->c_cur = runtime->dma_area; snd_amd7930_capture_prepare()
|
H A D | cs4231.c | 1150 snd_free_pages(runtime->dma_area, runtime->dma_bytes); snd_cs4231_playback_open() 1171 snd_free_pages(runtime->dma_area, runtime->dma_bytes); snd_cs4231_capture_open()
|
H A D | dbri.c | 2106 runtime->dma_area, snd_dbri_hw_params()
|
/linux-4.4.14/sound/parisc/ |
H A D | harmony.c | 588 ss->runtime->dma_addr = __pa(ss->runtime->dma_area); snd_harmony_hw_params()
|
/linux-4.4.14/sound/soc/sh/rcar/ |
H A D | ssi.c | 444 u32 *buf = (u32 *)(runtime->dma_area + __rsnd_ssi_interrupt()
|
/linux-4.4.14/sound/isa/wss/ |
H A D | wss_lib.c | 1534 snd_free_pages(runtime->dma_area, runtime->dma_bytes); snd_wss_playback_open() 1575 snd_free_pages(runtime->dma_area, runtime->dma_bytes); snd_wss_capture_open()
|
/linux-4.4.14/sound/pci/rme9652/ |
H A D | rme9652.c | 2271 runtime->dma_area = rme9652->playback_buffer; snd_rme9652_playback_open() 2331 runtime->dma_area = rme9652->capture_buffer; snd_rme9652_capture_open()
|
H A D | hdsp.c | 4435 runtime->dma_area = hdsp->playback_buffer; snd_hdsp_playback_open() 4512 runtime->dma_area = hdsp->capture_buffer; snd_hdsp_capture_open()
|
H A D | hdspm.c | 5600 (unsigned char *) substream->runtime->dma_area; snd_hdspm_hw_params() 5612 (unsigned char *) substream->runtime->dma_area; snd_hdspm_hw_params()
|
/linux-4.4.14/sound/core/oss/ |
H A D | pcm_oss.c | 1073 if (runtime->dma_area) snd_pcm_oss_change_params() 1074 snd_pcm_format_set_silence(runtime->format, runtime->dma_area, bytes_to_samples(runtime, runtime->dma_bytes)); snd_pcm_oss_change_params()
|
/linux-4.4.14/sound/pci/nm256/ |
H A D | nm256.c | 846 runtime->dma_area = (void __force *) s->bufptr; snd_nm256_setup_stream()
|