Home
last modified time | relevance | path

Searched refs:frames_to_bytes (Results 1 – 25 of 57) sorted by relevance

123

/linux-6.15/sound/soc/amd/acp/
H A Dacp-pdm.c44 period_bytes = frames_to_bytes(substream->runtime, in acp_dmic_prepare()
46 size_dmic = frames_to_bytes(substream->runtime, in acp_dmic_prepare()
H A Dacp-renoir.c160 buf_size = frames_to_bytes(substream->runtime, buf_in_frames); in rn_pcm_resume()
H A Dacp70.c196 buf_size = frames_to_bytes(substream->runtime, buf_in_frames); in acp70_pcm_resume()
H A Dacp-rembrandt.c216 buf_size = frames_to_bytes(substream->runtime, buf_in_frames); in rmb_pcm_resume()
H A Dacp63.c267 buf_size = frames_to_bytes(substream->runtime, buf_in_frames); in acp63_pcm_resume()
H A Dacp-legacy-common.c155 period_bytes = frames_to_bytes(runtime, runtime->period_size); in set_acp_pdm_ring_buffer()
156 pdm_size = frames_to_bytes(runtime, runtime->buffer_size); in set_acp_pdm_ring_buffer()
/linux-6.15/sound/firewire/fireface/
H A Damdtp-ff.c46 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
76 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
/linux-6.15/include/sound/
H A Dpcm-indirect.h48 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer()
121 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect_capture_transfer()
/linux-6.15/sound/firewire/tascam/
H A Damdtp-tascam.c51 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
81 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
/linux-6.15/sound/soc/amd/yc/
H A Dacp6x-pdm-dma.c255 buffersize = frames_to_bytes(stream->runtime, in acp6x_pdm_dma_pointer()
408 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp6x_pdm_resume()
409 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp6x_pdm_resume()
/linux-6.15/sound/soc/amd/ps/
H A Dps-pdm-dma.c258 buffersize = frames_to_bytes(stream->runtime, in acp63_pdm_dma_pointer()
416 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp63_pdm_resume()
417 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp63_pdm_resume()
H A Dps-sdw-dma.c488 buffersize = frames_to_bytes(substream->runtime, in acp63_sdw_dma_pointer()
713 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp63_restore_sdw_dma_config()
714 buf_size = frames_to_bytes(runtime, runtime->buffer_size); in acp63_restore_sdw_dma_config()
754 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp70_restore_sdw_dma_config()
755 buf_size = frames_to_bytes(runtime, runtime->buffer_size); in acp70_restore_sdw_dma_config()
/linux-6.15/sound/usb/caiaq/
H A Daudio.c359 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode0()
406 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode2()
438 sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode3()
519 int sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_0()
555 sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_3()
/linux-6.15/sound/soc/amd/renoir/
H A Dacp3x-pdm-dma.c281 buffersize = frames_to_bytes(stream->runtime, in acp_pdm_dma_pointer()
455 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp_pdm_resume()
456 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp_pdm_resume()
/linux-6.15/sound/soc/amd/raven/
H A Dacp3x-i2s.c156 period_bytes = frames_to_bytes(substream->runtime, in acp3x_i2s_trigger()
158 buf_size = frames_to_bytes(substream->runtime, in acp3x_i2s_trigger()
/linux-6.15/sound/soc/sof/intel/
H A Dhda-pcm.c160 appl_pos = frames_to_bytes(runtime, runtime->control->appl_ptr); in hda_dsp_pcm_ack()
161 buf_size = frames_to_bytes(runtime, runtime->buffer_size); in hda_dsp_pcm_ack()
/linux-6.15/sound/soc/amd/vangogh/
H A Dacp5x-i2s.c242 period_bytes = frames_to_bytes(substream->runtime, in acp5x_i2s_trigger()
244 buf_size = frames_to_bytes(substream->runtime, in acp5x_i2s_trigger()
/linux-6.15/sound/firewire/digi00x/
H A Damdtp-dot.c161 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
193 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
/linux-6.15/sound/firewire/
H A Damdtp-am824.c164 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
195 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
/linux-6.15/sound/atmel/
H A Dac97c.c189 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare()
271 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_capture_prepare()
485 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
503 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
/linux-6.15/sound/pci/emu10k1/
H A Dp16v.c242 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_p16v_pcm_prepare_playback()
253 runtime->periods, frames_to_bytes(runtime, 1)); in snd_p16v_pcm_prepare_playback()
335 …snd_emu10k1_ptr20_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffe… in snd_p16v_pcm_prepare_capture()
/linux-6.15/sound/firewire/motu/
H A Damdtp-motu.c110 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
146 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
/linux-6.15/sound/sh/
H A Daica.c263 frames_to_bytes(runtime, runtime->buffer_size); in run_spu_dma()
299 frames_to_bytes(runtime, in aica_period_elapsed()
/linux-6.15/sound/pci/ca0106/
H A Dca0106_main.c722 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_ca0106_pcm_prepare_playback()
743 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_playback()
809 …snd_ca0106_ptr_write(emu, PLAYBACK_PERIOD_SIZE, channel, frames_to_bytes(runtime, runtime->period_… in snd_ca0106_pcm_prepare_playback()
850 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_capture()
912 …snd_ca0106_ptr_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffer_s… in snd_ca0106_pcm_prepare_capture()
/linux-6.15/sound/soc/kirkwood/
H A Dkirkwood-dma.c205 size = frames_to_bytes(runtime, runtime->buffer_size); in kirkwood_dma_prepare()

123