Home
last modified time | relevance | path

Searched refs:posn (Results 1 – 9 of 9) sorted by relevance

/sound/soc/sof/
Dipc3.c838 struct sof_ipc_stream_posn posn; in ipc3_period_elapsed() local
850 ret = snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc3_period_elapsed()
856 trace_sof_ipc3_period_elapsed_position(sdev, &posn); in ipc3_period_elapsed()
858 memcpy(&stream->posn, &posn, sizeof(posn)); in ipc3_period_elapsed()
873 struct sof_ipc_stream_posn posn; in ipc3_xrun() local
885 ret = snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc3_xrun()
892 posn.host_posn, posn.xrun_comp_id, posn.xrun_size); in ipc3_xrun()
896 memcpy(&stream->posn, &posn, sizeof(posn)); in ipc3_xrun()
Dcompress.c70 sof_set_transferred_bytes(sstream, spcm->stream[cstream->direction].posn.host_posn, in snd_sof_compr_fragment_elapsed()
121 spcm->stream[dir].posn.host_posn = 0; in sof_compr_open()
122 spcm->stream[dir].posn.dai_posn = 0; in sof_compr_open()
371 tstamp->pcm_io_frames = div_u64(spcm->stream[cstream->direction].posn.dai_posn, in sof_compr_pointer()
Dipc3-dtrace.c570 struct sof_ipc_dma_trace_posn *posn) in ipc3_dtrace_posn_update() argument
578 sof_dtrace_set_host_offset(priv, posn->host_offset)) in ipc3_dtrace_posn_update()
581 if (posn->overflow != 0) in ipc3_dtrace_posn_update()
584 posn->overflow, posn->messages); in ipc3_dtrace_posn_update()
Dpcm.c384 spcm->stream[substream->stream].posn.host_posn); in sof_pcm_pointer()
386 spcm->stream[substream->stream].posn.dai_posn); in sof_pcm_pointer()
446 spcm->stream[substream->stream].posn.host_posn = 0; in sof_pcm_open()
447 spcm->stream[substream->stream].posn.dai_posn = 0; in sof_pcm_open()
Dipc3-priv.h30 struct sof_ipc_dma_trace_posn *posn);
Dsof-audio.h269 struct sof_ipc_stream_posn posn; member
462 struct sof_ipc_stream_posn *posn);
/sound/soc/sof/mediatek/mt8186/
Dmt8186.c479 struct sof_ipc_stream_posn posn; in mt8186_pcm_pointer() local
492 ret = snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in mt8186_pcm_pointer()
498 memcpy(&stream->posn, &posn, sizeof(posn)); in mt8186_pcm_pointer()
499 pos = spcm->stream[substream->stream].posn.host_posn; in mt8186_pcm_pointer()
/sound/soc/sof/mediatek/mt8195/
Dmt8195.c515 struct sof_ipc_stream_posn posn; in mt8195_pcm_pointer() local
528 ret = snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in mt8195_pcm_pointer()
534 memcpy(&stream->posn, &posn, sizeof(posn)); in mt8195_pcm_pointer()
535 pos = spcm->stream[substream->stream].posn.host_posn; in mt8195_pcm_pointer()
/sound/soc/sof/intel/
Dhda-pcm.c192 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()