Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/trace/events/
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-6.3-rc2/sound/soc/sof/
A Dipc3.c838 struct sof_ipc_stream_posn posn; in ipc3_period_elapsed() local
850 ret = snd_sof_ipc_msg_data(sdev, stream, &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, &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()
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()
380 tstamp->pcm_io_frames = div_u64(spcm->stream[cstream->direction].posn.dai_posn, in sof_compr_pointer()
A Dipc3-dtrace.c571 struct sof_ipc_dma_trace_posn *posn) in ipc3_dtrace_posn_update() argument
579 sof_dtrace_set_host_offset(priv, posn->host_offset)) in ipc3_dtrace_posn_update()
582 if (posn->overflow != 0) in ipc3_dtrace_posn_update()
585 posn->overflow, posn->messages); in ipc3_dtrace_posn_update()
A Dipc3-priv.h30 struct sof_ipc_dma_trace_posn *posn);
A Dpcm.c381 spcm->stream[substream->stream].posn.host_posn); in sof_pcm_pointer()
383 spcm->stream[substream->stream].posn.dai_posn); in sof_pcm_pointer()
443 spcm->stream[substream->stream].posn.host_posn = 0; in sof_pcm_open()
444 spcm->stream[substream->stream].posn.dai_posn = 0; in sof_pcm_open()
A Dsof-audio.h306 struct sof_ipc_stream_posn posn; member
553 struct sof_ipc_stream_posn *posn);
/linux-6.3-rc2/sound/soc/sof/mediatek/mt8186/
A Dmt8186.c484 struct sof_ipc_stream_posn posn; in mt8186_pcm_pointer() local
497 ret = snd_sof_ipc_msg_data(sdev, stream, &posn, sizeof(posn)); in mt8186_pcm_pointer()
503 memcpy(&stream->posn, &posn, sizeof(posn)); in mt8186_pcm_pointer()
504 pos = spcm->stream[substream->stream].posn.host_posn; in mt8186_pcm_pointer()
/linux-6.3-rc2/sound/soc/sof/mediatek/mt8195/
A Dmt8195.c510 struct sof_ipc_stream_posn posn; in mt8195_pcm_pointer() local
523 ret = snd_sof_ipc_msg_data(sdev, stream, &posn, sizeof(posn)); in mt8195_pcm_pointer()
529 memcpy(&stream->posn, &posn, sizeof(posn)); in mt8195_pcm_pointer()
530 pos = spcm->stream[substream->stream].posn.host_posn; in mt8195_pcm_pointer()
/linux-6.3-rc2/sound/soc/sof/intel/
A Dhda-pcm.c191 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dchip.c5731 static inline int port_inactive_err(u64 posn) in port_inactive_err() argument
5733 return (posn >= SEES(TX_LINKDOWN) && in port_inactive_err()
5734 posn <= SEES(TX_INCORRECT_LINK_STATE)); in port_inactive_err()
5741 static inline int disallowed_pkt_err(int posn) in disallowed_pkt_err() argument
5743 return (posn >= SEES(TX_SDMA0_DISALLOWED_PACKET) && in disallowed_pkt_err()
5744 posn <= SEES(TX_SDMA15_DISALLOWED_PACKET)); in disallowed_pkt_err()
5752 static inline int disallowed_pkt_engine(int posn) in disallowed_pkt_engine() argument
5754 return posn - SEES(TX_SDMA0_DISALLOWED_PACKET); in disallowed_pkt_engine()
5820 int posn = fls64(reg_copy); in handle_egress_err() local
5822 int shift = posn - 1; in handle_egress_err()

Completed in 41 milliseconds