Home
last modified time | relevance | path

Searched refs:dma_area (Results 1 – 25 of 71) sorted by relevance

123

/sound/soc/au1x/
Ddbdma2.c49 dma_addr_t dma_area; /* address of queued DMA area */ member
80 au1xxx_dbdma_put_source(cd->ddma_chan, cd->dma_area, in au1x_pcm_queue_tx()
85 cd->dma_area += cd->period_bytes; in au1x_pcm_queue_tx()
88 cd->dma_area = cd->dma_area_s; in au1x_pcm_queue_tx()
94 au1xxx_dbdma_put_dest(cd->ddma_chan, cd->dma_area, in au1x_pcm_queue_rx()
99 cd->dma_area += cd->period_bytes; in au1x_pcm_queue_rx()
102 cd->dma_area = cd->dma_area_s; in au1x_pcm_queue_rx()
205 (unsigned long)runtime->dma_area, in au1xpsc_pcm_hw_params()
221 pcd->dma_area_s = pcd->dma_area = runtime->dma_addr; in au1xpsc_pcm_hw_params()
/sound/soc/bcm/
Dbcm63xx-pcm-whistler.c18 unsigned char *dma_area; member
153 dma_desc->dma_area = runtime->dma_area; in bcm63xx_pcm_prepare()
271 dma_desc->dma_area += in i2s_dma_isr()
276 dma_desc->dma_area = runtime->dma_area; in i2s_dma_isr()
320 dma_desc->dma_area += in i2s_dma_isr()
326 dma_desc->dma_area = runtime->dma_area; in i2s_dma_isr()
/sound/core/
Dpcm_memory.c482 if (runtime->dma_area == NULL) in snd_pcm_lib_free_pages()
504 if (runtime->dma_area) { in _snd_pcm_lib_alloc_vmalloc_buffer()
507 vfree(runtime->dma_area); in _snd_pcm_lib_alloc_vmalloc_buffer()
509 runtime->dma_area = __vmalloc(size, gfp_flags); in _snd_pcm_lib_alloc_vmalloc_buffer()
510 if (!runtime->dma_area) in _snd_pcm_lib_alloc_vmalloc_buffer()
531 vfree(runtime->dma_area); in snd_pcm_lib_free_vmalloc_buffer()
532 runtime->dma_area = NULL; in snd_pcm_lib_free_vmalloc_buffer()
550 return vmalloc_to_page(substream->runtime->dma_area + offset); in snd_pcm_lib_get_vmalloc_page()
/sound/firewire/fireface/
Damdtp-ff.c45 src = (void *)runtime->dma_area + in write_pcm_s32()
56 src = (void *)runtime->dma_area; in write_pcm_s32()
75 dst = (void *)runtime->dma_area + in read_pcm_s32()
86 dst = (void *)runtime->dma_area; in read_pcm_s32()
/sound/firewire/tascam/
Damdtp-tascam.c50 src = (void *)runtime->dma_area + in write_pcm_s32()
61 src = (void *)runtime->dma_area; in write_pcm_s32()
80 dst = (void *)runtime->dma_area + in read_pcm_s32()
94 dst = (void *)runtime->dma_area; in read_pcm_s32()
/sound/firewire/digi00x/
Damdtp-dot.c160 src = (void *)runtime->dma_area + in write_pcm_s32()
173 src = (void *)runtime->dma_area; in write_pcm_s32()
192 dst = (void *)runtime->dma_area + in read_pcm_s32()
204 dst = (void *)runtime->dma_area; in read_pcm_s32()
/sound/firewire/
Damdtp-am824.c165 src = (void *)runtime->dma_area + in write_pcm_s32()
177 src = (void *)runtime->dma_area; in write_pcm_s32()
196 dst = (void *)runtime->dma_area + in read_pcm_s32()
207 dst = (void *)runtime->dma_area; in read_pcm_s32()
Disight.c119 memcpy(runtime->dma_area + isight->buffer_pointer * 4, in isight_samples()
123 memcpy(runtime->dma_area + isight->buffer_pointer * 4, in isight_samples()
126 memcpy(runtime->dma_area, samples, (count - count1) * 4); in isight_samples()
151 memset(runtime->dma_area + isight->buffer_pointer * 4, in isight_dropped_samples()
155 memset(runtime->dma_area + isight->buffer_pointer * 4, in isight_dropped_samples()
157 memset(runtime->dma_area, 0, (dropped - count1) * 4); in isight_dropped_samples()
/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.c139 substream->runtime->dma_area, in mtk_afe_fe_hw_params()
142 memset_io((void __force __iomem *)substream->runtime->dma_area, 0, in mtk_afe_fe_hw_params()
147 substream->runtime->dma_area, in mtk_afe_fe_hw_params()
403 unsigned char *dma_area, in mtk_memif_set_addr() argument
412 memif->dma_area = dma_area; in mtk_memif_set_addr()
Dmtk-afe-fe-dai.h40 unsigned char *dma_area,
Dmtk-base-afe.h128 unsigned char *dma_area; member
/sound/usb/6fire/
Dpcm.c201 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_capture()
203 u32 *dest_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_capture()
232 dest = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_capture()
247 u32 *src = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_playback()
249 u32 *src_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_playback()
279 src = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_playback()
/sound/usb/line6/
Dcapture.c107 memcpy(runtime->dma_area + in line6_capture_copy()
110 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy()
119 memcpy(runtime->dma_area + in line6_capture_copy()
Dplayback.c219 runtime->dma_area + in submit_audio_out_urb()
223 len * bytes_per_frame, runtime->dma_area, in submit_audio_out_urb()
230 runtime->dma_area + in submit_audio_out_urb()
/sound/soc/sof/
Dcompress.c133 ptr = rtd->dma_area + offset; in sof_probe_compr_copy()
140 ret += copy_to_user(buf + n, rtd->dma_area, count - n); in sof_probe_compr_copy()
/sound/firewire/motu/
Damdtp-motu.c109 dst = (void *)runtime->dma_area + in read_pcm_s32()
125 dst = (void *)runtime->dma_area; in read_pcm_s32()
145 src = (void *)runtime->dma_area + in write_pcm_s32()
162 src = (void *)runtime->dma_area; in write_pcm_s32()
/sound/pcmcia/vx/
Dvxp_ops.c358 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset); in vxp_dma_write()
370 addr = (unsigned short *)runtime->dma_area; in vxp_dma_write()
398 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset); in vxp_dma_read()
410 addr = (unsigned short *)runtime->dma_area; in vxp_dma_read()
/sound/usb/usx2y/
Dusbusx2yaudio.c85 memcpy(runtime->dma_area + hwptr_done * usx2y->stride, cp, blen); in usx2y_urb_capt_retire()
86 memcpy(runtime->dma_area, cp + blen, len * usx2y->stride - blen); in usx2y_urb_capt_retire()
88 memcpy(runtime->dma_area + hwptr_done * usx2y->stride, cp, in usx2y_urb_capt_retire()
148 memcpy(subs->tmpbuf, runtime->dma_area + in usx2y_urb_play_prepare()
151 runtime->dma_area, (count - len) * usx2y->stride); in usx2y_urb_play_prepare()
156 urb->transfer_buffer = runtime->dma_area + subs->hwptr * usx2y->stride; in usx2y_urb_play_prepare()
/sound/soc/codecs/
Drt5514-spi.c121 runtime->dma_area + rt5514_dsp->dma_offset, in rt5514_spi_copy_work()
131 runtime->dma_area + rt5514_dsp->dma_offset, in rt5514_spi_copy_work()
135 runtime->dma_area + rt5514_dsp->dma_offset + in rt5514_spi_copy_work()
/sound/soc/dwc/
Ddwc-pcm.c29 const u##sample_bits (*p)[2] = (void *)runtime->dma_area; \
49 u##sample_bits (*p)[2] = (void *)runtime->dma_area; \
/sound/usb/caiaq/
Daudio.c369 char *audio_buf = rt->dma_area; in read_in_urb_mode0()
416 char *audio_buf = rt->dma_area; in read_in_urb_mode2()
448 audio_buf = rt->dma_area; in read_in_urb_mode3()
529 char *audio_buf = rt->dma_area; in fill_out_urb_mode_0()
565 audio_buf = rt->dma_area; in fill_out_urb_mode_3()
/sound/soc/sh/
Ddma-sh7760.c202 BRGREG(BRGATXSAR) = (unsigned long)runtime->dma_area; in camelot_prepare()
205 BRGREG(BRGARXDAR) = (unsigned long)runtime->dma_area; in camelot_prepare()
/sound/pci/vx222/
Dvx222_ops.c250 u32 *addr = (u32 *)(runtime->dma_area + offset); in vx2_dma_write()
268 addr = (u32 *)runtime->dma_area; in vx2_dma_write()
288 u32 *addr = (u32 *)(runtime->dma_area + offset); in vx2_dma_read()
304 addr = (u32 *)runtime->dma_area; in vx2_dma_read()
/sound/usb/hiface/
Dpcm.c271 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
283 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback()
286 source = alsa_rt->dma_area; in hiface_pcm_playback()
/sound/usb/
Dpcm.c1260 memcpy(runtime->dma_area + oldptr, cp, bytes1); in retire_capture_urb()
1261 memcpy(runtime->dma_area, cp + bytes1, bytes - bytes1); in retire_capture_urb()
1263 memcpy(runtime->dma_area + oldptr, cp, bytes); in retire_capture_urb()
1291 u8 *src = runtime->dma_area; in fill_playback_urb_dsd_dop()
1344 const u8 *src = runtime->dma_area; in fill_playback_urb_dsd_bitrev()
1367 runtime->dma_area + subs->hwptr_done, bytes1); in copy_to_urb()
1369 runtime->dma_area, bytes - bytes1); in copy_to_urb()
1372 runtime->dma_area + subs->hwptr_done, bytes); in copy_to_urb()

123