Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 14 of 14) sorted by relevance

/sound/soc/bcm/
Dcygnus-ssp.h42 unsigned buf_size; member
52 .buf_size = 0, \
62 .buf_size = 0, \
Dcygnus-pcm.c228 p_rbuf->buf_size = bufsize; in ringbuf_set_initial()
/sound/soc/codecs/
Drt5514-spi.c45 size_t buf_size, get_size, dma_offset; member
96 if (rt5514_dsp->buf_size % period_bytes) in rt5514_spi_copy_work()
97 rt5514_dsp->buf_size = (rt5514_dsp->buf_size / period_bytes) * in rt5514_spi_copy_work()
100 if (rt5514_dsp->get_size >= rt5514_dsp->buf_size) { in rt5514_spi_copy_work()
187 rt5514_dsp->buf_size = rt5514_dsp->buf_limit - rt5514_dsp->buf_base; in rt5514_schedule_copy()
190 rt5514_dsp->buf_rp && rt5514_dsp->buf_size) in rt5514_schedule_copy()
/sound/core/
Dpcm_dmaengine.c250 unsigned int buf_size; in snd_dmaengine_pcm_pointer() local
255 buf_size = snd_pcm_lib_buffer_bytes(substream); in snd_dmaengine_pcm_pointer()
256 if (state.residue > 0 && state.residue <= buf_size) in snd_dmaengine_pcm_pointer()
257 pos = buf_size - state.residue; in snd_dmaengine_pcm_pointer()
/sound/isa/sb/
Demu8000_pcm.c46 unsigned int buf_size; member
192 delta = ptr + rec->buf_size - rec->last_ptr; in emu8k_pcm_timer_func()
308 temp = (temp << 24) | ((unsigned int)rec->loop_start[ch] + rec->buf_size - 1); in setup_voice()
613 rec->buf_size = subs->runtime->buffer_size; in emu8k_pcm_prepare()
618 rec->loop_start[1] = rec->loop_start[0] + rec->buf_size + LOOP_BLANK_SIZE; in emu8k_pcm_prepare()
639 EMU8000_SMALW_WRITE(rec->emu, rec->loop_start[ch] + rec->buf_size); in emu8k_pcm_prepare()
/sound/soc/amd/raven/
Dacp3x-i2s.c153 u32 buf_size, buf_reg; in acp3x_i2s_trigger() local
158 buf_size = frames_to_bytes(substream->runtime, in acp3x_i2s_trigger()
202 rv_writel(buf_size, rtd->acp3x_base + buf_reg); in acp3x_i2s_trigger()
/sound/soc/mediatek/common/
Dmtk-btcvsd.c89 unsigned int buf_size; member
238 bt->tx->buf_size = BTCVSD_TX_BUF_SIZE; in mtk_btcvsd_snd_tx_init()
251 bt->rx->buf_size = BTCVSD_RX_BUF_SIZE; in mtk_btcvsd_snd_rx_init()
742 cont = bt->rx->buf_size - cur_read_idx; in mtk_btcvsd_snd_read()
803 avail = bt->tx->buf_size - in mtk_btcvsd_snd_write()
834 cont = bt->tx->buf_size - cur_write_idx; in mtk_btcvsd_snd_write()
/sound/soc/qcom/qdsp6/
Dq6asm.c196 u32 buf_size; member
219 u32 buf_size; member
1479 read->buf_size = ab->size; in q6asm_read()
1601 write->buf_size = len; in q6asm_write_async()
/sound/usb/
Dquirks.c1031 int buf_size, int *length) in snd_usb_motu_microbookii_communicate() argument
1045 memset(buf, 0, buf_size); in snd_usb_motu_microbookii_communicate()
1049 err = usb_interrupt_msg(dev, usb_rcvintpipe(dev, 0x82), buf, buf_size, in snd_usb_motu_microbookii_communicate()
/sound/pci/ice1712/
Dice1712.c561 u32 period_size, buf_size, rate, tmp; in snd_ice1712_playback_prepare() local
564 buf_size = snd_pcm_lib_buffer_bytes(substream) - 1; in snd_ice1712_playback_prepare()
577 outw(buf_size, ice->ddma_port + 4); in snd_ice1712_playback_prepare()
628 u32 period_size, buf_size; in snd_ice1712_capture_prepare() local
632 buf_size = snd_pcm_lib_buffer_bytes(substream) - 1; in snd_ice1712_capture_prepare()
640 outw(buf_size, ICEREG(ice, CONCAP_COUNT)); in snd_ice1712_capture_prepare()
/sound/soc/intel/skylake/
Dskl-topology.h341 u32 buf_size; member
Dskl-topology.c2291 m_pin->buf_size = tkn_elem->value; in skl_tplg_manifest_pin_res_tkn()
/sound/x86/
Dintel_hdmi_audio.c1135 int buf_size; in had_pcm_hw_params() local
1138 buf_size = params_buffer_bytes(hw_params); in had_pcm_hw_params()
1140 __func__, buf_size); in had_pcm_hw_params()
/sound/pci/hda/
Dpatch_ca0132.c2008 unsigned int *buf_size, unsigned int size_count) in dspio_read_multiple() argument
2011 unsigned int size = *buf_size; in dspio_read_multiple()
2036 *buf_size = count; in dspio_read_multiple()
2888 unsigned int buf_size; member
2927 dma->buf_size, in dma_reset()
3302 dma_engine->buf_size = (ovly ? DSP_DMA_WRITE_BUFLEN_OVLY : in dspxfr_image()
3317 dma_engine->buf_size, in dspxfr_image()