Home
last modified time | relevance | path

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

/linux/sound/soc/sof/
A Dipc.c498 struct sof_ipc_dma_trace_posn posn; in ipc_trace_message() local
504 ret = snd_sof_ipc_msg_data(sdev, NULL, &posn, sizeof(posn)); in ipc_trace_message()
524 struct sof_ipc_stream_posn posn; in ipc_period_elapsed() local
537 ret = snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc_period_elapsed()
544 posn.host_posn, posn.dai_posn, posn.wallclock); in ipc_period_elapsed()
546 memcpy(&stream->posn, &posn, sizeof(posn)); in ipc_period_elapsed()
560 struct sof_ipc_stream_posn posn; in ipc_xrun() local
572 ret = snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc_xrun()
579 posn.host_posn, posn.xrun_comp_id, posn.xrun_size); in ipc_xrun()
583 memcpy(&stream->posn, &posn, sizeof(posn)); in ipc_xrun()
[all …]
A Dtrace.c509 struct sof_ipc_dma_trace_posn *posn) in snd_sof_trace_update_pos() argument
514 if (sdev->dtrace_is_enabled && sdev->host_offset != posn->host_offset) { in snd_sof_trace_update_pos()
515 sdev->host_offset = posn->host_offset; in snd_sof_trace_update_pos()
519 if (posn->overflow != 0) in snd_sof_trace_update_pos()
522 posn->overflow, posn->messages); in snd_sof_trace_update_pos()
A Dsof-audio.h37 struct sof_ipc_stream_posn posn; member
199 struct sof_ipc_stream_posn *posn);
A Dpcm.c504 spcm->stream[substream->stream].posn.host_posn); in sof_pcm_pointer()
506 spcm->stream[substream->stream].posn.dai_posn); in sof_pcm_pointer()
568 spcm->stream[substream->stream].posn.host_posn = 0; in sof_pcm_open()
569 spcm->stream[substream->stream].posn.dai_posn = 0; in sof_pcm_open()
A Dsof-priv.h543 struct sof_ipc_dma_trace_posn *posn);
/linux/sound/soc/sof/intel/
A Dhda-pcm.c171 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()
/linux/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 38 milliseconds