Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/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.h691 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() function
713 return frames_to_bytes(runtime, runtime->buffer_size); in snd_pcm_lib_buffer_bytes()
723 return frames_to_bytes(runtime, runtime->period_size); in snd_pcm_lib_period_bytes()
/Linux-v5.4/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-v5.4/sound/usb/caiaq/
Daudio.c380 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode0()
427 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode2()
459 sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode3()
540 int sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_0()
576 sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_3()
/Linux-v5.4/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-v5.4/sound/firewire/
Damdtp-am824.c165 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
196 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
/Linux-v5.4/sound/atmel/
Dac97c.c202 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare()
284 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_capture_prepare()
502 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
520 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
/Linux-v5.4/sound/firewire/motu/
Damdtp-motu.c137 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
173 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
/Linux-v5.4/sound/drivers/
Dpcm-indirect2.c257 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect2_playback_transfer()
415 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect2_capture_transfer()
/Linux-v5.4/sound/pci/emu10k1/
Dp16v.c322 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_p16v_pcm_prepare_playback()
333 runtime->periods, frames_to_bytes(runtime, 1)); in snd_p16v_pcm_prepare_playback()
412 …snd_emu10k1_ptr20_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffe… in snd_p16v_pcm_prepare_capture()
Demu10k1x.c446 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_emu10k1x_pcm_prepare()
462 …snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_… in snd_emu10k1x_pcm_prepare()
521 if(ptr4 == 0 && ptr1 == frames_to_bytes(runtime, runtime->buffer_size)) in snd_emu10k1x_pcm_pointer()
628 …snd_emu10k1x_ptr_write(emu, CAPTURE_BUFFER_SIZE, 0, frames_to_bytes(runtime, runtime->buffer_size)… in snd_emu10k1x_pcm_prepare_capture()
/Linux-v5.4/sound/pci/ca0106/
Dca0106_main.c746 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_ca0106_pcm_prepare_playback()
767 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_playback()
833 …snd_ca0106_ptr_write(emu, PLAYBACK_PERIOD_SIZE, channel, frames_to_bytes(runtime, runtime->period_… in snd_ca0106_pcm_prepare_playback()
874 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_capture()
936 …snd_ca0106_ptr_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffer_s… in snd_ca0106_pcm_prepare_capture()
/Linux-v5.4/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.c309 ssize_t b_ps = frames_to_bytes(runtime, runtime->period_size); in sh_dac_audio_timer()
/Linux-v5.4/sound/hda/
Dhdac_stream.c240 -frames_to_bytes(runtime, 64); in snd_hdac_stream_setup()
434 pos_adj = frames_to_bytes(runtime, pos_adj); in snd_hdac_stream_setup_periods()
/Linux-v5.4/sound/drivers/vx/
Dvx_pcm.c842 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare()
843 pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size); in vx_pcm_prepare()
1008 size = frames_to_bytes(runtime, size); in vx_pcm_capture_update()
/Linux-v5.4/sound/soc/amd/raven/
Dacp3x-pcm-dma.c373 buffersize = frames_to_bytes(substream->runtime, in acp3x_dma_pointer()
534 period_bytes = frames_to_bytes(substream->runtime, in acp3x_dai_i2s_trigger()
/Linux-v5.4/sound/soc/kirkwood/
Dkirkwood-dma.c207 size = frames_to_bytes(runtime, runtime->buffer_size); in kirkwood_dma_prepare()
/Linux-v5.4/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()
/Linux-v5.4/sound/soc/intel/haswell/
Dsst-haswell-pcm.c31 frames_to_bytes(r, o))
33 frames_to_bytes(r, (x))))
724 pos = frames_to_bytes(runtime, in hsw_notify_pointer()
/Linux-v5.4/sound/soc/intel/baytrail/
Dsst-baytrail-pcm.c221 pos = frames_to_bytes(runtime, in byt_notify_pointer()
/Linux-v5.4/sound/spi/
Dat73c213.c260 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_pcm_prepare()
369 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_interrupt()
/Linux-v5.4/sound/soc/fsl/
Dmpc5200_dma.c129 s->period_bytes = frames_to_bytes(runtime, in psc_dma_trigger()
/Linux-v5.4/sound/soc/amd/
Dacp-pcm-dma.c1029 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp_dma_pointer()
1047 buffersize = frames_to_bytes(runtime, runtime->buffer_size); in acp_dma_pointer()

12