Lines Matching refs:sst_drv_ctx
116 struct intel_sst_drv *sst_drv_ctx; in intel_sst_probe() local
120 ret = sst_alloc_drv_context(&sst_drv_ctx, &pci->dev, pci->device); in intel_sst_probe()
124 sst_drv_ctx->pdata = sst_pdata; in intel_sst_probe()
125 sst_drv_ctx->irq_num = pci->irq; in intel_sst_probe()
126 snprintf(sst_drv_ctx->firmware_name, sizeof(sst_drv_ctx->firmware_name), in intel_sst_probe()
128 sst_drv_ctx->dev_id, ".bin"); in intel_sst_probe()
130 ret = sst_context_init(sst_drv_ctx); in intel_sst_probe()
137 dev_err(sst_drv_ctx->dev, in intel_sst_probe()
141 sst_drv_ctx->pci = pci_dev_get(pci); in intel_sst_probe()
142 ret = sst_platform_get_resources(sst_drv_ctx); in intel_sst_probe()
146 pci_set_drvdata(pci, sst_drv_ctx); in intel_sst_probe()
147 sst_configure_runtime_pm(sst_drv_ctx); in intel_sst_probe()
152 sst_context_cleanup(sst_drv_ctx); in intel_sst_probe()
153 dev_err(sst_drv_ctx->dev, "Probe failed with %d\n", ret); in intel_sst_probe()
167 struct intel_sst_drv *sst_drv_ctx = pci_get_drvdata(pci); in intel_sst_remove() local
169 sst_context_cleanup(sst_drv_ctx); in intel_sst_remove()
170 pci_dev_put(sst_drv_ctx->pci); in intel_sst_remove()