Home
last modified time | relevance | path

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

12

/linux-6.1.9/sound/soc/amd/acp/
Dacp-pdm.c55 period_bytes = frames_to_bytes(substream->runtime, in acp_dmic_prepare()
57 size_dmic = frames_to_bytes(substream->runtime, in acp_dmic_prepare()
Dacp-i2s.c252 period_bytes = frames_to_bytes(substream->runtime, substream->runtime->period_size); in acp_i2s_trigger()
253 buf_size = frames_to_bytes(substream->runtime, substream->runtime->buffer_size); in acp_i2s_trigger()
/linux-6.1.9/sound/firewire/fireface/
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.1.9/include/sound/
Dpcm-indirect.h48 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer()
116 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect_capture_transfer()
Dpcm.h745 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() function
771 return frames_to_bytes(runtime, runtime->buffer_size); in snd_pcm_lib_buffer_bytes()
783 return frames_to_bytes(runtime, runtime->period_size); in snd_pcm_lib_period_bytes()
/linux-6.1.9/sound/soc/sof/intel/
Dhda-pcm.c150 appl_pos = frames_to_bytes(runtime, runtime->control->appl_ptr); in hda_dsp_pcm_ack()
151 buf_size = frames_to_bytes(runtime, runtime->buffer_size); in hda_dsp_pcm_ack()
/linux-6.1.9/sound/firewire/tascam/
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.1.9/sound/soc/amd/ps/
Dps-pdm-dma.c250 buffersize = frames_to_bytes(stream->runtime, in acp62_pdm_dma_pointer()
405 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp62_pdm_resume()
406 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp62_pdm_resume()
/linux-6.1.9/sound/soc/amd/yc/
Dacp6x-pdm-dma.c249 buffersize = frames_to_bytes(stream->runtime, in acp6x_pdm_dma_pointer()
402 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp6x_pdm_resume()
403 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp6x_pdm_resume()
/linux-6.1.9/sound/usb/caiaq/
Daudio.c370 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode0()
417 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode2()
449 sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode3()
530 int sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_0()
566 sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_3()
/linux-6.1.9/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c275 buffersize = frames_to_bytes(stream->runtime, in acp_pdm_dma_pointer()
449 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp_pdm_resume()
450 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp_pdm_resume()
/linux-6.1.9/sound/soc/amd/raven/
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.1.9/sound/soc/amd/vangogh/
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.1.9/sound/firewire/digi00x/
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.1.9/sound/firewire/
Damdtp-am824.c166 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
197 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
/linux-6.1.9/sound/atmel/
Dac97c.c190 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare()
272 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_capture_prepare()
486 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
504 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
/linux-6.1.9/sound/pci/emu10k1/
Dp16v.c294 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_p16v_pcm_prepare_playback()
305 runtime->periods, frames_to_bytes(runtime, 1)); in snd_p16v_pcm_prepare_playback()
384 …snd_emu10k1_ptr20_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffe… in snd_p16v_pcm_prepare_capture()
Demu10k1x.c445 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_emu10k1x_pcm_prepare()
461 …snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_… in snd_emu10k1x_pcm_prepare()
520 if(ptr4 == 0 && ptr1 == frames_to_bytes(runtime, runtime->buffer_size)) in snd_emu10k1x_pcm_pointer()
627 …snd_emu10k1x_ptr_write(emu, CAPTURE_BUFFER_SIZE, 0, frames_to_bytes(runtime, runtime->buffer_size)… in snd_emu10k1x_pcm_prepare_capture()
/linux-6.1.9/sound/firewire/motu/
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.1.9/sound/sh/
Daica.c264 frames_to_bytes(runtime, runtime->buffer_size); in run_spu_dma()
297 frames_to_bytes(runtime, in aica_period_elapsed()
Dsh_dac_audio.c288 ssize_t b_ps = frames_to_bytes(runtime, runtime->period_size); in sh_dac_audio_timer()
/linux-6.1.9/sound/pci/ca0106/
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.1.9/sound/soc/kirkwood/
Dkirkwood-dma.c202 size = frames_to_bytes(runtime, runtime->buffer_size); in kirkwood_dma_prepare()
/linux-6.1.9/sound/hda/
Dhdac_stream.c295 -frames_to_bytes(runtime, 64); in snd_hdac_stream_setup()
501 pos_adj = frames_to_bytes(runtime, pos_adj); in snd_hdac_stream_setup_periods()
/linux-6.1.9/sound/drivers/vx/
Dvx_pcm.c831 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare()
832 pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size); in vx_pcm_prepare()
993 size = frames_to_bytes(runtime, size); in vx_pcm_capture_update()

12