Home
last modified time | relevance | path

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

12

/Linux-v4.19/sound/firewire/fireface/
Damdtp-ff.c42 frames_to_bytes(runtime, s->pcm_buffer_pointer); in write_pcm_s32()
67 frames_to_bytes(runtime, s->pcm_buffer_pointer); in read_pcm_s32()
/Linux-v4.19/sound/firewire/tascam/
Damdtp-tascam.c47 frames_to_bytes(runtime, s->pcm_buffer_pointer); in write_pcm_s32()
72 frames_to_bytes(runtime, s->pcm_buffer_pointer); in read_pcm_s32()
/Linux-v4.19/include/sound/
Dpcm-indirect.h61 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer()
129 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect_capture_transfer()
Dpcm.h716 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() function
738 return frames_to_bytes(runtime, runtime->buffer_size); in snd_pcm_lib_buffer_bytes()
748 return frames_to_bytes(runtime, runtime->period_size); in snd_pcm_lib_period_bytes()
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c77 frames_to_bytes(alsa_stream->substream->runtime, alsa_stream->substream->runtime->status->hw_ptr), in bcm2835_playback_fifo()
402 frames_to_bytes(runtime, runtime->status->hw_ptr), in snd_bcm2835_pcm_pointer()
403 frames_to_bytes(runtime, runtime->control->appl_ptr), in snd_bcm2835_pcm_pointer()
/Linux-v4.19/sound/usb/caiaq/
Daudio.c393 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode0()
440 int sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode2()
472 sz = frames_to_bytes(rt, rt->buffer_size); in read_in_urb_mode3()
553 int sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_0()
589 sz = frames_to_bytes(rt, rt->buffer_size); in fill_out_urb_mode_3()
/Linux-v4.19/sound/firewire/
Damdtp-am824.c161 frames_to_bytes(runtime, s->pcm_buffer_pointer); in write_pcm_s32()
187 frames_to_bytes(runtime, s->pcm_buffer_pointer); in read_pcm_s32()
/Linux-v4.19/sound/firewire/digi00x/
Damdtp-dot.c156 frames_to_bytes(runtime, s->pcm_buffer_pointer); in write_pcm_s32()
182 frames_to_bytes(runtime, s->pcm_buffer_pointer); in read_pcm_s32()
/Linux-v4.19/sound/atmel/
Dac97c.c205 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare()
287 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_capture_prepare()
505 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
523 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
/Linux-v4.19/sound/firewire/motu/
Damdtp-motu.c132 frames_to_bytes(runtime, s->pcm_buffer_pointer); in read_pcm_s32()
160 frames_to_bytes(runtime, s->pcm_buffer_pointer); in write_pcm_s32()
/Linux-v4.19/sound/drivers/
Dpcm-indirect2.c270 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect2_playback_transfer()
428 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect2_capture_transfer()
/Linux-v4.19/sound/pci/emu10k1/
Dp16v.c336 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_p16v_pcm_prepare_playback()
347 runtime->periods, frames_to_bytes(runtime, 1)); in snd_p16v_pcm_prepare_playback()
426 …snd_emu10k1_ptr20_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffe… in snd_p16v_pcm_prepare_capture()
Demu10k1x.c460 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_emu10k1x_pcm_prepare()
476 …snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_… in snd_emu10k1x_pcm_prepare()
535 if(ptr4 == 0 && ptr1 == frames_to_bytes(runtime, runtime->buffer_size)) in snd_emu10k1x_pcm_pointer()
642 …snd_emu10k1x_ptr_write(emu, CAPTURE_BUFFER_SIZE, 0, frames_to_bytes(runtime, runtime->buffer_size)… in snd_emu10k1x_pcm_prepare_capture()
/Linux-v4.19/sound/pci/ca0106/
Dca0106_main.c760 u32 period_size_bytes = frames_to_bytes(runtime, runtime->period_size); in snd_ca0106_pcm_prepare_playback()
781 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_playback()
847 …snd_ca0106_ptr_write(emu, PLAYBACK_PERIOD_SIZE, channel, frames_to_bytes(runtime, runtime->period_… in snd_ca0106_pcm_prepare_playback()
888 frames_to_bytes(runtime, 1)); in snd_ca0106_pcm_prepare_capture()
950 …snd_ca0106_ptr_write(emu, CAPTURE_BUFFER_SIZE, channel, frames_to_bytes(runtime, runtime->buffer_s… in snd_ca0106_pcm_prepare_capture()
/Linux-v4.19/sound/hda/
Dhdac_stream.c198 -frames_to_bytes(runtime, 64); in snd_hdac_stream_setup()
392 pos_adj = frames_to_bytes(runtime, pos_adj); in snd_hdac_stream_setup_periods()
/Linux-v4.19/sound/sh/
Daica.c281 frames_to_bytes(runtime, runtime->buffer_size); in run_spu_dma()
314 frames_to_bytes(runtime, in aica_period_elapsed()
Dsh_dac_audio.c324 ssize_t b_ps = frames_to_bytes(runtime, runtime->period_size); in sh_dac_audio_timer()
/Linux-v4.19/sound/drivers/vx/
Dvx_pcm.c857 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare()
858 pipe->period_bytes = frames_to_bytes(runtime, runtime->period_size); in vx_pcm_prepare()
1023 size = frames_to_bytes(runtime, size); in vx_pcm_capture_update()
/Linux-v4.19/sound/soc/kirkwood/
Dkirkwood-dma.c211 size = frames_to_bytes(runtime, runtime->buffer_size); in kirkwood_dma_prepare()
/Linux-v4.19/sound/mips/
Dsgio2audio.c377 dst_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1; in snd_sgio2audio_dma_pull_frag()
425 src_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1; in snd_sgio2audio_dma_push_frag()
/Linux-v4.19/sound/soc/intel/haswell/
Dsst-haswell-pcm.c40 frames_to_bytes(r, o))
42 frames_to_bytes(r, (x))))
733 pos = frames_to_bytes(runtime, in hsw_notify_pointer()
/Linux-v4.19/sound/spi/
Dat73c213.c263 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_pcm_prepare()
372 block_size = frames_to_bytes(runtime, runtime->period_size); in snd_at73c213_interrupt()
/Linux-v4.19/sound/soc/intel/baytrail/
Dsst-baytrail-pcm.c228 pos = frames_to_bytes(runtime, in byt_notify_pointer()
/Linux-v4.19/sound/soc/fsl/
Dmpc5200_dma.c129 s->period_bytes = frames_to_bytes(runtime, in psc_dma_trigger()
/Linux-v4.19/sound/soc/amd/
Dacp-pcm-dma.c1038 period_bytes = frames_to_bytes(runtime, runtime->period_size); in acp_dma_pointer()
1050 buffersize = frames_to_bytes(runtime, runtime->buffer_size); in acp_dma_pointer()

12