Home
last modified time | relevance | path

Searched refs:sstream (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/sof/
H A Dcompress.c15 static void sof_set_transferred_bytes(struct sof_compr_stream *sstream, in sof_set_transferred_bytes() argument
21 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() local
61 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() local
104 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 …]
H A Dstream-ipc.c48 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()