Home
last modified time | relevance | path

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

/Linux-v5.15/sound/soc/sof/
Dipc.c431 struct sof_ipc_dma_trace_posn posn; in ipc_trace_message() local
436 snd_sof_ipc_msg_data(sdev, NULL, &posn, sizeof(posn)); in ipc_trace_message()
437 snd_sof_trace_update_pos(sdev, &posn); in ipc_trace_message()
454 struct sof_ipc_stream_posn posn; in ipc_period_elapsed() local
467 snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc_period_elapsed()
470 posn.host_posn, posn.dai_posn, posn.wallclock); in ipc_period_elapsed()
472 memcpy(&stream->posn, &posn, sizeof(posn)); in ipc_period_elapsed()
484 struct sof_ipc_stream_posn posn; in ipc_xrun() local
496 snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc_xrun()
499 posn.host_posn, posn.xrun_comp_id, posn.xrun_size); in ipc_xrun()
[all …]
Dtrace.c508 struct sof_ipc_dma_trace_posn *posn) in snd_sof_trace_update_pos() argument
513 if (sdev->dtrace_is_enabled && sdev->host_offset != posn->host_offset) { in snd_sof_trace_update_pos()
514 sdev->host_offset = posn->host_offset; in snd_sof_trace_update_pos()
518 if (posn->overflow != 0) in snd_sof_trace_update_pos()
521 posn->overflow, posn->messages); in snd_sof_trace_update_pos()
Dsof-audio.h35 struct sof_ipc_stream_posn posn; member
172 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()
509 spcm->stream[substream->stream].posn.host_posn = 0; in sof_pcm_open()
510 spcm->stream[substream->stream].posn.dai_posn = 0; in sof_pcm_open()
Dsof-priv.h533 struct sof_ipc_dma_trace_posn *posn);
/Linux-v5.15/sound/soc/sof/intel/
Dhda-pcm.c171 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dchip.c5730 static inline int port_inactive_err(u64 posn) in port_inactive_err() argument
5732 return (posn >= SEES(TX_LINKDOWN) && in port_inactive_err()
5733 posn <= SEES(TX_INCORRECT_LINK_STATE)); in port_inactive_err()
5740 static inline int disallowed_pkt_err(int posn) in disallowed_pkt_err() argument
5742 return (posn >= SEES(TX_SDMA0_DISALLOWED_PACKET) && in disallowed_pkt_err()
5743 posn <= SEES(TX_SDMA15_DISALLOWED_PACKET)); in disallowed_pkt_err()
5751 static inline int disallowed_pkt_engine(int posn) in disallowed_pkt_engine() argument
5753 return posn - SEES(TX_SDMA0_DISALLOWED_PACKET); in disallowed_pkt_engine()
5819 int posn = fls64(reg_copy); in handle_egress_err() local
5821 int shift = posn - 1; in handle_egress_err()