/linux-4.4.14/drivers/media/usb/go7007/ |
D | snd-go7007.c | 85 if (gosnd->w_idx + length > runtime->dma_bytes) { in parse_audio_stream_data() 86 int cpy = runtime->dma_bytes - gosnd->w_idx; in parse_audio_stream_data() 113 if (substream->runtime->dma_bytes > 0) in go7007_snd_hw_params() 115 substream->runtime->dma_bytes = 0; in go7007_snd_hw_params() 119 substream->runtime->dma_bytes = bytes; in go7007_snd_hw_params() 129 if (substream->runtime->dma_bytes > 0) in go7007_snd_hw_free() 131 substream->runtime->dma_bytes = 0; in go7007_snd_hw_free()
|
/linux-4.4.14/sound/pci/trident/ |
D | trident_memory.c | 197 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_sg_pages() 198 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_sg_pages() 208 blk = search_empty(hdr, runtime->dma_bytes); in snd_trident_alloc_sg_pages() 246 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_cont_pages() 247 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_cont_pages() 255 blk = search_empty(hdr, runtime->dma_bytes); in snd_trident_alloc_cont_pages()
|
/linux-4.4.14/sound/core/ |
D | pcm_memory.c | 349 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 370 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 413 if (runtime->dma_bytes >= size) in _snd_pcm_lib_alloc_vmalloc_buffer() 420 runtime->dma_bytes = size; in _snd_pcm_lib_alloc_vmalloc_buffer()
|
D | pcm_native.c | 2205 if (runtime->dma_bytes) { in snd_pcm_hw_constraints_complete() 2206 …rr = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 0, runtime->dma_bytes); in snd_pcm_hw_constraints_complete() 3349 size_t dma_bytes; in snd_pcm_mmap_data_fault() local 3355 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data_fault() 3356 if (offset > dma_bytes - PAGE_SIZE) in snd_pcm_mmap_data_fault() 3438 return vm_iomap_memory(area, runtime->dma_addr, runtime->dma_bytes); in snd_pcm_lib_mmap_iomem() 3453 size_t dma_bytes; in snd_pcm_mmap_data() local 3473 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data() 3474 if ((size_t)size > dma_bytes) in snd_pcm_mmap_data() 3476 if (offset > dma_bytes - size) in snd_pcm_mmap_data()
|
D | pcm_lib.c | 129 size_t dma_csize = runtime->dma_bytes / channels; in snd_pcm_playback_silence() 1799 size_t size = runtime->dma_bytes / runtime->channels; in snd_pcm_lib_ioctl_channel_info() 2172 size_t dma_csize = runtime->dma_bytes / channels; in snd_pcm_lib_writev_transfer() 2376 snd_pcm_uframes_t dma_csize = runtime->dma_bytes / channels; in snd_pcm_lib_readv_transfer()
|
/linux-4.4.14/sound/soc/sh/ |
D | dma-sh7760.c | 208 (u32)runtime->dma_addr, runtime->dma_bytes); in camelot_prepare() 212 BRGREG(BRGATXTCR) = runtime->dma_bytes; in camelot_prepare() 215 BRGREG(BRGARXTCR) = runtime->dma_bytes; in camelot_prepare()
|
/linux-4.4.14/sound/soc/atmel/ |
D | atmel-pcm-pdc.c | 223 runtime->dma_bytes = params_buffer_bytes(params); in atmel_pcm_hw_params() 229 prtd->dma_buffer_end = runtime->dma_addr + runtime->dma_bytes; in atmel_pcm_hw_params() 236 runtime->dma_bytes, in atmel_pcm_hw_params() 277 rtd->buffer_size, rtd->dma_area, rtd->dma_bytes); in atmel_pcm_trigger()
|
/linux-4.4.14/sound/soc/omap/ |
D | omap-pcm.c | 93 runtime->dma_bytes = params_buffer_bytes(params); in omap_pcm_hw_params() 162 runtime->dma_bytes); in omap_pcm_mmap()
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
D | tm6000-alsa.c | 113 substream->runtime->dma_bytes = 0; in dsp_buffer_free() 123 if (substream->runtime->dma_bytes > size) in dsp_buffer_alloc() 133 substream->runtime->dma_bytes = size; in dsp_buffer_alloc()
|
/linux-4.4.14/sound/soc/samsung/ |
D | idma.c | 95 val |= (((runtime->dma_bytes >> 2) & in idma_enqueue() 161 runtime->dma_bytes = params_buffer_bytes(params); in idma_hw_params() 166 prtd->end = runtime->dma_addr + runtime->dma_bytes; in idma_hw_params()
|
/linux-4.4.14/sound/pci/emu10k1/ |
D | memory.c | 310 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_emu10k1_alloc_pages() 311 runtime->dma_bytes >= (emu->address_mode ? MAXPAGES1 : MAXPAGES0) * EMUPAGESIZE)) in snd_emu10k1_alloc_pages() 320 blk = search_empty(emu, runtime->dma_bytes + idx); in snd_emu10k1_alloc_pages() 332 if (ofs >= runtime->dma_bytes) in snd_emu10k1_alloc_pages()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-alsa-pcm.c | 238 if (runtime->dma_bytes > size) in snd_pcm_alloc_vmalloc_buffer() 247 runtime->dma_bytes = size; in snd_pcm_alloc_vmalloc_buffer()
|
/linux-4.4.14/sound/soc/nuc900/ |
D | nuc900-pcm.c | 63 AUDIO_WRITE(mmio_len, runtime->dma_bytes); in nuc900_update_dma_register() 273 runtime->dma_bytes); in nuc900_dma_mmap()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-alsa-pcm.c | 245 if (runtime->dma_bytes > size) in snd_pcm_alloc_vmalloc_buffer() 254 runtime->dma_bytes = size; in snd_pcm_alloc_vmalloc_buffer()
|
/linux-4.4.14/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 221 runtime->dma_area, runtime->dma_addr, runtime->dma_bytes); in snd_imx_pcm_mmap() 226 runtime->dma_bytes); in snd_imx_pcm_mmap()
|
/linux-4.4.14/sound/isa/msnd/ |
D | msnd.c | 488 runtime->dma_bytes = 0x3000; in snd_msnd_playback_open() 592 runtime->dma_bytes = 0x3000; in snd_msnd_capture_open() 593 memset(runtime->dma_area, 0, runtime->dma_bytes); in snd_msnd_capture_open()
|
/linux-4.4.14/sound/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 614 runtime->dma_bytes, rtd->cpu_dai->id); in hsw_pcm_hw_params() 621 if (runtime->dma_bytes % PAGE_SIZE) in hsw_pcm_hw_params() 622 pages = (runtime->dma_bytes / PAGE_SIZE) + 1; in hsw_pcm_hw_params() 624 pages = runtime->dma_bytes / PAGE_SIZE; in hsw_pcm_hw_params() 628 pages, runtime->dma_bytes, 0, in hsw_pcm_hw_params() 729 bytes_to_frames(runtime, runtime->dma_bytes); in hsw_notify_pointer()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | omap_udc.h | 134 unsigned dma_bytes; member
|
D | omap_udc.c | 551 req->dma_bytes = length; in next_in_dma() 559 req->req.actual += req->dma_bytes; in finish_in_dma() 565 && req->dma_bytes != 0 in finish_in_dma() 589 req->dma_bytes = packets * ep->ep.maxpacket; in next_out_dma() 623 if (count != req->dma_bytes || status) in finish_out_dma()
|
/linux-4.4.14/sound/arm/ |
D | pxa2xx-pcm-lib.c | 147 runtime->dma_bytes); in pxa2xx_pcm_mmap()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_uac2.c | 68 size_t dma_bytes; member 233 prm->hw_ptr = (prm->hw_ptr + req->actual) % prm->dma_bytes; in agdev_iso_complete() 238 pending = prm->dma_bytes - hw_ptr; in agdev_iso_complete() 336 prm->dma_bytes = substream->runtime->dma_bytes; in uac2_pcm_hw_params() 355 prm->dma_bytes = 0; in uac2_pcm_hw_free()
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-alsa-pcm.c | 267 if (runtime->dma_bytes > size) in snd_pcm_alloc_vmalloc_buffer() 276 runtime->dma_bytes = size; in snd_pcm_alloc_vmalloc_buffer()
|
/linux-4.4.14/sound/ppc/ |
D | snd_ps3.c | 617 card->dma_buffer_size = runtime->dma_bytes; in snd_ps3_pcm_prepare() 628 runtime->dma_area + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare() 630 runtime->dma_addr + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare()
|
/linux-4.4.14/sound/soc/qcom/ |
D | lpass-platform.c | 67 runtime->dma_bytes = lpass_platform_pcm_hardware.buffer_bytes_max; in lpass_platform_pcmops_open() 345 runtime->dma_bytes); in lpass_platform_pcmops_mmap()
|
/linux-4.4.14/sound/soc/au1x/ |
D | dbdma2.c | 212 (unsigned long)runtime->dma_addr, runtime->dma_bytes, in au1xpsc_pcm_hw_params()
|
/linux-4.4.14/include/sound/ |
D | pcm.h | 412 size_t dma_bytes; /* size of DMA area */ member 1113 runtime->dma_bytes = bufp->bytes; in snd_pcm_set_runtime_buffer() 1118 runtime->dma_bytes = 0; in snd_pcm_set_runtime_buffer()
|
/linux-4.4.14/drivers/media/usb/cx231xx/ |
D | cx231xx-audio.c | 398 if (runtime->dma_bytes > size) in snd_pcm_alloc_vmalloc_buffer() 407 runtime->dma_bytes = size; in snd_pcm_alloc_vmalloc_buffer()
|
/linux-4.4.14/sound/soc/kirkwood/ |
D | kirkwood-dma.c | 193 runtime->dma_bytes = params_buffer_bytes(params); in kirkwood_dma_hw_params()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 204 if (runtime->dma_bytes > size) in snd_pcm_alloc_vmalloc_buffer() 213 runtime->dma_bytes = size; in snd_pcm_alloc_vmalloc_buffer()
|
/linux-4.4.14/sound/soc/txx9/ |
D | txx9aclc.c | 67 (unsigned long)runtime->dma_addr, runtime->dma_bytes, in txx9aclc_pcm_hw_params()
|
/linux-4.4.14/sound/pci/pcxhr/ |
D | pcxhr.c | 650 subs->runtime->dma_bytes, subs->number); in pcxhr_update_r_buffer() 657 snd_BUG_ON(subs->runtime->dma_bytes >= 0x200000); in pcxhr_update_r_buffer() 659 rmh.cmd[1] = subs->runtime->dma_bytes * 8; in pcxhr_update_r_buffer()
|
/linux-4.4.14/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 1139 runtime->dma_bytes = cpcm->hw_buf.bytes; in snd_cs46xx_playback_hw_params() 1162 runtime->dma_bytes = 0; in snd_cs46xx_playback_hw_params() 1213 runtime->dma_bytes = 0; in snd_cs46xx_playback_hw_free() 1304 runtime->dma_bytes = chip->capt.hw_buf.bytes; in snd_cs46xx_capture_hw_params() 1310 runtime->dma_bytes = 0; in snd_cs46xx_capture_hw_params() 1329 runtime->dma_bytes = 0; in snd_cs46xx_capture_hw_free()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | cx23885-alsa.c | 417 substream->runtime->dma_bytes = chip->dma_size; in snd_cx23885_hw_params()
|
/linux-4.4.14/sound/pci/ |
D | intel8x0.c | 950 fill_nocache(runtime->dma_area, runtime->dma_bytes, 0); /* clear */ in snd_intel8x0_hw_params() 958 fill_nocache(runtime->dma_area, runtime->dma_bytes, 1); in snd_intel8x0_hw_params() 989 fill_nocache(substream->runtime->dma_area, substream->runtime->dma_bytes, 0); in snd_intel8x0_hw_free() 2671 fill_nocache(runtime->dma_area, runtime->dma_bytes, 0); in intel8x0_suspend() 2729 fill_nocache(runtime->dma_area, runtime->dma_bytes, 1); in intel8x0_resume()
|
D | rme32.c | 666 runtime->dma_bytes = RME32_BUFFER_SIZE; in snd_rme32_playback_hw_params() 721 runtime->dma_bytes = RME32_BUFFER_SIZE; in snd_rme32_capture_hw_params()
|
D | rme96.c | 989 runtime->dma_bytes = RME96_BUFFER_SIZE; in snd_rme96_playback_hw_params() 1051 runtime->dma_bytes = RME96_BUFFER_SIZE; in snd_rme96_capture_hw_params()
|
D | es1968.c | 1486 runtime->dma_bytes = size; in snd_es1968_hw_params()
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-alsa.c | 560 substream->runtime->dma_bytes = chip->dma_size; in snd_cx25821_hw_params()
|
/linux-4.4.14/sound/pci/nm256/ |
D | nm256.c | 829 substream->runtime->dma_bytes = params_buffer_bytes(hw_params); in snd_nm256_pcm_hw_params() 848 runtime->dma_bytes = s->bufsize; in snd_nm256_setup_stream()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 511 substream->runtime->dma_bytes = chip->dma_size; in snd_cx88_hw_params()
|
/linux-4.4.14/sound/sparc/ |
D | cs4231.c | 1150 snd_free_pages(runtime->dma_area, runtime->dma_bytes); in snd_cs4231_playback_open() 1171 snd_free_pages(runtime->dma_area, runtime->dma_bytes); in snd_cs4231_capture_open()
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 742 substream->runtime->dma_bytes = dev->dmasound.bufsize; in snd_card_saa7134_hw_params()
|
/linux-4.4.14/sound/pci/rme9652/ |
D | rme9652.c | 2272 runtime->dma_bytes = RME9652_DMA_AREA_BYTES; in snd_rme9652_playback_open() 2332 runtime->dma_bytes = RME9652_DMA_AREA_BYTES; in snd_rme9652_capture_open()
|
D | hdsp.c | 4436 runtime->dma_bytes = HDSP_DMA_AREA_BYTES; in snd_hdsp_playback_open() 4513 runtime->dma_bytes = HDSP_DMA_AREA_BYTES; in snd_hdsp_capture_open()
|
/linux-4.4.14/sound/isa/wss/ |
D | wss_lib.c | 1534 snd_free_pages(runtime->dma_area, runtime->dma_bytes); in snd_wss_playback_open() 1575 snd_free_pages(runtime->dma_area, runtime->dma_bytes); in snd_wss_capture_open()
|
/linux-4.4.14/sound/isa/gus/ |
D | gus_pcm.c | 437 runtime->dma_bytes, 1, 32, in snd_gf1_pcm_playback_hw_params()
|
/linux-4.4.14/sound/soc/mediatek/ |
D | mtk-afe-pcm.c | 605 memif->buffer_size = substream->runtime->dma_bytes; in mtk_afe_dais_hw_params()
|
/linux-4.4.14/sound/drivers/ |
D | dummy.c | 546 substream->runtime->dma_bytes = params_buffer_bytes(hw_params); in dummy_pcm_hw_params()
|
/linux-4.4.14/sound/pci/mixart/ |
D | mixart.c | 651 bufferinfo[i].available_length = subs->runtime->dma_bytes; in snd_mixart_hw_params()
|
/linux-4.4.14/sound/pci/ctxfi/ |
D | ctatc.c | 147 apcm->vm_block = vm->map(vm, apcm->substream, runtime->dma_bytes); in ct_map_audio_buffer()
|
/linux-4.4.14/sound/core/oss/ |
D | pcm_oss.c | 1074 …mat_set_silence(runtime->format, runtime->dma_area, bytes_to_samples(runtime, runtime->dma_bytes)); in snd_pcm_oss_change_params()
|