Searched refs:sstream (Results 1 – 2 of 2) sorted by relevance
15 static void sof_set_transferred_bytes(struct sof_compr_stream *sstream, in sof_set_transferred_bytes() argument21 div64_u64_rem(sstream->copied_total, buffer_size, &prev_pos); in sof_set_transferred_bytes()28 sstream->copied_total += copied; in sof_set_transferred_bytes()53 struct sof_compr_stream *sstream; in snd_sof_compr_fragment_elapsed() local61 sstream = crtd->private_data; in snd_sof_compr_fragment_elapsed()71 sof_set_transferred_bytes(sstream, spcm->stream[cstream->direction].posn.host_posn, in snd_sof_compr_fragment_elapsed()100 struct sof_compr_stream *sstream; in sof_compr_open() local104 sstream = kzalloc(sizeof(*sstream), GFP_KERNEL); in sof_compr_open()105 if (!sstream) in sof_compr_open()110 kfree(sstream); in sof_compr_open()[all …]
48 struct sof_compr_stream *sstream = sps->cstream->runtime->private_data; in sof_ipc_msg_data() local 50 if (!sstream) in sof_ipc_msg_data() 53 posn_offset = sstream->posn_offset; in sof_ipc_msg_data() 81 struct sof_compr_stream *sstream = sps->cstream->runtime->private_data; in sof_set_stream_data_offset() local 83 sstream->posn_offset = posn_offset; in sof_set_stream_data_offset()