Lines Matching refs:skl
257 int skl_init_dsp(struct skl *skl) in skl_init_dsp() argument
260 struct hdac_ext_bus *ebus = &skl->ebus; in skl_init_dsp()
269 snd_hdac_ext_bus_ppcap_enable(&skl->ebus, true); in skl_init_dsp()
270 snd_hdac_ext_bus_ppcap_int_enable(&skl->ebus, true); in skl_init_dsp()
273 mmio_base = pci_ioremap_bar(skl->pci, 4); in skl_init_dsp()
279 ops = skl_get_dsp_ops(skl->pci->device); in skl_init_dsp()
287 skl->fw_name, loader_ops, in skl_init_dsp()
288 &skl->skl_sst); in skl_init_dsp()
293 skl->skl_sst->dsp_ops = ops; in skl_init_dsp()
294 cores = &skl->skl_sst->cores; in skl_init_dsp()
323 int skl_free_dsp(struct skl *skl) in skl_free_dsp() argument
325 struct hdac_ext_bus *ebus = &skl->ebus; in skl_free_dsp()
327 struct skl_sst *ctx = skl->skl_sst; in skl_free_dsp()
330 snd_hdac_ext_bus_ppcap_int_enable(&skl->ebus, false); in skl_free_dsp()
350 int skl_suspend_late_dsp(struct skl *skl) in skl_suspend_late_dsp() argument
352 struct skl_sst *ctx = skl->skl_sst; in skl_suspend_late_dsp()
361 if (skl->supend_active) in skl_suspend_late_dsp()
370 int skl_suspend_dsp(struct skl *skl) in skl_suspend_dsp() argument
372 struct skl_sst *ctx = skl->skl_sst; in skl_suspend_dsp()
376 if (!skl->ebus.bus.ppcap) in skl_suspend_dsp()
384 snd_hdac_ext_bus_ppcap_int_enable(&skl->ebus, false); in skl_suspend_dsp()
385 snd_hdac_ext_bus_ppcap_enable(&skl->ebus, false); in skl_suspend_dsp()
390 int skl_resume_dsp(struct skl *skl) in skl_resume_dsp() argument
392 struct skl_sst *ctx = skl->skl_sst; in skl_resume_dsp()
396 if (!skl->ebus.bus.ppcap) in skl_resume_dsp()
400 snd_hdac_ext_bus_ppcap_enable(&skl->ebus, true); in skl_resume_dsp()
401 snd_hdac_ext_bus_ppcap_int_enable(&skl->ebus, true); in skl_resume_dsp()
404 if (skl->skl_sst->is_first_boot == true) in skl_resume_dsp()
415 skl_dsp_enable_notification(skl->skl_sst, false); in skl_resume_dsp()
563 struct skl *skl = get_skl_ctx(ctx->dev); in skl_setup_cpr_gateway_cfg() local
572 if (skl->nr_modules) { in skl_setup_cpr_gateway_cfg()