Lines Matching full:direction
70 sof_set_transferred_bytes(sstream, spcm->stream[cstream->direction].posn.host_posn, in snd_sof_compr_fragment_elapsed()
74 schedule_work(&spcm->stream[cstream->direction].period_elapsed_work); in snd_sof_compr_fragment_elapsed()
83 int dir = cstream->direction; in create_page_table()
113 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()
153 spcm->prepared[cstream->direction] = false; in sof_compr_free()
156 cancel_work_sync(&spcm->stream[cstream->direction].period_elapsed_work); in sof_compr_free()
157 spcm->stream[cstream->direction].cstream = NULL; in sof_compr_free()
217 pcm->comp_id = spcm->stream[cstream->direction].comp_id; in sof_compr_set_params()
219 pcm->params.buffer.phy_addr = spcm->stream[cstream->direction].page_table.addr; in sof_compr_set_params()
221 pcm->params.direction = cstream->direction; in sof_compr_set_params()
244 spcm->prepared[cstream->direction] = true; in sof_compr_set_params()
276 stream.comp_id = spcm->stream[cstream->direction].comp_id; in sof_compr_trigger()
351 if (cstream->direction == SND_COMPRESS_PLAYBACK) in sof_compr_copy()
371 tstamp->pcm_io_frames = div_u64(spcm->stream[cstream->direction].posn.dai_posn, in sof_compr_pointer()