Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.h703 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() function
725 return frames_to_bytes(runtime, runtime->buffer_size); in snd_pcm_lib_buffer_bytes()
735 return frames_to_bytes(runtime, runtime->period_size); in snd_pcm_lib_period_bytes()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c281 buffersize = frames_to_bytes(stream->runtime, in acp_pdm_dma_pointer()
464 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp_pdm_resume()
465 buffer_len = frames_to_bytes(runtime, runtime->buffer_size); in acp_pdm_resume()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/pci/emu10k1/
Dp16v.c292 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_p16v_pcm_prepare_playback()
303 runtime->periods, frames_to_bytes(runtime, 1)); in snd_p16v_pcm_prepare_playback()
382 …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()
625 …snd_emu10k1x_ptr_write(emu, CAPTURE_BUFFER_SIZE, 0, frames_to_bytes(runtime, runtime->buffer_size)… in snd_emu10k1x_pcm_prepare_capture()
/kernel/linux/linux-5.10/sound/firewire/motu/
Damdtp-motu.c133 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
169 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
/kernel/linux/linux-5.10/sound/sh/
Daica.c265 frames_to_bytes(runtime, runtime->buffer_size); in run_spu_dma()
298 frames_to_bytes(runtime, in aica_period_elapsed()
Dsh_dac_audio.c289 ssize_t b_ps = frames_to_bytes(runtime, runtime->period_size); in sh_dac_audio_timer()
/kernel/linux/linux-5.10/sound/pci/ca0106/
Dca0106_main.c719 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_ca0106_pcm_prepare_playback()
740 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_playback()
806 …snd_ca0106_ptr_write(emu, PLAYBACK_PERIOD_SIZE, channel, frames_to_bytes(runtime, runtime->period_… in snd_ca0106_pcm_prepare_playback()
847 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_capture()
909 …snd_ca0106_ptr_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffer_s… in snd_ca0106_pcm_prepare_capture()
/kernel/linux/linux-5.10/sound/hda/
Dhdac_stream.c277 -frames_to_bytes(runtime, 64); in snd_hdac_stream_setup()
471 pos_adj = frames_to_bytes(runtime, pos_adj); in snd_hdac_stream_setup_periods()
/kernel/linux/linux-5.10/sound/drivers/vx/
Dvx_pcm.c822 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare()
823 pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size); in vx_pcm_prepare()
984 size = frames_to_bytes(runtime, size); in vx_pcm_capture_update()
/kernel/linux/linux-5.10/sound/soc/kirkwood/
Dkirkwood-dma.c212 size = frames_to_bytes(runtime, runtime->buffer_size); in kirkwood_dma_prepare()
/kernel/linux/linux-5.10/sound/mips/
Dsgio2audio.c363 dst_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1; in snd_sgio2audio_dma_pull_frag()
411 src_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1; in snd_sgio2audio_dma_push_frag()
/kernel/linux/linux-5.10/sound/drivers/
Daloop.c449 frames_to_bytes(runtime, runtime->period_size); in params_change()
475 dpcm->pcm_buffer_size = frames_to_bytes(runtime, runtime->buffer_size); in loopback_prepare()
487 dpcm->pcm_period_size = frames_to_bytes(runtime, runtime->period_size); in loopback_prepare()
766 elapsed_bytes = frames_to_bytes(valid_runtime, in loopback_snd_timer_period_elapsed()
/kernel/linux/linux-5.10/sound/spi/
Dat73c213.c256 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_pcm_prepare()
363 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_interrupt()
/kernel/linux/linux-5.10/sound/soc/intel/catpt/
Dpcm.c486 pos = frames_to_bytes(runtime, runtime->start_threshold); in catpt_dai_trigger()
549 frames_to_bytes(r, newpos), in catpt_stream_update_position()
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt5677-spi.c215 size_t bytes_per_frame = frames_to_bytes(runtime, 1); in rt5677_spi_copy_block()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dmpc5200_dma.c131 s->period_bytes = frames_to_bytes(runtime, in psc_dma_trigger()

12