Home
last modified time | relevance | path

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

/linux/sound/soc/sof/amd/
H A Dacp-pcm.c95 struct sof_ipc_stream_posn posn; in acp_pcm_pointer() local
108 ret = snd_sof_ipc_msg_data(sdev, stream, &posn, sizeof(posn)); in acp_pcm_pointer()
114 memcpy(&stream->posn, &posn, sizeof(posn)); in acp_pcm_pointer()
115 pos = spcm->stream[substream->stream].posn.host_posn; in acp_pcm_pointer()
H A Dacp-ipc.c220 u32 posn; in acp_sof_ipc_irq_thread() local
229 posn = val & ~PROBE_STATUS_BIT; in acp_sof_ipc_irq_thread()
234 adata->probe_stream->cstream_posn = posn; in acp_sof_ipc_irq_thread()
236 snd_sof_dsp_write(sdev, ACP_DSP_BAR, desc->probe_reg_offset, posn); in acp_sof_ipc_irq_thread()
/linux/include/trace/events/
H A Dsof.h43 TP_PROTO(struct snd_sof_dev *sdev, struct sof_ipc_stream_posn *posn),
44 TP_ARGS(sdev, posn),
53 __entry->host_posn = posn->host_posn;
54 __entry->dai_posn = posn->dai_posn;
55 __entry->wallclock = posn->wallclock;
/linux/sound/soc/sof/mediatek/mt8195/
H A Dmt8195.c425 struct sof_ipc_stream_posn posn; in mt8195_pcm_pointer() local
438 ret = snd_sof_ipc_msg_data(sdev, stream, &posn, sizeof(posn)); in mt8195_pcm_pointer()
444 memcpy(&stream->posn, &posn, sizeof(posn)); in mt8195_pcm_pointer()
445 pos = spcm->stream[substream->stream].posn.host_posn; in mt8195_pcm_pointer()
/linux/sound/soc/sof/mediatek/mt8186/
H A Dmt8186.c406 struct sof_ipc_stream_posn posn; in mt8186_pcm_pointer() local
419 ret = snd_sof_ipc_msg_data(sdev, stream, &posn, sizeof(posn)); in mt8186_pcm_pointer()
425 memcpy(&stream->posn, &posn, sizeof(posn)); in mt8186_pcm_pointer()
426 pos = spcm->stream[substream->stream].posn.host_posn; in mt8186_pcm_pointer()
/linux/sound/soc/sof/
H A Dcompress.c71 sof_set_transferred_bytes(sstream, spcm->stream[cstream->direction].posn.host_posn, in snd_sof_compr_fragment_elapsed()
122 spcm->stream[dir].posn.host_posn = 0; in sof_compr_open()
123 spcm->stream[dir].posn.dai_posn = 0; in sof_compr_open()
376 tstamp->pcm_io_frames = div_u64(spcm->stream[cstream->direction].posn.dai_posn, in sof_compr_pointer()
H A Dipc3-dtrace.c562 struct sof_ipc_dma_trace_posn *posn) in ipc3_dtrace_posn_update() argument
570 sof_dtrace_set_host_offset(priv, posn->host_offset)) in ipc3_dtrace_posn_update()
573 if (posn->overflow != 0) in ipc3_dtrace_posn_update()
576 posn->overflow, posn->messages); in ipc3_dtrace_posn_update()
H A Dipc3-priv.h30 struct sof_ipc_dma_trace_posn *posn);
H A Dpcm.c411 spcm->stream[substream->stream].posn.host_posn); in sof_pcm_pointer()
413 spcm->stream[substream->stream].posn.dai_posn); in sof_pcm_pointer()
473 spcm->stream[substream->stream].posn.host_posn = 0; in sof_pcm_open()
474 spcm->stream[substream->stream].posn.dai_posn = 0; in sof_pcm_open()
H A Dsof-audio.h329 struct sof_ipc_stream_posn posn; member
587 struct sof_ipc_stream_posn *posn);
/linux/sound/soc/sof/intel/
H A Dhda-pcm.c204 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()