Home
last modified time | relevance | path

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

12345

/linux-6.1.9/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.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()
/linux-6.1.9/sound/core/
Dpcm_dmaengine.c236 return bytes_to_frames(substream->runtime, prtd->pos); in snd_dmaengine_pcm_pointer_no_residue()
264 runtime->delay = bytes_to_frames(runtime, in snd_dmaengine_pcm_pointer()
268 return bytes_to_frames(runtime, pos); in snd_dmaengine_pcm_pointer()
/linux-6.1.9/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-6.1.9/sound/soc/kirkwood/
Dkirkwood-dma.c228 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer()
231 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer()
/linux-6.1.9/sound/soc/uniphier/
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()
/linux-6.1.9/sound/pci/ctxfi/
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()
/linux-6.1.9/sound/soc/mediatek/common/
Dmtk-afe-platform-driver.c111 return bytes_to_frames(substream->runtime, pcm_ptr_bytes); in mtk_afe_pcm_pointer()
/linux-6.1.9/sound/pci/aw2/
Daw2-alsa.c469 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_playback()
488 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_capture()
/linux-6.1.9/sound/soc/meson/
Daiu-fifo.c43 return bytes_to_frames(runtime, addr - (unsigned int)runtime->dma_addr); in aiu_fifo_pointer()
/linux-6.1.9/sound/soc/codecs/
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()
/linux-6.1.9/sound/soc/sh/
Dsiu_pcm.c387 xfer_cnt = bytes_to_frames(rt, siu_stream->period_bytes); in siu_pcm_prepare()
480 return bytes_to_frames(ss->runtime, ptr); in siu_pcm_pointer_dma()
Ddma-sh7760.c287 return bytes_to_frames(runtime, pos); in camelot_pos()
/linux-6.1.9/sound/pci/korg1212/
Dkorg1212.c1296 pos = bytes_to_frames(runtime, pos); in snd_korg1212_copy_to()
1297 count = bytes_to_frames(runtime, count); in snd_korg1212_copy_to()
1333 pos = bytes_to_frames(runtime, pos); in snd_korg1212_copy_from()
1334 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-6.1.9/sound/soc/sof/intel/
Dhda-pcm.c198 pos = bytes_to_frames(substream->runtime, pos); in hda_dsp_pcm_pointer()
/linux-6.1.9/sound/soc/sof/
Dpcm.c383 host = bytes_to_frames(substream->runtime, in sof_pcm_pointer()
385 dai = bytes_to_frames(substream->runtime, in sof_pcm_pointer()
/linux-6.1.9/sound/soc/fsl/
Dimx-pcm-fiq.c153 return bytes_to_frames(substream->runtime, iprtd->offset); in snd_imx_pcm_pointer()
/linux-6.1.9/drivers/media/usb/go7007/
Dsnd-go7007.c68 int frames = bytes_to_frames(runtime, length); in parse_audio_stream_data()
/linux-6.1.9/sound/soc/au1x/
Ddbdma2.c273 return bytes_to_frames(substream->runtime, in au1xpsc_pcm_pointer()
/linux-6.1.9/drivers/usb/gadget/function/
Du_uac1_legacy.c172 frames = bytes_to_frames(runtime, count); in u_audio_playback()
/linux-6.1.9/sound/virtio/
Dvirtio_pcm_msg.c319 bytes_to_frames(runtime, in virtsnd_pcm_msg_complete()
/linux-6.1.9/sound/drivers/pcsp/
Dpcsp_lib.c279 return bytes_to_frames(substream->runtime, pos); in snd_pcsp_playback_pointer()
/linux-6.1.9/sound/pci/emu10k1/
Dp16v.c514 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback()
537 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_capture()
/linux-6.1.9/sound/isa/msnd/
Dmsnd.c559 return bytes_to_frames(substream->runtime, chip->playDMAPos); in snd_msnd_playback_pointer()
637 return bytes_to_frames(runtime, chip->captureDMAPos); in snd_msnd_capture_pointer()
/linux-6.1.9/sound/pci/riptide/
Driptide.c1127 bytes_to_frames(runtime, pos), in riptide_handleirq()
1363 bytes_to_frames(runtime, rptr.retlongs[1]), in snd_riptide_pointer()
1364 bytes_to_frames(runtime, in snd_riptide_pointer()
1368 bytes_to_frames(runtime, in snd_riptide_pointer()
1372 bytes_to_frames(runtime, in snd_riptide_pointer()
1377 ret = bytes_to_frames(runtime, 0); in snd_riptide_pointer()

12345