/sound/soc/au1x/ |
D | dbdma2.c | 51 dma_addr_t dma_area; /* address of queued DMA area */ member 82 au1xxx_dbdma_put_source(cd->ddma_chan, cd->dma_area, in au1x_pcm_queue_tx() 87 cd->dma_area += cd->period_bytes; in au1x_pcm_queue_tx() 90 cd->dma_area = cd->dma_area_s; in au1x_pcm_queue_tx() 96 au1xxx_dbdma_put_dest(cd->ddma_chan, cd->dma_area, in au1x_pcm_queue_rx() 101 cd->dma_area += cd->period_bytes; in au1x_pcm_queue_rx() 104 cd->dma_area = cd->dma_area_s; in au1x_pcm_queue_rx() 211 (unsigned long)runtime->dma_area, in au1xpsc_pcm_hw_params() 227 pcd->dma_area_s = pcd->dma_area = runtime->dma_addr; in au1xpsc_pcm_hw_params()
|
/sound/core/ |
D | pcm_memory.c | 391 if (runtime->dma_area == NULL) in snd_pcm_lib_free_pages() 412 if (runtime->dma_area) { in _snd_pcm_lib_alloc_vmalloc_buffer() 415 vfree(runtime->dma_area); in _snd_pcm_lib_alloc_vmalloc_buffer() 417 runtime->dma_area = __vmalloc(size, gfp_flags, PAGE_KERNEL); in _snd_pcm_lib_alloc_vmalloc_buffer() 418 if (!runtime->dma_area) in _snd_pcm_lib_alloc_vmalloc_buffer() 439 vfree(runtime->dma_area); in snd_pcm_lib_free_vmalloc_buffer() 440 runtime->dma_area = NULL; in snd_pcm_lib_free_vmalloc_buffer() 458 return vmalloc_to_page(substream->runtime->dma_area + offset); in snd_pcm_lib_get_vmalloc_page()
|
/sound/soc/blackfin/ |
D | bf5xx-i2s-pcm.c | 101 sport_config_tx_dma(sport, runtime->dma_area, in bf5xx_pcm_prepare() 105 sport_config_rx_dma(sport, runtime->dma_area, in bf5xx_pcm_prepare() 221 vma->vm_start = (unsigned long)runtime->dma_area; in bf5xx_pcm_mmap() 243 dst = runtime->dma_area; in bf5xx_pcm_copy() 255 src = runtime->dma_area; in bf5xx_pcm_copy() 271 dst = runtime->dma_area; in bf5xx_pcm_copy() 274 src = runtime->dma_area; in bf5xx_pcm_copy() 291 void *buf = runtime->dma_area; in bf5xx_pcm_silence()
|
D | bf5xx-ac97-pcm.c | 63 sport->tx_pos, (__u16 *)runtime->dma_area + sport->tx_pos * in bf5xx_mmap_copy() 71 sport->rx_pos, (__u16 *)runtime->dma_area + sport->rx_pos * in bf5xx_mmap_copy() 137 if (runtime->dma_area) in bf5xx_pcm_hw_free() 138 memset(runtime->dma_area, 0, runtime->buffer_size); in bf5xx_pcm_hw_free() 170 sport_config_tx_dma(sport, runtime->dma_area, runtime->periods, in bf5xx_pcm_prepare() 174 sport_config_rx_dma(sport, runtime->dma_area, runtime->periods, in bf5xx_pcm_prepare() 276 vma->vm_start = (unsigned long)runtime->dma_area; in bf5xx_pcm_mmap() 292 bf5xx_pcm_to_ac97((struct ac97_frame *)runtime->dma_area + pos, in bf5xx_pcm_copy() 295 bf5xx_ac97_to_pcm((struct ac97_frame *)runtime->dma_area + pos, in bf5xx_pcm_copy()
|
/sound/firewire/tascam/ |
D | amdtp-tascam.c | 50 src = (void *)runtime->dma_area + in write_pcm_s32() 61 src = (void *)runtime->dma_area; in write_pcm_s32() 75 src = (void *)runtime->dma_area + in write_pcm_s16() 86 src = (void *)runtime->dma_area; in write_pcm_s16() 100 dst = (void *)runtime->dma_area + in read_pcm_s32() 114 dst = (void *)runtime->dma_area; in read_pcm_s32()
|
/sound/firewire/ |
D | amdtp-am824.c | 164 src = (void *)runtime->dma_area + in write_pcm_s32() 176 src = (void *)runtime->dma_area; in write_pcm_s32() 190 src = (void *)runtime->dma_area + in write_pcm_s16() 202 src = (void *)runtime->dma_area; in write_pcm_s16() 216 dst = (void *)runtime->dma_area + in read_pcm_s32() 227 dst = (void *)runtime->dma_area; in read_pcm_s32()
|
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() 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/firewire/digi00x/ |
D | amdtp-dot.c | 159 src = (void *)runtime->dma_area + in write_pcm_s32() 172 src = (void *)runtime->dma_area; in write_pcm_s32() 185 src = (void *)runtime->dma_area + in write_pcm_s16() 198 src = (void *)runtime->dma_area; in write_pcm_s16() 211 dst = (void *)runtime->dma_area + in read_pcm_s32() 223 dst = (void *)runtime->dma_area; in read_pcm_s32()
|
/sound/usb/line6/ |
D | capture.c | 111 memcpy(runtime->dma_area + in line6_capture_copy() 114 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy() 123 memcpy(runtime->dma_area + in line6_capture_copy()
|
D | playback.c | 223 runtime->dma_area + in submit_audio_out_urb() 227 len * bytes_per_frame, runtime->dma_area, in submit_audio_out_urb() 234 runtime->dma_area + in submit_audio_out_urb()
|
/sound/usb/6fire/ |
D | pcm.c | 205 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_capture() 207 u32 *dest_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_capture() 236 dest = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_capture() 251 u32 *src = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_playback() 253 u32 *src_end = (u32 *) (alsa_rt->dma_area + alsa_rt->buffer_size in usb6fire_pcm_playback() 283 src = (u32 *) alsa_rt->dma_area; in usb6fire_pcm_playback()
|
/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/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 441 unsigned char *dma_area, size_t size, int pcm) in create_adsp_page_table() argument 449 dma_area, size, pages); in create_adsp_page_table() 613 ret = create_adsp_page_table(substream, pdata, rtd, runtime->dma_area, in hsw_pcm_hw_params() 727 unsigned char *dma_area = runtime->dma_area; in hsw_notify_pointer() local 741 if (dma_area == NULL || dma_frames <= 0 in hsw_notify_pointer() 753 SST_OLD_POSITION(dma_area, in hsw_notify_pointer() 763 SST_OLD_POSITION(dma_area, in hsw_notify_pointer() 771 dma_area, samples); in hsw_notify_pointer()
|
/sound/soc/codecs/ |
D | rt5514-spi.c | 100 runtime->dma_area + rt5514_dsp->dma_offset, in rt5514_spi_copy_work() 110 runtime->dma_area + rt5514_dsp->dma_offset, in rt5514_spi_copy_work() 114 runtime->dma_area + rt5514_dsp->dma_offset + in rt5514_spi_copy_work()
|
/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/soc/sh/ |
D | dma-sh7760.c | 211 BRGREG(BRGATXSAR) = (unsigned long)runtime->dma_area; in camelot_prepare() 214 BRGREG(BRGARXDAR) = (unsigned long)runtime->dma_area; in camelot_prepare()
|
/sound/pci/vx222/ |
D | vx222_ops.c | 263 u32 *addr = (u32 *)(runtime->dma_area + offset); in vx2_dma_write() 281 addr = (u32 *)runtime->dma_area; in vx2_dma_write() 301 u32 *addr = (u32 *)(runtime->dma_area + offset); in vx2_dma_read() 317 addr = (u32 *)runtime->dma_area; in vx2_dma_read()
|
/sound/usb/caiaq/ |
D | audio.c | 393 char *audio_buf = rt->dma_area; in read_in_urb_mode0() 440 char *audio_buf = rt->dma_area; in read_in_urb_mode2() 472 audio_buf = rt->dma_area; in read_in_urb_mode3() 553 char *audio_buf = rt->dma_area; in fill_out_urb_mode_0() 589 audio_buf = rt->dma_area; in fill_out_urb_mode_3()
|
/sound/usb/hiface/ |
D | pcm.c | 277 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback() 289 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback() 292 source = alsa_rt->dma_area; in hiface_pcm_playback()
|
/sound/usb/ |
D | pcm.c | 1343 memcpy(runtime->dma_area + oldptr, cp, bytes1); in retire_capture_urb() 1344 memcpy(runtime->dma_area, cp + bytes1, bytes - bytes1); in retire_capture_urb() 1346 memcpy(runtime->dma_area + oldptr, cp, bytes); in retire_capture_urb() 1363 u8 *src = runtime->dma_area; in fill_playback_urb_dsd_dop() 1421 runtime->dma_area + subs->hwptr_done, bytes1); in copy_to_urb() 1423 runtime->dma_area, bytes - bytes1); in copy_to_urb() 1426 runtime->dma_area + subs->hwptr_done, bytes); in copy_to_urb() 1530 buf[i] = bitrev8(runtime->dma_area[idx]); in prepare_playback_urb()
|
/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 220 ret = dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in snd_imx_pcm_mmap() 224 runtime->dma_area, in snd_imx_pcm_mmap()
|
/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/pci/cs46xx/ |
D | cs46xx_lib.c | 883 memcpy(cpcm->hw_buf.area + rec->hw_data, runtime->dma_area + rec->sw_data, bytes); in snd_cs46xx_pb_trans_copy() 899 memcpy(runtime->dma_area + rec->sw_data, in snd_cs46xx_cp_trans_copy() 1135 if (runtime->dma_area != cpcm->hw_buf.area) in snd_cs46xx_playback_hw_params() 1137 runtime->dma_area = cpcm->hw_buf.area; in snd_cs46xx_playback_hw_params() 1159 if (runtime->dma_area == cpcm->hw_buf.area) { in snd_cs46xx_playback_hw_params() 1160 runtime->dma_area = NULL; in snd_cs46xx_playback_hw_params() 1208 if (runtime->dma_area != cpcm->hw_buf.area) in snd_cs46xx_playback_hw_free() 1211 runtime->dma_area = NULL; in snd_cs46xx_playback_hw_free() 1300 if (runtime->dma_area != chip->capt.hw_buf.area) in snd_cs46xx_capture_hw_params() 1302 runtime->dma_area = chip->capt.hw_buf.area; in snd_cs46xx_capture_hw_params() [all …]
|
/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()
|