Lines Matching refs:skl
101 int skl_get_pvt_instance_id_map(struct skl_dev *skl, in skl_get_pvt_instance_id_map() argument
106 list_for_each_entry(module, &skl->uuid_list, list) { in skl_get_pvt_instance_id_map()
172 int skl_get_pvt_id(struct skl_dev *skl, guid_t *uuid_mod, int instance_id) in skl_get_pvt_id() argument
177 list_for_each_entry(module, &skl->uuid_list, list) { in skl_get_pvt_id()
202 int skl_put_pvt_id(struct skl_dev *skl, guid_t *uuid_mod, int *pvt_id) in skl_put_pvt_id() argument
207 list_for_each_entry(module, &skl->uuid_list, list) { in skl_put_pvt_id()
236 struct skl_dev *skl = ctx->thread_context; in snd_skl_parse_uuids() local
306 list_add_tail(&module->list, &skl->uuid_list); in snd_skl_parse_uuids()
316 skl_freeup_uuid_list(skl); in snd_skl_parse_uuids()
320 void skl_freeup_uuid_list(struct skl_dev *skl) in skl_freeup_uuid_list() argument
324 list_for_each_entry_safe(uuid, _uuid, &skl->uuid_list, list) { in skl_freeup_uuid_list()
361 struct skl_dev *skl = *dsp; in skl_sst_ctx_init() local
364 skl->dev = dev; in skl_sst_ctx_init()
365 skl_dev->thread_context = skl; in skl_sst_ctx_init()
366 INIT_LIST_HEAD(&skl->uuid_list); in skl_sst_ctx_init()
367 skl->dsp = skl_dsp_ctx_init(dev, skl_dev, irq); in skl_sst_ctx_init()
368 if (!skl->dsp) { in skl_sst_ctx_init()
369 dev_err(skl->dev, "%s: no device\n", __func__); in skl_sst_ctx_init()
373 sst = skl->dsp; in skl_sst_ctx_init()
376 init_waitqueue_head(&skl->mod_load_wait); in skl_sst_ctx_init()
379 skl->is_first_boot = true; in skl_sst_ctx_init()
384 int skl_prepare_lib_load(struct skl_dev *skl, struct skl_lib_info *linfo, in skl_prepare_lib_load() argument
389 struct sst_dsp *dsp = skl->dsp; in skl_prepare_lib_load()
393 skl->dev); in skl_prepare_lib_load()
395 dev_err(skl->dev, "Request lib %s failed:%d\n", in skl_prepare_lib_load()
401 if (skl->is_first_boot) { in skl_prepare_lib_load()