Searched refs:posn (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/sound/soc/sof/ |
| D | ipc.c | 396 struct sof_ipc_dma_trace_posn posn; in ipc_trace_message() local 401 snd_sof_ipc_msg_data(sdev, NULL, &posn, sizeof(posn)); in ipc_trace_message() 402 snd_sof_trace_update_pos(sdev, &posn); in ipc_trace_message() 418 struct sof_ipc_stream_posn posn; in ipc_period_elapsed() local 431 snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc_period_elapsed() 434 posn.host_posn, posn.dai_posn, posn.wallclock); in ipc_period_elapsed() 436 memcpy(&stream->posn, &posn, sizeof(posn)); in ipc_period_elapsed() 447 struct sof_ipc_stream_posn posn; in ipc_xrun() local 459 snd_sof_ipc_msg_data(sdev, stream->substream, &posn, sizeof(posn)); in ipc_xrun() 462 posn.host_posn, posn.xrun_comp_id, posn.xrun_size); in ipc_xrun() [all …]
|
| D | trace.c | 278 struct sof_ipc_dma_trace_posn *posn) in snd_sof_trace_update_pos() argument 280 if (sdev->dtrace_is_enabled && sdev->host_offset != posn->host_offset) { in snd_sof_trace_update_pos() 281 sdev->host_offset = posn->host_offset; in snd_sof_trace_update_pos() 285 if (posn->overflow != 0) in snd_sof_trace_update_pos() 288 posn->overflow, posn->messages); in snd_sof_trace_update_pos()
|
| D | pcm.c | 421 spcm->stream[substream->stream].posn.host_posn); in sof_pcm_pointer() 423 spcm->stream[substream->stream].posn.dai_posn); in sof_pcm_pointer() 496 spcm->stream[substream->stream].posn.host_posn = 0; in sof_pcm_open() 497 spcm->stream[substream->stream].posn.dai_posn = 0; in sof_pcm_open()
|
| D | sof-priv.h | 293 struct sof_ipc_stream_posn posn; member 529 struct sof_ipc_stream_posn *posn); 571 struct sof_ipc_dma_trace_posn *posn);
|
| /Linux-v5.4/sound/soc/sof/intel/ |
| D | hda-pcm.c | 155 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()
|
| /Linux-v5.4/drivers/infiniband/hw/hfi1/ |
| D | chip.c | 5743 static inline int port_inactive_err(u64 posn) in port_inactive_err() argument 5745 return (posn >= SEES(TX_LINKDOWN) && in port_inactive_err() 5746 posn <= SEES(TX_INCORRECT_LINK_STATE)); in port_inactive_err() 5753 static inline int disallowed_pkt_err(int posn) in disallowed_pkt_err() argument 5755 return (posn >= SEES(TX_SDMA0_DISALLOWED_PACKET) && in disallowed_pkt_err() 5756 posn <= SEES(TX_SDMA15_DISALLOWED_PACKET)); in disallowed_pkt_err() 5764 static inline int disallowed_pkt_engine(int posn) in disallowed_pkt_engine() argument 5766 return posn - SEES(TX_SDMA0_DISALLOWED_PACKET); in disallowed_pkt_engine() 5832 int posn = fls64(reg_copy); in handle_egress_err() local 5834 int shift = posn - 1; in handle_egress_err()
|