Lines Matching refs:sst

26 struct sst_device *sst;  variable
36 if (sst) { in sst_register_dsp()
37 dev_err(dev->dev, "we already have a device %s\n", sst->name); in sst_register_dsp()
43 sst = dev; in sst_register_dsp()
53 if (dev != sst) in sst_unregister_dsp()
58 if (!sst) { in sst_unregister_dsp()
63 module_put(sst->dev->driver->owner); in sst_unregister_dsp()
64 dev_dbg(dev->dev, "unreg %s\n", sst->name); in sst_unregister_dsp()
65 sst = NULL; in sst_unregister_dsp()
247 ret_val = stream->ops->open(sst->dev, &str_params); in sst_platform_alloc_stream()
285 ret_val = stream->ops->stream_init(sst->dev, &stream->stream_info); in sst_platform_init_stream()
294 return stream->ops->power(sst->dev, true); in power_up_sst()
299 stream->ops->power(sst->dev, false); in power_down_sst()
316 if (!sst || in sst_media_open()
317 !try_module_get(sst->dev->driver->owner)) { in sst_media_open()
322 stream->ops = sst->ops; in sst_media_open()
370 stream->ops->close(sst->dev, str_id); in sst_media_close()
371 module_put(sst->dev->driver->owner); in sst_media_close()
384 ret_val = stream->ops->stream_drop(sst->dev, str_id); in sst_media_prepare()
608 ret_val = stream->ops->stream_start(sst->dev, str_id); in sst_soc_trigger()
613 ret_val = stream->ops->stream_drop(sst->dev, str_id); in sst_soc_trigger()
619 ret_val = stream->ops->stream_pause(sst->dev, str_id); in sst_soc_trigger()
625 ret_val = stream->ops->stream_pause_release(sst->dev, str_id); in sst_soc_trigger()
651 ret_val = stream->ops->stream_read_tstamp(sst->dev, str_info); in sst_soc_pointer()