Home
last modified time | relevance | path

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

1234

/linux/sound/core/
H A Dpcm_dmaengine.c238 return bytes_to_frames(substream->runtime, prtd->pos); in snd_dmaengine_pcm_pointer_no_residue()
266 runtime->delay = bytes_to_frames(runtime, in snd_dmaengine_pcm_pointer()
270 return bytes_to_frames(runtime, pos); in snd_dmaengine_pcm_pointer()
/linux/sound/isa/sb/
H A Demu8000_pcm.c496 pos = bytes_to_frames(subs->runtime, pos); in emu8k_pcm_copy()
497 count = bytes_to_frames(subs->runtime, count); in emu8k_pcm_copy()
508 pos = bytes_to_frames(subs->runtime, pos); in emu8k_pcm_silence()
509 count = bytes_to_frames(subs->runtime, count); in emu8k_pcm_silence()
/linux/include/sound/
H A Dpcm-indirect.h100 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_playback_pointer()
177 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_capture_pointer()
/linux/sound/soc/kirkwood/
H A Dkirkwood-dma.c231 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer()
234 count = bytes_to_frames(substream->runtime, in kirkwood_dma_pointer()
/linux/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()
/linux/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()
/linux/sound/soc/sof/amd/
H A Dacp-pcm.c116 pos = bytes_to_frames(substream->runtime, pos); in acp_pcm_pointer()
/linux/sound/soc/mediatek/common/
H A Dmtk-afe-platform-driver.c112 return bytes_to_frames(substream->runtime, pcm_ptr_bytes); in mtk_afe_pcm_pointer()
/linux/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; in rt5677_spi_copy_work()
/linux/sound/soc/meson/
H A Daiu-fifo.c43 return bytes_to_frames(runtime, addr - (unsigned int)runtime->dma_addr); in aiu_fifo_pointer()
H A Daxg-fifo.c107 return bytes_to_frames(runtime, addr - (unsigned int)runtime->dma_addr); in axg_fifo_pcm_pointer()
/linux/drivers/media/usb/go7007/
H A Dsnd-go7007.c68 int frames = bytes_to_frames(runtime, length); in parse_audio_stream_data()
/linux/drivers/usb/gadget/function/
H A Du_uac1_legacy.c172 frames = bytes_to_frames(runtime, count); in u_audio_playback()
/linux/sound/soc/fsl/
H A Dimx-pcm-fiq.c153 return bytes_to_frames(substream->runtime, iprtd->offset); in snd_imx_pcm_pointer()
/linux/sound/soc/sof/
H A Dpcm.c526 host = bytes_to_frames(substream->runtime, in sof_pcm_open()
528 dai = bytes_to_frames(substream->runtime, in sof_pcm_open()
/linux/sound/pci/riptide/
H A Driptide.c1127 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()
1373 ret = bytes_to_frames(runtime, 0); in snd_riptide_pointer()
/linux/sound/soc/sof/intel/
H A Dhda-pcm.c212 pos = bytes_to_frames(substream->runtime, pos); in hda_dsp_pcm_pointer()
/linux/sound/virtio/
H A Dvirtio_pcm_msg.c328 bytes_to_frames(runtime, in virtsnd_pcm_msg_complete()
/linux/sound/soc/google/
H A Dchv3-i2s.c248 return bytes_to_frames(substream->runtime, idx_bytes); in chv3_dma_pointer()
/linux/sound/drivers/pcsp/
H A Dpcsp_lib.c279 return bytes_to_frames(substream->runtime, pos); in snd_pcsp_playback_pointer()
/linux/sound/soc/amd/acp/
H A Dacp-platform.c289 return bytes_to_frames(substream->runtime, pos); in acp_dma_pointer()
/linux/sound/soc/loongson/
H A Dloongson_dma.c210 x = bytes_to_frames(runtime, addr - runtime->dma_addr); in loongson_pcm_pointer()
/linux/sound/soc/atmel/
H A Datmel-pcm-pdc.c268 x = bytes_to_frames(runtime, ptr - prtd->dma_buffer); in atmel_pcm_pointer()
/linux/sound/soc/au1x/
H A Ddma.c277 return bytes_to_frames(ss->runtime, location); in alchemy_pcm_pointer()
/linux/sound/parisc/
H A Dharmony.c467 return bytes_to_frames(rt, played); in snd_harmony_playback_pointer()
496 return bytes_to_frames(rt, caught); in snd_harmony_capture_pointer()

1234