• Home
  • Raw
  • Download

Lines Matching refs:skl

113 	struct skl_dev *skl = bus_to_skl(bus);  in skl_set_suspend_active()  local
118 skl->supend_active++; in skl_set_suspend_active()
120 skl->supend_active--; in skl_set_suspend_active()
126 struct skl_dev *skl = bus_to_skl(bus); in skl_pcm_host_dma_prepare() local
155 if (IS_BXT(skl->pci)) { in skl_pcm_host_dma_prepare()
218 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_open() local
259 skl_tplg_d0i3_get(skl, mconfig->d0i3_caps); in skl_pcm_open()
267 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_prepare() local
284 ret = skl_reset_pipe(skl, mconfig->pipe); in skl_pcm_prepare()
346 struct skl_dev *skl = bus_to_skl(bus); in skl_pcm_close() local
366 skl->miscbdcg_disabled) { in skl_pcm_close()
367 skl->enable_miscbdcge(dai->dev, true); in skl_pcm_close()
368 skl->miscbdcg_disabled = false; in skl_pcm_close()
373 skl_tplg_d0i3_put(skl, mconfig->d0i3_caps); in skl_pcm_close()
382 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_hw_free() local
391 ret = skl_reset_pipe(skl, mconfig->pipe); in skl_pcm_hw_free()
466 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_trigger() local
506 return skl_run_pipe(skl, mconfig->pipe); in skl_pcm_trigger()
517 ret = skl_stop_pipe(skl, mconfig->pipe); in skl_pcm_trigger()
593 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_link_pcm_prepare() local
600 skl_reset_pipe(skl, mconfig->pipe); in skl_link_pcm_prepare()
1290 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_soc_new() local
1300 &skl->pci->dev, in skl_platform_soc_new()
1307 static int skl_get_module_info(struct skl_dev *skl, in skl_get_module_info() argument
1318 if (list_empty(&skl->uuid_list)) { in skl_get_module_info()
1319 dev_err(skl->dev, "Module list is empty\n"); in skl_get_module_info()
1323 for (i = 0; i < skl->nr_modules; i++) { in skl_get_module_info()
1324 skl_module = skl->modules[i]; in skl_get_module_info()
1333 if (skl->nr_modules && ret) in skl_get_module_info()
1337 list_for_each_entry(module, &skl->uuid_list, list) { in skl_get_module_info()
1360 static int skl_populate_modules(struct skl_dev *skl) in skl_populate_modules() argument
1368 list_for_each_entry(p, &skl->ppl_list, node) { in skl_populate_modules()
1373 ret = skl_get_module_info(skl, mconfig); in skl_populate_modules()
1375 dev_err(skl->dev, in skl_populate_modules()
1380 skl_tplg_add_moduleid_in_bind_params(skl, w); in skl_populate_modules()
1390 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_soc_probe() local
1396 skl->component = component; in skl_platform_soc_probe()
1399 skl->debugfs = skl_debugfs_init(skl); in skl_platform_soc_probe()
1408 ops = skl_get_dsp_ops(skl->pci->device); in skl_platform_soc_probe()
1416 skl->enable_miscbdcge(component->dev, false); in skl_platform_soc_probe()
1417 skl->clock_power_gating(component->dev, false); in skl_platform_soc_probe()
1419 ret = ops->init_fw(component->dev, skl); in skl_platform_soc_probe()
1420 skl->enable_miscbdcge(component->dev, true); in skl_platform_soc_probe()
1421 skl->clock_power_gating(component->dev, true); in skl_platform_soc_probe()
1426 skl_populate_modules(skl); in skl_platform_soc_probe()
1427 skl->update_d0i3c = skl_update_d0i3c; in skl_platform_soc_probe()
1429 if (skl->cfg.astate_cfg != NULL) { in skl_platform_soc_probe()
1430 skl_dsp_set_astate_cfg(skl, in skl_platform_soc_probe()
1431 skl->cfg.astate_cfg->count, in skl_platform_soc_probe()
1432 skl->cfg.astate_cfg); in skl_platform_soc_probe()
1444 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_soc_remove() local
1448 skl_debugfs_exit(skl); in skl_platform_soc_remove()
1470 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_register() local
1472 skl->dais = kmemdup(skl_platform_dai, sizeof(skl_platform_dai), in skl_platform_register()
1474 if (!skl->dais) { in skl_platform_register()
1479 if (!skl->use_tplg_pcm) { in skl_platform_register()
1480 dais = krealloc(skl->dais, sizeof(skl_fe_dai) + in skl_platform_register()
1483 kfree(skl->dais); in skl_platform_register()
1488 skl->dais = dais; in skl_platform_register()
1489 memcpy(&skl->dais[ARRAY_SIZE(skl_platform_dai)], skl_fe_dai, in skl_platform_register()
1495 skl->dais, num_dais); in skl_platform_register()
1497 kfree(skl->dais); in skl_platform_register()
1507 struct skl_dev *skl = bus_to_skl(bus); in skl_platform_unregister() local
1510 list_for_each_entry_safe(modules, tmp, &skl->bind_list, node) { in skl_platform_unregister()
1515 kfree(skl->dais); in skl_platform_unregister()