Home
last modified time | relevance | path

Searched refs:dma_bytes (Results 1 – 25 of 33) sorted by relevance

12

/linux/sound/drivers/
H A Dpcmtest.c190 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 Daio-dma.c36 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 Drt5677-spi.c219 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 Dcros_ec_codec.c479 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 Dacp-pcm.c29 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 Datmel-pcm-pdc.c152 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 Didma.c88 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 Dsnd-go7007.c77 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 Dmtk-base-afe.h150 size_t dma_bytes; member
/linux/sound/soc/bcm/
H A Dbcm63xx-pcm-whistler.c279 runtime->dma_bytes) { in i2s_dma_isr()
329 runtime->dma_bytes) { in i2s_dma_isr()
/linux/sound/core/
H A Dpcm_memory.c439 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 Domap_udc.h135 unsigned dma_bytes; member
H A Domap_udc.c549 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 Daiu-fifo.c105 end = runtime->dma_addr + runtime->dma_bytes - fifo->fifo_block; in aiu_fifo_hw_params()
H A Daxg-fifo.c123 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 Ddw-hdmi-ahb-audio.c407 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 Dlpass-platform.c255 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 Dpcm.c160 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 Dpcm.h439 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 Dloongson_dma.c160 runtime->dma_bytes = buf_len; in loongson_pcm_hw_params()
/linux/sound/soc/intel/avs/
H A Dprobes.c171 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 Dcx23885-alsa.c404 substream->runtime->dma_bytes = chip->dma_size; in snd_cx23885_hw_params()
/linux/sound/soc/
H A Dsoc-generic-dmaengine-pcm.c302 channel * (runtime->dma_bytes / runtime->channels); in dmaengine_copy()
/linux/drivers/usb/gadget/function/
H A Du_audio.c245 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 Dcx25821-alsa.c547 substream->runtime->dma_bytes = chip->dma_size; in snd_cx25821_hw_params()

12