| /OK3568_Linux_fs/kernel/sound/pci/trident/ |
| H A D | trident_memory.c | 182 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_sg_pages() 183 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_sg_pages() 193 blk = search_empty(hdr, runtime->dma_bytes); in snd_trident_alloc_sg_pages() 231 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_cont_pages() 232 runtime->dma_bytes > SNDRV_TRIDENT_MAX_PAGES * in snd_trident_alloc_cont_pages() 240 blk = search_empty(hdr, runtime->dma_bytes); in snd_trident_alloc_cont_pages()
|
| /OK3568_Linux_fs/kernel/sound/soc/uniphier/ |
| H A D | aio-dma.c | 36 ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes, in aiodma_pcm_irq() 41 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes); in aiodma_pcm_irq() 125 runtime->dma_addr + runtime->dma_bytes, in uniphier_aiodma_prepare() 149 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, in uniphier_aiodma_trigger() 183 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes); in uniphier_aiodma_pointer()
|
| /OK3568_Linux_fs/kernel/sound/soc/mediatek/common/ |
| H A D | mtk-afe-fe-dai.c | 140 substream->runtime->dma_bytes); in mtk_afe_fe_hw_params() 143 substream->runtime->dma_bytes); in mtk_afe_fe_hw_params() 149 substream->runtime->dma_bytes); in mtk_afe_fe_hw_params() 402 size_t dma_bytes) in mtk_memif_set_addr() argument 411 memif->dma_bytes = dma_bytes; in mtk_memif_set_addr() 420 phys_buf_addr + dma_bytes - 1); in mtk_memif_set_addr() 425 phys_buf_addr + dma_bytes - 1); in mtk_memif_set_addr()
|
| H A D | mtk-afe-fe-dai.h | 42 size_t dma_bytes);
|
| H A D | mtk-base-afe.h | 123 size_t dma_bytes; member
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | rt5677-spi.c | 219 if (begin > end || runtime->dma_bytes < 2 * bytes_per_frame) { in rt5677_spi_copy_block() 222 begin, end, runtime->dma_bytes); in rt5677_spi_copy_block() 233 if (end - begin > runtime->dma_bytes - bytes_per_frame) in rt5677_spi_copy_block() 234 begin = end - (runtime->dma_bytes - bytes_per_frame); in rt5677_spi_copy_block() 239 if (rt5677_dsp->dma_offset + first_chunk_len > runtime->dma_bytes) { in rt5677_spi_copy_block() 242 first_chunk_len = runtime->dma_bytes - rt5677_dsp->dma_offset; in rt5677_spi_copy_block() 253 if (rt5677_dsp->dma_offset == runtime->dma_bytes) in rt5677_spi_copy_block()
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | compress_driver.h | 56 size_t dma_bytes; member 224 runtime->dma_bytes = bufp->bytes; in snd_compr_set_runtime_buffer() 229 runtime->dma_bytes = 0; in snd_compr_set_runtime_buffer()
|
| /OK3568_Linux_fs/kernel/sound/soc/atmel/ |
| H A D | atmel-pcm-pdc.c | 214 runtime->dma_bytes = params_buffer_bytes(params); in atmel_pcm_hw_params() 220 prtd->dma_buffer_end = runtime->dma_addr + runtime->dma_bytes; in atmel_pcm_hw_params() 227 runtime->dma_bytes, in atmel_pcm_hw_params() 270 rtd->buffer_size, rtd->dma_area, rtd->dma_bytes); in atmel_pcm_trigger()
|
| /OK3568_Linux_fs/kernel/sound/core/ |
| H A D | pcm_memory.c | 400 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 422 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 465 if (runtime->dma_bytes >= size) in _snd_pcm_lib_alloc_vmalloc_buffer() 472 runtime->dma_bytes = size; in _snd_pcm_lib_alloc_vmalloc_buffer()
|
| H A D | pcm_native.c | 795 size_t size = runtime->dma_bytes; in snd_pcm_hw_params() 2655 if (runtime->dma_bytes) { in snd_pcm_hw_constraints_complete() 2656 …rr = snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 0, runtime->dma_bytes); in snd_pcm_hw_constraints_complete() 3737 size_t dma_bytes; in snd_pcm_mmap_data_fault() local 3743 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data_fault() 3744 if (offset > dma_bytes - PAGE_SIZE) in snd_pcm_mmap_data_fault() 3799 substream->runtime->dma_bytes); in snd_pcm_lib_default_mmap() 3825 return vm_iomap_memory(area, runtime->dma_addr, runtime->dma_bytes); in snd_pcm_lib_mmap_iomem() 3839 size_t dma_bytes; in snd_pcm_mmap_data() local 3859 dma_bytes = PAGE_ALIGN(runtime->dma_bytes); in snd_pcm_mmap_data() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/sh/ |
| H A D | dma-sh7760.c | 200 (u32)runtime->dma_addr, runtime->dma_bytes); in camelot_prepare() 204 BRGREG(BRGATXTCR) = runtime->dma_bytes; in camelot_prepare() 207 BRGREG(BRGARXTCR) = runtime->dma_bytes; in camelot_prepare()
|
| /OK3568_Linux_fs/kernel/sound/soc/bcm/ |
| H A D | bcm63xx-pcm-whistler.c | 52 runtime->dma_bytes = params_buffer_bytes(params); in bcm63xx_pcm_hw_params() 202 runtime->dma_bytes); in bcm63xx_pcm_mmap() 292 runtime->dma_bytes) { in i2s_dma_isr() 342 runtime->dma_bytes) { in i2s_dma_isr()
|
| /OK3568_Linux_fs/kernel/sound/soc/samsung/ |
| H A D | idma.c | 88 val |= (((runtime->dma_bytes >> 2) & in idma_enqueue() 155 runtime->dma_bytes = params_buffer_bytes(params); in idma_hw_params() 160 prtd->end = runtime->dma_addr + runtime->dma_bytes; in idma_hw_params()
|
| /OK3568_Linux_fs/kernel/sound/pci/emu10k1/ |
| H A D | memory.c | 306 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_emu10k1_alloc_pages() 307 runtime->dma_bytes >= (emu->address_mode ? MAXPAGES1 : MAXPAGES0) * EMUPAGESIZE)) in snd_emu10k1_alloc_pages() 316 blk = search_empty(emu, runtime->dma_bytes + idx); in snd_emu10k1_alloc_pages() 328 if (ofs >= runtime->dma_bytes) in snd_emu10k1_alloc_pages()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/go7007/ |
| H A D | snd-go7007.c | 77 if (gosnd->w_idx + length > runtime->dma_bytes) { in parse_audio_stream_data() 78 int cpy = runtime->dma_bytes - gosnd->w_idx; in parse_audio_stream_data()
|
| /OK3568_Linux_fs/kernel/sound/soc/fsl/ |
| H A D | imx-pcm-fiq.c | 224 runtime->dma_addr, runtime->dma_bytes); in snd_imx_pcm_mmap() 229 runtime->dma_bytes); in snd_imx_pcm_mmap()
|
| /OK3568_Linux_fs/kernel/sound/isa/msnd/ |
| H A D | msnd.c | 476 runtime->dma_bytes = 0x3000; in snd_msnd_playback_open() 579 runtime->dma_bytes = 0x3000; in snd_msnd_capture_open() 580 memset(runtime->dma_area, 0, runtime->dma_bytes); in snd_msnd_capture_open()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/ |
| H A D | omap_udc.h | 135 unsigned dma_bytes; member
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/ |
| H A D | pcm.c | 157 runtime->dma_bytes); in sof_pcm_hw_params() 163 pcm.params.buffer.pages = PFN_UP(runtime->dma_bytes); in sof_pcm_hw_params() 172 pcm.params.buffer.size = runtime->dma_bytes; in sof_pcm_hw_params()
|
| H A D | compress.c | 90 rtd->dma_bytes); in sof_probe_compr_set_params()
|
| /OK3568_Linux_fs/kernel/sound/ppc/ |
| H A D | snd_ps3.c | 583 card->dma_buffer_size = runtime->dma_bytes; in snd_ps3_pcm_prepare() 594 runtime->dma_area + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare() 596 runtime->dma_addr + (runtime->dma_bytes / 2); in snd_ps3_pcm_prepare()
|
| /OK3568_Linux_fs/kernel/sound/soc/sprd/ |
| H A D | sprd-pcm-dma.c | 208 runtime->dma_bytes = totsize; in sprd_pcm_hw_params() 222 runtime->dma_bytes = totsize; in sprd_pcm_hw_params()
|
| /OK3568_Linux_fs/kernel/sound/soc/meson/ |
| H A D | aiu-fifo.c | 110 end = runtime->dma_addr + runtime->dma_bytes - fifo->fifo_block; in aiu_fifo_hw_params()
|
| /OK3568_Linux_fs/kernel/sound/arm/ |
| H A D | pxa2xx-pcm-lib.c | 139 runtime->dma_addr, runtime->dma_bytes); in pxa2xx_pcm_mmap()
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/catpt/ |
| H A D | pcm.c | 160 pages = snd_sgbuf_aligned_pages(rtm->dma_bytes); in catpt_arrange_page_table() 357 rinfo.num_pages = DIV_ROUND_UP(rtm->dma_bytes, PAGE_SIZE); in catpt_dai_hw_params() 358 rinfo.size = rtm->dma_bytes; in catpt_dai_hw_params()
|