Home
last modified time | relevance | path

Searched refs:bytes_to_frames (Results 1 – 25 of 108) sorted by relevance

12345

/Linux-v5.4/sound/isa/sb/
Demu8000_pcm.c526 pos = bytes_to_frames(subs->runtime, pos); in emu8k_pcm_copy()
527 count = bytes_to_frames(subs->runtime, count); in emu8k_pcm_copy()
539 pos = bytes_to_frames(subs->runtime, pos); in emu8k_pcm_copy_kernel()
540 count = bytes_to_frames(subs->runtime, count); in emu8k_pcm_copy_kernel()
551 pos = bytes_to_frames(subs->runtime, pos); in emu8k_pcm_silence()
552 count = bytes_to_frames(subs->runtime, count); in emu8k_pcm_silence()
Dsb8_main.c410 return bytes_to_frames(substream->runtime, ptr); in snd_sb8_playback_pointer()
426 return bytes_to_frames(substream->runtime, ptr); in snd_sb8_capture_pointer()
/Linux-v5.4/include/sound/
Dpcm-indirect.h95 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_playback_pointer()
167 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_capture_pointer()
/Linux-v5.4/sound/core/
Dpcm_dmaengine.c229 return bytes_to_frames(substream->runtime, prtd->pos); in snd_dmaengine_pcm_pointer_no_residue()
255 return bytes_to_frames(substream->runtime, pos); in snd_dmaengine_pcm_pointer()
/Linux-v5.4/sound/soc/kirkwood/
Dkirkwood-dma.c232 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer()
235 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer()
/Linux-v5.4/sound/soc/uniphier/
Daio-dma.c199 pos = bytes_to_frames(runtime, sub->rd_offs); in uniphier_aiodma_pointer()
201 pos = bytes_to_frames(runtime, sub->wr_offs); in uniphier_aiodma_pointer()
/Linux-v5.4/sound/pci/ctxfi/
Dctpcm.c260 position = bytes_to_frames(runtime, position); in ct_pcm_playback_pointer()
366 position = bytes_to_frames(runtime, position); in ct_pcm_capture_pointer()
/Linux-v5.4/sound/soc/mediatek/common/
Dmtk-afe-platform-driver.c112 return bytes_to_frames(substream->runtime, pcm_ptr_bytes); in mtk_afe_pcm_pointer()
/Linux-v5.4/sound/soc/sof/intel/
Dhda-pcm.c197 pos = bytes_to_frames(substream->runtime, pos); in hda_dsp_pcm_pointer()
/Linux-v5.4/sound/pci/aw2/
Daw2-alsa.c554 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_playback()
573 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_capture()
/Linux-v5.4/sound/soc/sh/
Dsiu_pcm.c422 xfer_cnt = bytes_to_frames(rt, siu_stream->period_bytes); in siu_pcm_prepare()
512 return bytes_to_frames(ss->runtime, ptr); in siu_pcm_pointer_dma()
Ddma-sh7760.c292 return bytes_to_frames(runtime, pos); in camelot_pos()
/Linux-v5.4/sound/pci/korg1212/
Dkorg1212.c1297 pos = bytes_to_frames(runtime, pos); in snd_korg1212_copy_to()
1298 count = bytes_to_frames(runtime, count); in snd_korg1212_copy_to()
1334 pos = bytes_to_frames(runtime, pos); in snd_korg1212_copy_from()
1335 count = bytes_to_frames(runtime, count); in snd_korg1212_copy_from()
1666 return snd_korg1212_silence(korg1212, bytes_to_frames(runtime, pos), in snd_korg1212_playback_silence()
1667 bytes_to_frames(runtime, count), in snd_korg1212_playback_silence()
/Linux-v5.4/drivers/usb/gadget/function/
Du_uac1_legacy.c172 frames = bytes_to_frames(runtime, count); in u_audio_playback()
/Linux-v5.4/sound/soc/au1x/
Ddbdma2.c280 return bytes_to_frames(substream->runtime, to_dmadata(substream)->pos); in au1xpsc_pcm_pointer()
Ddma.c281 return bytes_to_frames(ss->runtime, location); in alchemy_pcm_pointer()
/Linux-v5.4/sound/isa/msnd/
Dmsnd.c558 return bytes_to_frames(substream->runtime, chip->playDMAPos); in snd_msnd_playback_pointer()
635 return bytes_to_frames(runtime, chip->captureDMAPos); in snd_msnd_capture_pointer()
/Linux-v5.4/sound/soc/sof/
Dpcm.c420 host = bytes_to_frames(substream->runtime, in sof_pcm_pointer()
422 dai = bytes_to_frames(substream->runtime, in sof_pcm_pointer()
/Linux-v5.4/sound/drivers/pcsp/
Dpcsp_lib.c286 return bytes_to_frames(substream->runtime, pos); in snd_pcsp_playback_pointer()
/Linux-v5.4/drivers/media/usb/go7007/
Dsnd-go7007.c69 int frames = bytes_to_frames(runtime, length); in parse_audio_stream_data()
/Linux-v5.4/sound/pci/riptide/
Driptide.c1123 bytes_to_frames(runtime, pos), in riptide_handleirq()
1357 bytes_to_frames(runtime, rptr.retlongs[1]), in snd_riptide_pointer()
1358 bytes_to_frames(runtime, in snd_riptide_pointer()
1362 bytes_to_frames(runtime, in snd_riptide_pointer()
1366 bytes_to_frames(runtime, in snd_riptide_pointer()
1371 ret = bytes_to_frames(runtime, 0); in snd_riptide_pointer()
/Linux-v5.4/sound/soc/meson/
Daxg-fifo.c103 return bytes_to_frames(runtime, addr - (unsigned int)runtime->dma_addr); in axg_fifo_pcm_pointer()
/Linux-v5.4/sound/soc/fsl/
Dimx-pcm-fiq.c149 return bytes_to_frames(substream->runtime, iprtd->offset); in snd_imx_pcm_pointer()
/Linux-v5.4/sound/pci/emu10k1/
Dp16v.c542 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback()
565 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_capture()
/Linux-v5.4/sound/pci/
Dals4000.c501 return bytes_to_frames( substream->runtime, result ); in snd_als4000_capture_pointer()
513 return bytes_to_frames( substream->runtime, result ); in snd_als4000_playback_pointer()

12345