Home
last modified time | relevance | path

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

12

/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/sof/
H A Dpcm.c467 host = bytes_to_frames(substream->runtime, in sof_pcm_pointer()
469 dai = bytes_to_frames(substream->runtime, in sof_pcm_pointer()
/linux/sound/pci/riptide/
H A Driptide.c1126 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()
1372 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/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/atmel/
H A Datmel-pcm-pdc.c268 x = bytes_to_frames(runtime, ptr - prtd->dma_buffer); in atmel_pcm_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/amd/acp/
H A Dacp-platform.c289 return bytes_to_frames(substream->runtime, pos); in acp_dma_pointer()
/linux/sound/soc/stm/
H A Dstm32_adfsdm.c267 return bytes_to_frames(substream->runtime, priv->pos); in stm32_adfsdm_pcm_pointer()
/linux/sound/soc/samsung/
H A Didma.c238 return bytes_to_frames(substream->runtime, res); in idma_pointer()
/linux/drivers/media/pci/cobalt/
H A Dcobalt-alsa-pcm.c440 return bytes_to_frames(substream->runtime, ptr) % in snd_cobalt_pcm_pb_pointer()
/linux/drivers/media/pci/tw686x/
H A Dtw686x-audio.c255 return bytes_to_frames(ss->runtime, ac->ptr); in tw686x_pcm_pointer()
/linux/sound/soc/intel/catpt/
H A Dpcm.c532 dsppos = bytes_to_frames(r, pos->stream_position); in catpt_stream_update_position()
622 return bytes_to_frames(substream->runtime, pos);
/linux/sound/soc/sprd/
H A Dsprd-pcm-dma.c425 x = bytes_to_frames(runtime, bytes_of_pointer); in sprd_pcm_pointer()

12