Home
last modified time | relevance | path

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

123456

/openbmc/linux/sound/core/
H A 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()
/openbmc/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()
/openbmc/linux/sound/isa/sb/
H A Demu8000_pcm.c498 pos = bytes_to_frames(subs->runtime, pos); in emu8k_pcm_copy()
499 count = bytes_to_frames(subs->runtime, count); in emu8k_pcm_copy()
510 pos = bytes_to_frames(subs->runtime, pos); in emu8k_pcm_silence()
511 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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/sound/soc/sof/amd/
H A Dacp-pcm.c116 pos = bytes_to_frames(substream->runtime, pos); in acp_pcm_pointer()
/openbmc/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()
/openbmc/linux/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()
/openbmc/linux/sound/pci/aw2/
H A 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()
/openbmc/linux/sound/soc/meson/
H A Daiu-fifo.c43 return bytes_to_frames(runtime, addr - (unsigned int)runtime->dma_addr); in aiu_fifo_pointer()
/openbmc/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 / 1000); in rt5677_spi_copy_work()
/openbmc/linux/sound/soc/sh/
H A 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()
H A Ddma-sh7760.c287 return bytes_to_frames(runtime, pos); in camelot_pos()
/openbmc/linux/sound/pci/korg1212/
H A Dkorg1212.c1295 pos = bytes_to_frames(runtime, pos); in snd_korg1212_copy_to()
1296 count = bytes_to_frames(runtime, count); in snd_korg1212_copy_to()
1328 pos = bytes_to_frames(runtime, pos); in snd_korg1212_copy_from()
1329 count = bytes_to_frames(runtime, count); in snd_korg1212_copy_from()
1650 return snd_korg1212_silence(korg1212, bytes_to_frames(runtime, pos), in snd_korg1212_playback_silence()
1651 bytes_to_frames(runtime, count), in snd_korg1212_playback_silence()
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-pcm.c202 pos = bytes_to_frames(substream->runtime, pos); in hda_dsp_pcm_pointer()
/openbmc/linux/sound/soc/sof/
H A Dpcm.c406 host = bytes_to_frames(substream->runtime, in sof_pcm_pointer()
408 dai = bytes_to_frames(substream->runtime, in sof_pcm_pointer()
/openbmc/linux/sound/soc/au1x/
H A Ddbdma2.c273 return bytes_to_frames(substream->runtime, in au1xpsc_pcm_pointer()
/openbmc/linux/sound/soc/fsl/
H A Dimx-pcm-fiq.c153 return bytes_to_frames(substream->runtime, iprtd->offset); in snd_imx_pcm_pointer()
/openbmc/linux/drivers/media/usb/go7007/
H A Dsnd-go7007.c68 int frames = bytes_to_frames(runtime, length); in parse_audio_stream_data()
/openbmc/linux/drivers/usb/gadget/function/
H A Du_uac1_legacy.c172 frames = bytes_to_frames(runtime, count); in u_audio_playback()
/openbmc/linux/sound/drivers/pcsp/
H A Dpcsp_lib.c279 return bytes_to_frames(substream->runtime, pos); in snd_pcsp_playback_pointer()
/openbmc/linux/sound/virtio/
H A Dvirtio_pcm_msg.c319 bytes_to_frames(runtime, in virtsnd_pcm_msg_complete()
/openbmc/linux/sound/isa/msnd/
H A 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()
/openbmc/linux/sound/pci/emu10k1/
H A Dp16v.c492 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback()
514 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_capture()

123456