| /linux/sound/drivers/ |
| H A D | pcmtest.c | 190 inc_buf_pos(v_iter, 1, runtime->dma_bytes); in check_buf_block_i() 193 inc_buf_pos(v_iter, v_iter->b_rw - i, runtime->dma_bytes); in check_buf_block_i() 213 inc_buf_pos(v_iter, 1, runtime->dma_bytes); in check_buf_block_ni() 215 inc_buf_pos(v_iter, v_iter->b_rw - i, runtime->dma_bytes); in check_buf_block_ni() 250 inc_buf_pos(v_iter, 1, runtime->dma_bytes); in fill_block_pattern_n() 269 inc_buf_pos(v_iter, 1, runtime->dma_bytes); in fill_block_pattern_i() 287 size_t bytes_remain = runtime->dma_bytes - v_iter->buf_pos; in fill_block_rand_n() 303 inc_buf_pos(v_iter, v_iter->b_rw, runtime->dma_bytes); in fill_block_rand_n() 308 size_t in_cur_block = runtime->dma_bytes - v_iter->buf_pos; in fill_block_rand_i() 316 inc_buf_pos(v_iter, v_iter->b_rw, runtime->dma_bytes); in fill_block_rand_i() [all...] |
| /linux/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()
|
| /linux/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()
|
| H A D | cros_ec_codec.c | 479 req = min(len, runtime->dma_bytes - priv->wov_dma_offset); in wov_queue_dequeue() 489 if (priv->wov_dma_offset == runtime->dma_bytes) in wov_queue_dequeue()
|
| /linux/sound/soc/sof/amd/ |
| H A D | acp-pcm.c | 29 size = runtime->dma_bytes; in acp_pcm_hw_params() 30 stream->num_pages = PFN_UP(runtime->dma_bytes); in acp_pcm_hw_params()
|
| /linux/sound/soc/atmel/ |
| H A D | atmel-pcm-pdc.c | 152 prtd->dma_buffer_end = runtime->dma_addr + runtime->dma_bytes; in atmel_pcm_hw_params() 159 runtime->dma_bytes, in atmel_pcm_hw_params() 202 rtd->buffer_size, rtd->dma_area, rtd->dma_bytes); in atmel_pcm_trigger()
|
| /linux/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()
|
| /linux/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()
|
| /linux/sound/soc/mediatek/common/ |
| H A D | mtk-base-afe.h | 150 size_t dma_bytes; member
|
| /linux/sound/soc/bcm/ |
| H A D | bcm63xx-pcm-whistler.c | 279 runtime->dma_bytes) { in i2s_dma_isr() 329 runtime->dma_bytes) { in i2s_dma_isr()
|
| /linux/sound/core/ |
| H A D | pcm_memory.c | 439 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages() 469 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages()
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | omap_udc.h | 135 unsigned dma_bytes; member
|
| H A D | omap_udc.c | 549 req->dma_bytes = length; in next_in_dma() 557 req->req.actual += req->dma_bytes; in finish_in_dma() 563 && req->dma_bytes != 0 in finish_in_dma() 587 req->dma_bytes = packets * ep->ep.maxpacket; in next_out_dma() 621 if (count != req->dma_bytes || status) in finish_out_dma()
|
| /linux/sound/soc/meson/ |
| H A D | aiu-fifo.c | 105 end = runtime->dma_addr + runtime->dma_bytes - fifo->fifo_block; in aiu_fifo_hw_params()
|
| H A D | axg-fifo.c | 123 end_ptr = runtime->dma_addr + runtime->dma_bytes - AXG_FIFO_BURST; in axg_fifo_pcm_hw_params()
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi-ahb-audio.c | 407 if (runtime->dma_bytes >= size) in dw_hdmi_hw_params() 414 runtime->dma_bytes = size; in dw_hdmi_hw_params()
|
| /linux/sound/soc/qcom/ |
| H A D | lpass-platform.c | 255 runtime->dma_bytes = lpass_platform_pcm_hardware.buffer_bytes_max; in lpass_platform_pcmops_open() 260 runtime->dma_bytes = lpass_platform_rxtx_hardware.buffer_bytes_max; in lpass_platform_pcmops_open() 265 runtime->dma_bytes = lpass_platform_va_hardware.buffer_bytes_max; in lpass_platform_pcmops_open() 1238 channel * (rt->dma_bytes / rt->channels)); in lpass_platform_copy()
|
| /linux/sound/soc/intel/catpt/ |
| H A D | pcm.c | 160 pages = snd_sgbuf_aligned_pages(rtm->dma_bytes); in catpt_arrange_page_table() 403 rinfo.num_pages = DIV_ROUND_UP(rtm->dma_bytes, PAGE_SIZE); in catpt_dai_hw_params() 404 rinfo.size = rtm->dma_bytes; in catpt_dai_hw_params()
|
| /linux/include/sound/ |
| H A D | pcm.h | 439 size_t dma_bytes; /* size of DMA area */ member 1271 runtime->dma_bytes = bufp->bytes; in snd_pcm_set_runtime_buffer() 1276 runtime->dma_bytes = 0; in snd_pcm_set_runtime_buffer()
|
| /linux/sound/soc/loongson/ |
| H A D | loongson_dma.c | 160 runtime->dma_bytes = buf_len; in loongson_pcm_hw_params()
|
| /linux/sound/soc/intel/avs/ |
| H A D | probes.c | 171 ret = avs_dsp_init_probe(adev, params, bps, node_id, rtd->dma_bytes); in avs_probe_compr_set_params()
|
| /linux/drivers/media/pci/cx23885/ |
| H A D | cx23885-alsa.c | 404 substream->runtime->dma_bytes = chip->dma_size; in snd_cx23885_hw_params()
|
| /linux/sound/soc/ |
| H A D | soc-generic-dmaengine-pcm.c | 302 channel * (runtime->dma_bytes / runtime->channels); in dmaengine_copy()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_audio.c | 245 pending = runtime->dma_bytes - hw_ptr; in u_audio_iso_complete() 268 prm->hw_ptr = (hw_ptr + req->actual) % runtime->dma_bytes; in u_audio_iso_complete()
|
| /linux/drivers/media/pci/cx25821/ |
| H A D | cx25821-alsa.c | 547 substream->runtime->dma_bytes = chip->dma_size; in snd_cx25821_hw_params()
|