Searched refs:dma_area (Results 1 - 89 of 89) sorted by relevance

/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-alsa-pcm.c110 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 Divtv-alsa-pcm.c111 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 Dcobalt-alsa-pcm.c150 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 Ddbdma2.c51 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 Ddma.c70 dma_start = virt_to_phys(runtime->dma_area); au1000_setup_dma_link()
/linux-4.4.14/sound/firewire/tascam/
H A Damdtp-tascam.c50 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 Dtm6000-alsa.c111 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 Dbf5xx-i2s-pcm.c101 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 Dbf5xx-ac97-pcm.c63 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 Dsnd-go7007.c88 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 Damdtp-am824.c164 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 Disight.c119 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 Damdtp-dot.c163 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 Dpcm_memory.c391 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 Dpcm_lib.c116 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 Dpcm_native.c3335 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 Dcx231xx-audio.c146 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 Dpcm.h46 snd_pcm_uframes_t dma_off; /* current position in alsa dma_area */
H A Dpcm.c205 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 Dcx23885-alsa.c378 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 Dusbtv-audio.c147 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 Dcapture.c109 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 Dplayback.c218 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 Dem28xx-audio.c133 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 Df_uac2.c69 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 Dcx25821-alsa.c516 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 Dcx88-alsa.c473 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 Dpxa2xx-pcm-lib.c145 runtime->dma_area, pxa2xx_pcm_mmap()
H A Daaci.c552 aacirun->start = runtime->dma_area; aaci_pcm_prepare()
/linux-4.4.14/sound/soc/intel/haswell/
H A Dsst-haswell-pcm.c441 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 Dsst-haswell-ipc.c259 unsigned char *dma_area; member in struct:sst_hsw_log_stream
/linux-4.4.14/sound/usb/hiface/
H A Dpcm.c41 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 Dvxp_ops.c369 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 Dimx-pcm-fiq.c221 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 Ddma-sh7760.c211 BRGREG(BRGATXSAR) = (unsigned long)runtime->dma_area; camelot_prepare()
214 BRGREG(BRGARXDAR) = (unsigned long)runtime->dma_area; camelot_prepare()
H A Dsiu_pcm.c236 virt = PERIOD_OFFSET(rt->dma_area, siu_io_tasklet()
H A Dfsi.c1113 return runtime->dma_area + fsi_pio_get_area()
/linux-4.4.14/sound/usb/caiaq/
H A Daudio.c393 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 Domap-pcm.c160 runtime->dma_area, omap_pcm_mmap()
/linux-4.4.14/sound/soc/txx9/
H A Dtxx9aclc.c64 "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 Dpcm.c1324 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 Datmel-pcm-pdc.c276 "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 Dsaa7134-alsa.c699 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 Dusbusx2yaudio.c97 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 Dcs46xx_lib.c883 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 Dgus_pcm.c96 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 Dmsnd.c487 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 Dp16v.c357 "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 Demupcm.c1607 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 Daloop.c356 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 Dml403-ac97cr.c447 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 Dpcsp_lib.c63 val = runtime->dma_area[chip->playback_ptr + chip->fmt_size - 1]; pcsp_timer_update()
/linux-4.4.14/sound/drivers/vx/
H A Dvx_pcm.c64 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 Dnuc900-pcm.c271 runtime->dma_area, nuc900_dma_mmap()
/linux-4.4.14/sound/usb/misc/
H A Dua101.c230 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 Dvx222_ops.c263 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 Dpdaudiocf_pcm.c186 chip->pcm_area = runtime->dma_area; pdacf_pcm_prepare()
/linux-4.4.14/sound/pci/ca0106/
H A Dca0106_main.c785 "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 Dsound.c197 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 Dhal2.c604 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 Dsgio2audio.c375 dst_base = runtime->dma_area; snd_sgio2audio_dma_pull_frag()
423 src_base = runtime->dma_area; snd_sgio2audio_dma_push_frag()
H A Dau1x00.c162 dma_start = virt_to_phys(runtime->dma_area); au1000_setup_dma_link()
/linux-4.4.14/sound/pci/aw2/
H A Daw2-alsa.c564 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 Dintel8x0.c950 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 Drme32.c663 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 Des1938.c854 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 Drme96.c986 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 Dcmipci.c1340 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 Dsst-mfld-platform-pcm.c243 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 Dsnd_ps3.c622 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 Dtrident_memory.c263 ptr = (unsigned long)runtime->dma_area; snd_trident_alloc_cont_pages()
/linux-4.4.14/include/sound/
H A Dpcm.h410 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 Ddw_hdmi-ahb-audio.c466 dw->buf_src = runtime->dma_area; dw_hdmi_prepare()
/linux-4.4.14/sound/isa/sb/
H A Dsb8_main.c172 runtime->dma_area[0] = 0x80; snd_sb8_playback_prepare()
/linux-4.4.14/sound/pci/asihpi/
H A Dasihpi.c635 &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 Dlpass-platform.c344 runtime->dma_area, runtime->dma_addr, lpass_platform_pcmops_mmap()
/linux-4.4.14/sound/soc/xtensa/
H A Dxtfpga-i2s.c138 (void *)runtime->dma_area; \
/linux-4.4.14/sound/sh/
H A Daica.c249 (unsigned long) (runtime->dma_area + aica_dma_transfer()
/linux-4.4.14/sound/sparc/
H A Damd7930.c594 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 Dcs4231.c1150 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 Ddbri.c2106 runtime->dma_area, snd_dbri_hw_params()
/linux-4.4.14/sound/parisc/
H A Dharmony.c588 ss->runtime->dma_addr = __pa(ss->runtime->dma_area); snd_harmony_hw_params()
/linux-4.4.14/sound/soc/sh/rcar/
H A Dssi.c444 u32 *buf = (u32 *)(runtime->dma_area + __rsnd_ssi_interrupt()
/linux-4.4.14/sound/isa/wss/
H A Dwss_lib.c1534 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 Drme9652.c2271 runtime->dma_area = rme9652->playback_buffer; snd_rme9652_playback_open()
2331 runtime->dma_area = rme9652->capture_buffer; snd_rme9652_capture_open()
H A Dhdsp.c4435 runtime->dma_area = hdsp->playback_buffer; snd_hdsp_playback_open()
4512 runtime->dma_area = hdsp->capture_buffer; snd_hdsp_capture_open()
H A Dhdspm.c5600 (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 Dpcm_oss.c1073 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 Dnm256.c846 runtime->dma_area = (void __force *) s->bufptr; snd_nm256_setup_stream()

Completed in 3304 milliseconds