Home
last modified time | relevance | path

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

/Linux-v5.10/sound/soc/sof/
Dipc.c420 struct sof_ipc_dma_trace_posn posn; in ipc_trace_message() local
425 snd_sof_ipc_msg_data(sdev, NULL, &posn, sizeof(posn)); in ipc_trace_message()
426 snd_sof_trace_update_pos(sdev, &posn); in ipc_trace_message()
443 struct sof_ipc_stream_posn posn; in ipc_period_elapsed() local
456 snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc_period_elapsed()
459 posn.host_posn, posn.dai_posn, posn.wallclock); in ipc_period_elapsed()
461 memcpy(&stream->posn, &posn, sizeof(posn)); in ipc_period_elapsed()
473 struct sof_ipc_stream_posn posn; in ipc_xrun() local
485 snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc_xrun()
488 posn.host_posn, posn.xrun_comp_id, posn.xrun_size); in ipc_xrun()
[all …]
Dtrace.c284 struct sof_ipc_dma_trace_posn *posn) in snd_sof_trace_update_pos() argument
289 if (sdev->dtrace_is_enabled && sdev->host_offset != posn->host_offset) { in snd_sof_trace_update_pos()
290 sdev->host_offset = posn->host_offset; in snd_sof_trace_update_pos()
294 if (posn->overflow != 0) in snd_sof_trace_update_pos()
297 posn->overflow, posn->messages); in snd_sof_trace_update_pos()
Dsof-audio.h35 struct sof_ipc_stream_posn posn; member
168 struct sof_ipc_stream_posn *posn);
Dpcm.c445 spcm->stream[substream->stream].posn.host_posn); in sof_pcm_pointer()
447 spcm->stream[substream->stream].posn.dai_posn); in sof_pcm_pointer()
516 spcm->stream[substream->stream].posn.host_posn = 0; in sof_pcm_open()
517 spcm->stream[substream->stream].posn.dai_posn = 0; in sof_pcm_open()
Dsof-priv.h518 struct sof_ipc_dma_trace_posn *posn);
/Linux-v5.10/sound/soc/sof/intel/
Dhda-pcm.c166 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dchip.c5772 static inline int port_inactive_err(u64 posn) in port_inactive_err() argument
5774 return (posn >= SEES(TX_LINKDOWN) && in port_inactive_err()
5775 posn <= SEES(TX_INCORRECT_LINK_STATE)); in port_inactive_err()
5782 static inline int disallowed_pkt_err(int posn) in disallowed_pkt_err() argument
5784 return (posn >= SEES(TX_SDMA0_DISALLOWED_PACKET) && in disallowed_pkt_err()
5785 posn <= SEES(TX_SDMA15_DISALLOWED_PACKET)); in disallowed_pkt_err()
5793 static inline int disallowed_pkt_engine(int posn) in disallowed_pkt_engine() argument
5795 return posn - SEES(TX_SDMA0_DISALLOWED_PACKET); in disallowed_pkt_engine()
5861 int posn = fls64(reg_copy); in handle_egress_err() local
5863 int shift = posn - 1; in handle_egress_err()