Home
last modified time | relevance | path

Searched refs:compr_ops (Results 1 – 5 of 5) sorted by relevance

/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c61 stream->compr_ops = sst->compr_ops; in sst_platform_compr_open()
65 sst->compr_ops->power(sst->dev, true); in sst_platform_compr_open()
83 sst->compr_ops->power(sst->dev, false); in sst_platform_compr_free()
88 ret_val = stream->compr_ops->close(sst->dev, str_id); in sst_platform_compr_free()
159 retval = stream->compr_ops->open(sst->dev, &str_params, &cb); in sst_platform_compr_set_params()
176 if (stream->compr_ops->stream_start) in sst_platform_compr_trigger()
177 return stream->compr_ops->stream_start(sst->dev, stream->id); in sst_platform_compr_trigger()
180 if (stream->compr_ops->stream_drop) in sst_platform_compr_trigger()
181 return stream->compr_ops->stream_drop(sst->dev, stream->id); in sst_platform_compr_trigger()
184 if (stream->compr_ops->stream_drain) in sst_platform_compr_trigger()
[all …]
Dsst-mfld-platform.h138 struct compress_sst_ops *compr_ops; member
147 struct compress_sst_ops *compr_ops; member
/sound/soc/
Dsoc-link.c189 if (rtd->dai_link->compr_ops && in snd_soc_link_compr_startup()
190 rtd->dai_link->compr_ops->startup) in snd_soc_link_compr_startup()
191 ret = rtd->dai_link->compr_ops->startup(cstream); in snd_soc_link_compr_startup()
208 if (rtd->dai_link->compr_ops && in snd_soc_link_compr_shutdown()
209 rtd->dai_link->compr_ops->shutdown) in snd_soc_link_compr_shutdown()
210 rtd->dai_link->compr_ops->shutdown(cstream); in snd_soc_link_compr_shutdown()
221 if (rtd->dai_link->compr_ops && in snd_soc_link_compr_set_params()
222 rtd->dai_link->compr_ops->set_params) in snd_soc_link_compr_set_params()
223 ret = rtd->dai_link->compr_ops->set_params(cstream); in snd_soc_link_compr_set_params()
/sound/soc/sprd/
Dsprd-pcm-compress.c71 struct sprd_compr_ops *compr_ops; member
300 ret = stream->compr_ops->set_params(cstream->direction, &compr_params); in sprd_platform_compr_set_params()
336 stream->compr_ops = data->ops; in sprd_platform_compr_open()
373 ret = stream->compr_ops->open(stream_id, &cb); in sprd_platform_compr_open()
412 stream->compr_ops->close(stream_id); in sprd_platform_compr_free()
457 ret = stream->compr_ops->start(stream_id); in sprd_platform_compr_trigger()
474 ret = stream->compr_ops->stop(stream_id); in sprd_platform_compr_trigger()
486 ret = stream->compr_ops->pause(stream_id); in sprd_platform_compr_trigger()
498 ret = stream->compr_ops->pause_release(stream_id); in sprd_platform_compr_trigger()
503 ret = stream->compr_ops->drain(stream->received_total); in sprd_platform_compr_trigger()
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c673 static struct compress_sst_ops compr_ops = { variable
694 .compr_ops = &compr_ops,