Lines Matching full:direction
71 sof_set_transferred_bytes(sstream, spcm->stream[cstream->direction].posn.host_posn, in snd_sof_compr_fragment_elapsed()
75 schedule_work(&spcm->stream[cstream->direction].period_elapsed_work); in snd_sof_compr_fragment_elapsed()
84 int dir = cstream->direction; in create_page_table()
114 dir = cstream->direction; in sof_compr_open()
147 stream.comp_id = spcm->stream[cstream->direction].comp_id; in sof_compr_free()
149 if (spcm->prepared[cstream->direction]) { in sof_compr_free()
152 spcm->prepared[cstream->direction] = false; in sof_compr_free()
155 cancel_work_sync(&spcm->stream[cstream->direction].period_elapsed_work); in sof_compr_free()
156 spcm->stream[cstream->direction].cstream = NULL; in sof_compr_free()
216 pcm->comp_id = spcm->stream[cstream->direction].comp_id; in sof_compr_set_params()
218 pcm->params.buffer.phy_addr = spcm->stream[cstream->direction].page_table.addr; in sof_compr_set_params()
220 pcm->params.direction = cstream->direction; in sof_compr_set_params()
239 ret = snd_sof_set_stream_data_offset(sdev, &spcm->stream[cstream->direction], in sof_compr_set_params()
251 spcm->prepared[cstream->direction] = true; in sof_compr_set_params()
282 stream.comp_id = spcm->stream[cstream->direction].comp_id; in sof_compr_trigger()
356 if (cstream->direction == SND_COMPRESS_PLAYBACK) in sof_compr_copy()
376 tstamp->pcm_io_frames = div_u64(spcm->stream[cstream->direction].posn.dai_posn, in sof_compr_pointer()