Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/sound/isa/sb/
H A 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()
H A Dsb8_main.c398 return bytes_to_frames(substream->runtime, ptr); in snd_sb8_playback_pointer()
414 return bytes_to_frames(substream->runtime, ptr); in snd_sb8_capture_pointer()
/OK3568_Linux_fs/kernel/sound/core/
H A Dpcm_dmaengine.c243 return bytes_to_frames(substream->runtime, prtd->pos); in snd_dmaengine_pcm_pointer_no_residue()
267 runtime->delay = bytes_to_frames(runtime, in snd_dmaengine_pcm_pointer()
270 return bytes_to_frames(runtime, pos); in snd_dmaengine_pcm_pointer()
/OK3568_Linux_fs/kernel/include/sound/
H A 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()
/OK3568_Linux_fs/kernel/sound/soc/uniphier/
H A Daio-dma.c186 pos = bytes_to_frames(runtime, sub->rd_offs); in uniphier_aiodma_pointer()
188 pos = bytes_to_frames(runtime, sub->wr_offs); in uniphier_aiodma_pointer()
/OK3568_Linux_fs/kernel/sound/soc/kirkwood/
H A Dkirkwood-dma.c238 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer()
241 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer()
/OK3568_Linux_fs/kernel/sound/pci/ctxfi/
H A Dctpcm.c254 position = bytes_to_frames(runtime, position); in ct_pcm_playback_pointer()
360 position = bytes_to_frames(runtime, position); in ct_pcm_capture_pointer()
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_multi_dais_pcm.c236 size = bytes_to_frames(substream->runtime, in dmaengine_mpcm_single_dma_complete()
600 frames = bytes_to_frames(substream->runtime, pos); in dmaengine_mpcm_pointer()
606 frames = bytes_to_frames(substream->runtime, prtd->vpos); in dmaengine_mpcm_pointer()
/OK3568_Linux_fs/kernel/sound/soc/mediatek/common/
H A Dmtk-afe-platform-driver.c111 return bytes_to_frames(substream->runtime, pcm_ptr_bytes); in mtk_afe_pcm_pointer()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_audio_source.c437 frames -= bytes_to_frames(runtime, length); in audio_send()
438 audio->frames_sent += bytes_to_frames(runtime, length); in audio_send()
811 return bytes_to_frames(runtime, bytes); in audio_pcm_pointer()
H A Du_uac1_legacy.c176 frames = bytes_to_frames(runtime, count); in u_audio_playback()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Drt5677-spi.c183 return bytes_to_frames(runtime, rt5677_dsp->dma_offset); in rt5677_spi_pcm_pointer()
368 delay = bytes_to_frames(runtime, period_bytes) / (runtime->rate / 1000); in rt5677_spi_copy_work()
/OK3568_Linux_fs/kernel/sound/soc/sh/
H A Dsiu_pcm.c391 xfer_cnt = bytes_to_frames(rt, siu_stream->period_bytes); in siu_pcm_prepare()
484 return bytes_to_frames(ss->runtime, ptr); in siu_pcm_pointer_dma()
H A Ddma-sh7760.c288 return bytes_to_frames(runtime, pos); in camelot_pos()
/OK3568_Linux_fs/kernel/sound/pci/aw2/
H A Daw2-alsa.c532 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_playback()
551 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_capture()
/OK3568_Linux_fs/kernel/sound/soc/sof/intel/
H A Dhda-pcm.c208 pos = bytes_to_frames(substream->runtime, pos); in hda_dsp_pcm_pointer()
/OK3568_Linux_fs/kernel/sound/soc/meson/
H A Daiu-fifo.c43 return bytes_to_frames(runtime, addr - (unsigned int)runtime->dma_addr); in aiu_fifo_pointer()
/OK3568_Linux_fs/kernel/sound/pci/korg1212/
H A 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()
/OK3568_Linux_fs/kernel/sound/isa/msnd/
H A Dmsnd.c558 return bytes_to_frames(substream->runtime, chip->playDMAPos); in snd_msnd_playback_pointer()
634 return bytes_to_frames(runtime, chip->captureDMAPos); in snd_msnd_capture_pointer()
/OK3568_Linux_fs/kernel/sound/pci/riptide/
H A Driptide.c1122 bytes_to_frames(runtime, pos), in riptide_handleirq()
1358 bytes_to_frames(runtime, rptr.retlongs[1]), in snd_riptide_pointer()
1359 bytes_to_frames(runtime, in snd_riptide_pointer()
1363 bytes_to_frames(runtime, in snd_riptide_pointer()
1367 bytes_to_frames(runtime, in snd_riptide_pointer()
1372 ret = bytes_to_frames(runtime, 0); in snd_riptide_pointer()
/OK3568_Linux_fs/kernel/sound/pci/emu10k1/
H A Dp16v.c512 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback()
535 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_capture()
/OK3568_Linux_fs/kernel/drivers/media/usb/go7007/
H A Dsnd-go7007.c68 int frames = bytes_to_frames(runtime, length); in parse_audio_stream_data()
/OK3568_Linux_fs/kernel/sound/soc/au1x/
H A Ddbdma2.c273 return bytes_to_frames(substream->runtime, in au1xpsc_pcm_pointer()
/OK3568_Linux_fs/kernel/sound/drivers/pcsp/
H A Dpcsp_lib.c279 return bytes_to_frames(substream->runtime, pos); in snd_pcsp_playback_pointer()
/OK3568_Linux_fs/kernel/sound/pci/
H A Dals4000.c489 return bytes_to_frames( substream->runtime, result ); in snd_als4000_capture_pointer()
501 return bytes_to_frames( substream->runtime, result ); in snd_als4000_playback_pointer()

12345