Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/sound/firewire/fireface/
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.3-rc2/sound/soc/amd/acp/
A 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()
A Dacp-i2s.c266 period_bytes = frames_to_bytes(substream->runtime, substream->runtime->period_size); in acp_i2s_trigger()
267 buf_size = frames_to_bytes(substream->runtime, substream->runtime->buffer_size); in acp_i2s_trigger()
/linux-6.3-rc2/include/sound/
A 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()
A 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.3-rc2/sound/firewire/tascam/
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.3-rc2/sound/soc/sof/intel/
A Dhda-pcm.c149 appl_pos = frames_to_bytes(runtime, runtime->control->appl_ptr); in hda_dsp_pcm_ack()
150 buf_size = frames_to_bytes(runtime, runtime->buffer_size); in hda_dsp_pcm_ack()
/linux-6.3-rc2/sound/soc/amd/ps/
A Dps-pdm-dma.c260 buffersize = frames_to_bytes(stream->runtime, in acp63_pdm_dma_pointer()
419 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp63_pdm_resume()
420 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp63_pdm_resume()
/linux-6.3-rc2/sound/soc/amd/yc/
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.3-rc2/sound/usb/caiaq/
A 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.3-rc2/sound/soc/amd/renoir/
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.3-rc2/sound/soc/amd/raven/
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.3-rc2/sound/firewire/digi00x/
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.3-rc2/sound/firewire/
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.3-rc2/sound/soc/amd/vangogh/
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.3-rc2/sound/atmel/
A 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.3-rc2/sound/pci/emu10k1/
A 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()
A 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.3-rc2/sound/firewire/motu/
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.3-rc2/sound/sh/
A Daica.c264 frames_to_bytes(runtime, runtime->buffer_size); in run_spu_dma()
297 frames_to_bytes(runtime, in aica_period_elapsed()
A Dsh_dac_audio.c288 ssize_t b_ps = frames_to_bytes(runtime, runtime->period_size); in sh_dac_audio_timer()
/linux-6.3-rc2/sound/pci/ca0106/
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.3-rc2/sound/soc/kirkwood/
A Dkirkwood-dma.c202 size = frames_to_bytes(runtime, runtime->buffer_size); in kirkwood_dma_prepare()
/linux-6.3-rc2/sound/drivers/vx/
A 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()
/linux-6.3-rc2/sound/hda/
A Dhdac_stream.c307 -frames_to_bytes(runtime, 64); in snd_hdac_stream_setup()
525 pos_adj = frames_to_bytes(runtime, pos_adj); in snd_hdac_stream_setup_periods()

Completed in 46 milliseconds

12