/sound/soc/au1x/ |
D | dbdma2.c | 51 dma_addr_t dma_area; /* address of queued DMA area */ member 91 au1xxx_dbdma_put_source(cd->ddma_chan, cd->dma_area, in au1x_pcm_queue_tx() 96 cd->dma_area += cd->period_bytes; in au1x_pcm_queue_tx() 99 cd->dma_area = cd->dma_area_s; in au1x_pcm_queue_tx() 105 au1xxx_dbdma_put_dest(cd->ddma_chan, cd->dma_area, in au1x_pcm_queue_rx() 110 cd->dma_area += cd->period_bytes; in au1x_pcm_queue_rx() 113 cd->dma_area = cd->dma_area_s; in au1x_pcm_queue_rx() 220 (unsigned long)runtime->dma_area, in au1xpsc_pcm_hw_params() 236 pcd->dma_area_s = pcd->dma_area = runtime->dma_addr; in au1xpsc_pcm_hw_params()
|
/sound/core/ |
D | pcm_memory.c | 403 if (runtime->dma_area == NULL) in snd_pcm_lib_free_pages() 424 if (runtime->dma_area) { in _snd_pcm_lib_alloc_vmalloc_buffer() 427 vfree(runtime->dma_area); in _snd_pcm_lib_alloc_vmalloc_buffer() 429 runtime->dma_area = __vmalloc(size, gfp_flags, PAGE_KERNEL); in _snd_pcm_lib_alloc_vmalloc_buffer() 430 if (!runtime->dma_area) in _snd_pcm_lib_alloc_vmalloc_buffer() 451 vfree(runtime->dma_area); in snd_pcm_lib_free_vmalloc_buffer() 452 runtime->dma_area = NULL; in snd_pcm_lib_free_vmalloc_buffer() 470 return vmalloc_to_page(substream->runtime->dma_area + offset); in snd_pcm_lib_get_vmalloc_page()
|
D | pcm_lib.c | 107 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, ofs); in snd_pcm_playback_silence() 122 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, ofs); in snd_pcm_playback_silence() 1966 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); in snd_pcm_lib_write_transfer() 2086 if (snd_BUG_ON(!substream->ops->copy && !runtime->dma_area)) in pcm_sanity_check() 2141 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff); in snd_pcm_lib_writev_transfer() 2188 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); in snd_pcm_lib_read_transfer() 2350 hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff); in snd_pcm_lib_readv_transfer()
|
/sound/soc/blackfin/ |
D | bf5xx-ac97-pcm.c | 64 sport->tx_pos, (__u16 *)runtime->dma_area + sport->tx_pos * in bf5xx_mmap_copy() 72 sport->rx_pos, (__u16 *)runtime->dma_area + sport->rx_pos * in bf5xx_mmap_copy() 139 if (runtime->dma_area) in bf5xx_pcm_hw_free() 140 memset(runtime->dma_area, 0, runtime->buffer_size); in bf5xx_pcm_hw_free() 172 sport_config_tx_dma(sport, runtime->dma_area, runtime->periods, in bf5xx_pcm_prepare() 176 sport_config_rx_dma(sport, runtime->dma_area, runtime->periods, in bf5xx_pcm_prepare() 278 vma->vm_start = (unsigned long)runtime->dma_area; in bf5xx_pcm_mmap() 294 bf5xx_pcm_to_ac97((struct ac97_frame *)runtime->dma_area + pos, in bf5xx_pcm_copy() 297 bf5xx_ac97_to_pcm((struct ac97_frame *)runtime->dma_area + pos, in bf5xx_pcm_copy()
|
D | bf5xx-tdm-pcm.c | 99 sport_config_tx_dma(sport, runtime->dma_area, in bf5xx_pcm_prepare() 103 sport_config_rx_dma(sport, runtime->dma_area, in bf5xx_pcm_prepare() 199 dst = (unsigned int *)substream->runtime->dma_area; in bf5xx_pcm_copy() 208 src = (unsigned int *)substream->runtime->dma_area; in bf5xx_pcm_copy() 225 unsigned char *buf = substream->runtime->dma_area; in bf5xx_pcm_silence()
|
D | bf5xx-i2s-pcm.c | 92 sport_config_tx_dma(sport, runtime->dma_area, in bf5xx_pcm_prepare() 96 sport_config_rx_dma(sport, runtime->dma_area, in bf5xx_pcm_prepare() 198 vma->vm_start = (unsigned long)runtime->dma_area; in bf5xx_pcm_mmap()
|
/sound/soc/fsl/ |
D | imx-pcm.c | 26 runtime->dma_area, runtime->dma_addr, runtime->dma_bytes); in snd_imx_pcm_mmap() 29 runtime->dma_area, in snd_imx_pcm_mmap()
|
/sound/usb/6fire/ |
D | pcm.c | 202 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_capture() 204 u32 *dest_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_capture() 233 dest = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_capture() 248 u32 *src = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_playback() 250 u32 *src_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_playback() 280 src = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_playback()
|
/sound/firewire/ |
D | isight.c | 119 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() 157 memset(runtime->dma_area + isight->buffer_pointer * 4, in isight_dropped_samples() 161 memset(runtime->dma_area + isight->buffer_pointer * 4, in isight_dropped_samples() 163 memset(runtime->dma_area, 0, (dropped - count1) * 4); in isight_dropped_samples()
|
D | amdtp.c | 270 src = (void *)runtime->dma_area + in amdtp_write_s32() 283 src = (void *)runtime->dma_area; in amdtp_write_s32() 296 src = (void *)runtime->dma_area + in amdtp_write_s16() 309 src = (void *)runtime->dma_area; in amdtp_write_s16()
|
/sound/pcmcia/vx/ |
D | vxp_ops.c | 369 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset); in vxp_dma_write() 381 addr = (unsigned short *)runtime->dma_area; in vxp_dma_write() 409 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset); in vxp_dma_read() 421 addr = (unsigned short *)runtime->dma_area; in vxp_dma_read()
|
/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 97 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, blen); in usX2Y_urb_capt_retire() 98 memcpy(runtime->dma_area, cp + blen, len * usX2Y->stride - blen); in usX2Y_urb_capt_retire() 100 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, in usX2Y_urb_capt_retire() 159 memcpy(subs->tmpbuf, runtime->dma_area + in usX2Y_urb_play_prepare() 162 runtime->dma_area, (count - len) * usX2Y->stride); in usX2Y_urb_play_prepare() 167 urb->transfer_buffer = runtime->dma_area + subs->hwptr * usX2Y->stride; in usX2Y_urb_play_prepare()
|
/sound/usb/ |
D | pcm.c | 1213 memcpy(runtime->dma_area + oldptr, cp, bytes1); in retire_capture_urb() 1214 memcpy(runtime->dma_area, cp + bytes1, bytes - bytes1); in retire_capture_urb() 1216 memcpy(runtime->dma_area + oldptr, cp, bytes); in retire_capture_urb() 1233 u8 *src = runtime->dma_area; in fill_playback_urb_dsd_dop() 1346 buf[i] = bitrev8(runtime->dma_area[idx]); in prepare_playback_urb() 1357 runtime->dma_area + subs->hwptr_done, bytes1); in prepare_playback_urb() 1359 runtime->dma_area, bytes - bytes1); in prepare_playback_urb() 1362 runtime->dma_area + subs->hwptr_done, bytes); in prepare_playback_urb()
|
/sound/pci/vx222/ |
D | vx222_ops.c | 258 u32 *addr = (u32 *)(runtime->dma_area + offset); in vx2_dma_write() 276 addr = (u32 *)runtime->dma_area; in vx2_dma_write() 296 u32 *addr = (u32 *)(runtime->dma_area + offset); in vx2_dma_read() 312 addr = (u32 *)runtime->dma_area; in vx2_dma_read()
|
/sound/soc/sh/ |
D | dma-sh7760.c | 228 BRGREG(BRGATXSAR) = (unsigned long)runtime->dma_area; in camelot_prepare() 231 BRGREG(BRGARXDAR) = (unsigned long)runtime->dma_area; in camelot_prepare()
|
/sound/usb/caiaq/ |
D | audio.c | 390 char *audio_buf = rt->dma_area; in read_in_urb_mode0() 437 char *audio_buf = rt->dma_area; in read_in_urb_mode2() 469 audio_buf = rt->dma_area; in read_in_urb_mode3() 550 char *audio_buf = rt->dma_area; in fill_out_urb_mode_0() 586 audio_buf = rt->dma_area; in fill_out_urb_mode_3()
|
/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 697 memcpy(cpcm->hw_buf.area + rec->hw_data, runtime->dma_area + rec->sw_data, bytes); in snd_cs46xx_pb_trans_copy() 713 memcpy(runtime->dma_area + rec->sw_data, in snd_cs46xx_cp_trans_copy() 946 if (runtime->dma_area != cpcm->hw_buf.area) in snd_cs46xx_playback_hw_params() 948 runtime->dma_area = cpcm->hw_buf.area; in snd_cs46xx_playback_hw_params() 970 if (runtime->dma_area == cpcm->hw_buf.area) { in snd_cs46xx_playback_hw_params() 971 runtime->dma_area = NULL; in snd_cs46xx_playback_hw_params() 1019 if (runtime->dma_area != cpcm->hw_buf.area) in snd_cs46xx_playback_hw_free() 1022 runtime->dma_area = NULL; in snd_cs46xx_playback_hw_free() 1111 if (runtime->dma_area != chip->capt.hw_buf.area) in snd_cs46xx_capture_hw_params() 1113 runtime->dma_area = chip->capt.hw_buf.area; in snd_cs46xx_capture_hw_params() [all …]
|
/sound/isa/gus/ |
D | gus_pcm.c | 96 block.buffer = runtime->dma_area + offset; in snd_gf1_pcm_block_change() 372 if (copy_from_user(runtime->dma_area + bpos, src, len)) in snd_gf1_pcm_playback_copy() 382 …if ((err = snd_gf1_pcm_poke_block(gus, runtime->dma_area + bpos, pcmp->memory + bpos, len, w16, in… in snd_gf1_pcm_playback_copy() 403 snd_pcm_format_set_silence(runtime->format, runtime->dma_area + bpos, count); in snd_gf1_pcm_playback_silence() 412 …if ((err = snd_gf1_pcm_poke_block(gus, runtime->dma_area + bpos, pcmp->memory + bpos, len, w16, in… in snd_gf1_pcm_playback_silence()
|
/sound/isa/msnd/ |
D | msnd.c | 487 runtime->dma_area = chip->mappedbase; in snd_msnd_playback_open() 591 runtime->dma_area = chip->mappedbase + 0x3000; in snd_msnd_capture_open() 593 memset(runtime->dma_area, 0, runtime->dma_bytes); in snd_msnd_capture_open()
|
/sound/drivers/vx/ |
D | vx_pcm.c | 64 unsigned char *buf = (unsigned char *)(runtime->dma_area + offset); in vx_pcm_read_per_bytes() 68 buf = (unsigned char *)runtime->dma_area; in vx_pcm_read_per_bytes() 73 buf = (unsigned char *)runtime->dma_area; in vx_pcm_read_per_bytes() 78 buf = (unsigned char *)runtime->dma_area; in vx_pcm_read_per_bytes()
|
/sound/soc/spear/ |
D | spear_pcm.c | 77 runtime->dma_area, runtime->dma_addr, in spear_pcm_mmap()
|
/sound/soc/cirrus/ |
D | ep93xx-pcm.c | 97 runtime->dma_area, in ep93xx_pcm_mmap()
|
/sound/soc/omap/ |
D | omap-pcm.c | 132 runtime->dma_area, in omap_pcm_mmap()
|
/sound/pci/aw2/ |
D | aw2-alsa.c | 568 runtime->dma_area, in snd_aw2_pcm_pointer_playback() 587 runtime->dma_area, in snd_aw2_pcm_pointer_capture()
|
/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_pcm.c | 186 chip->pcm_area = runtime->dma_area; in pdacf_pcm_prepare()
|