Searched refs:posn (Results 1 – 10 of 10) sorted by relevance
| /linux/sound/soc/sof/amd/ |
| H A D | acp-pcm.c | 95 struct sof_ipc_stream_posn posn; in acp_pcm_pointer() local 108 ret = snd_sof_ipc_msg_data(sdev, stream, &posn, sizeof(posn)); in acp_pcm_pointer() 114 memcpy(&stream->posn, &posn, sizeof(posn)); in acp_pcm_pointer() 115 pos = spcm->stream[substream->stream].posn.host_posn; in acp_pcm_pointer()
|
| H A D | acp-ipc.c | 218 u32 posn; in acp_sof_ipc_irq_thread() 227 posn = val & ~PROBE_STATUS_BIT; in acp_sof_ipc_irq_thread() 229 /* Probe related posn value is of 31 bits limited to 2GB in acp_sof_ipc_irq_thread() 230 * once wrapped DSP won't send posn interrupt. in acp_sof_ipc_irq_thread() 232 adata->probe_stream->cstream_posn = posn; in acp_sof_ipc_irq_thread() 234 snd_sof_dsp_write(sdev, ACP_DSP_BAR, desc->probe_reg_offset, posn); in acp_sof_ipc_irq_thread() 287 dev_dbg(sdev->dev, "pcm: stream dir %d, posn mailbox offset is %zu", in acp_set_stream_data_offset() 220 u32 posn; acp_sof_ipc_irq_thread() local
|
| /linux/include/trace/events/ |
| H A D | sof.h | 43 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/sound/soc/sof/ |
| H A D | ipc3-dtrace.c | 566 struct sof_ipc_dma_trace_posn *posn) in ipc3_dtrace_posn_update() argument 574 sof_dtrace_set_host_offset(priv, posn->host_offset)) in ipc3_dtrace_posn_update() 577 if (posn->overflow != 0) in ipc3_dtrace_posn_update() 580 posn->overflow, posn->messages); in ipc3_dtrace_posn_update()
|
| H A D | compress.c | 71 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() 384 tstamp->pcm_io_frames = div_u64(spcm->stream[cstream->direction].posn.dai_posn, in sof_compr_pointer()
|
| H A D | pcm.c | 527 spcm->stream[substream->stream].posn.host_posn); in sof_pcm_open() 529 spcm->stream[substream->stream].posn.dai_posn); in sof_pcm_open() 578 spcm->stream[substream->stream].posn.host_posn = 0; in sof_pcm_new() 579 spcm->stream[substream->stream].posn.dai_posn = 0; in sof_pcm_new()
|
| H A D | ipc3-priv.h | 30 struct sof_ipc_dma_trace_posn *posn);
|
| H A D | sof-audio.h | 332 struct sof_ipc_stream_posn posn; 605 struct sof_ipc_stream_posn *posn); in snd_sof_find_spcm_dai() 329 struct sof_ipc_stream_posn posn; global() member
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda-pcm.c | 206 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | chip.c | 5732 static inline int port_inactive_err(u64 posn) in port_inactive_err() argument 5734 return (posn >= SEES(TX_LINKDOWN) && in port_inactive_err() 5735 posn <= SEES(TX_INCORRECT_LINK_STATE)); in port_inactive_err() 5742 static inline int disallowed_pkt_err(int posn) in disallowed_pkt_err() argument 5744 return (posn >= SEES(TX_SDMA0_DISALLOWED_PACKET) && in disallowed_pkt_err() 5745 posn <= SEES(TX_SDMA15_DISALLOWED_PACKET)); in disallowed_pkt_err() 5753 static inline int disallowed_pkt_engine(int posn) in disallowed_pkt_engine() argument 5755 return posn - SEES(TX_SDMA0_DISALLOWED_PACKET); in disallowed_pkt_engine() 5821 int posn = fls64(reg_copy); in handle_egress_err() local 5823 int shift = posn - 1; in handle_egress_err()
|