sst 26 arch/arm/crypto/sha1-ce-glue.c asmlinkage void sha1_ce_transform(struct sha1_state *sst, u8 const *src, sst 27 arch/arm/crypto/sha2-ce-glue.c asmlinkage void sha2_ce_transform(struct sha256_state *sst, u8 const *src, sst 24 arch/arm64/crypto/sha1-ce-glue.c struct sha1_state sst; sst 28 arch/arm64/crypto/sha1-ce-glue.c asmlinkage void sha1_ce_transform(struct sha1_ce_state *sst, u8 const *src, sst 31 arch/arm64/crypto/sha1-ce-glue.c const u32 sha1_ce_offsetof_count = offsetof(struct sha1_ce_state, sst.count); sst 55 arch/arm64/crypto/sha1-ce-glue.c bool finalize = !sctx->sst.count && !(len % SHA1_BLOCK_SIZE) && len; sst 24 arch/arm64/crypto/sha2-ce-glue.c struct sha256_state sst; sst 28 arch/arm64/crypto/sha2-ce-glue.c asmlinkage void sha2_ce_transform(struct sha256_ce_state *sst, u8 const *src, sst 32 arch/arm64/crypto/sha2-ce-glue.c sst.count); sst 60 arch/arm64/crypto/sha2-ce-glue.c bool finalize = !sctx->sst.count && !(len % SHA256_BLOCK_SIZE) && len; sst 27 arch/arm64/crypto/sha512-ce-glue.c asmlinkage void sha512_ce_transform(struct sha512_state *sst, u8 const *src, sst 23 arch/arm64/crypto/sm3-ce-glue.c asmlinkage void sm3_ce_transform(struct sm3_state *sst, u8 const *src, sst 411 arch/arm64/kernel/fpsimd.c static void __fpsimd_to_sve(void *sst, struct user_fpsimd_state const *fst, sst 418 arch/arm64/kernel/fpsimd.c p = (__uint128_t *)ZREG(sst, vq, i); sst 438 arch/arm64/kernel/fpsimd.c void *sst = task->thread.sve_state; sst 445 arch/arm64/kernel/fpsimd.c __fpsimd_to_sve(sst, fst, vq); sst 462 arch/arm64/kernel/fpsimd.c void const *sst = task->thread.sve_state; sst 472 arch/arm64/kernel/fpsimd.c p = (__uint128_t const *)ZREG(sst, vq, i); sst 560 arch/arm64/kernel/fpsimd.c void *sst = task->thread.sve_state; sst 568 arch/arm64/kernel/fpsimd.c memset(sst, 0, SVE_SIG_REGS_SIZE(vq)); sst 569 arch/arm64/kernel/fpsimd.c __fpsimd_to_sve(sst, fst, vq); sst 237 arch/powerpc/kernel/time.c u64 sst, ust; sst 249 arch/powerpc/kernel/time.c sst = scan_dispatch_log(acct->starttime_user); sst 251 arch/powerpc/kernel/time.c acct->stime -= sst; sst 253 arch/powerpc/kernel/time.c acct->steal_time += ust + sst; sst 31 crypto/sha1_generic.c static void sha1_generic_block_fn(struct sha1_state *sst, u8 const *src, sst 37 crypto/sha1_generic.c sha_transform(sst->state, src, temp); sst 151 crypto/sha512_generic.c static void sha512_generic_block_fn(struct sha512_state *sst, u8 const *src, sst 155 crypto/sha512_generic.c sha512_transform(sst->state, src); sst 124 crypto/sm3_generic.c static void sm3_transform(struct sm3_state *sst, u8 const *src) sst 130 crypto/sm3_generic.c sm3_compress(w, wt, sst->state); sst 136 crypto/sm3_generic.c static void sm3_generic_block_fn(struct sm3_state *sst, u8 const *src, sst 140 crypto/sm3_generic.c sm3_transform(sst, src); sst 99 drivers/hsi/controllers/omap_ssi.h struct omap_ssm_ctx sst; sst 146 drivers/hsi/controllers/omap_ssi_port.c omap_port->sst.divisor = val; sst 349 drivers/hsi/controllers/omap_ssi_port.c if (omap_port->sst.mode != SSI_MODE_FRAME) { sst 393 drivers/hsi/controllers/omap_ssi_port.c BUG_ON(msg->channel >= omap_port->sst.channels); sst 460 drivers/hsi/controllers/omap_ssi_port.c void __iomem *sst = omap_port->sst_base; sst 478 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(SSI_MODE_SLEEP, sst + SSI_SST_MODE_REG); sst 483 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(31, sst + SSI_SST_FRAMESIZE_REG); sst 484 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(div, sst + SSI_SST_DIVISOR_REG); sst 485 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(cl->tx_cfg.num_hw_channels, sst + SSI_SST_CHANNELS_REG); sst 486 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(cl->tx_cfg.arb_mode, sst + SSI_SST_ARBMODE_REG); sst 487 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(cl->tx_cfg.mode, sst + SSI_SST_MODE_REG); sst 501 drivers/hsi/controllers/omap_ssi_port.c omap_port->sst.divisor = div; sst 502 drivers/hsi/controllers/omap_ssi_port.c omap_port->sst.frame_size = 31; sst 503 drivers/hsi/controllers/omap_ssi_port.c omap_port->sst.channels = cl->tx_cfg.num_hw_channels; sst 504 drivers/hsi/controllers/omap_ssi_port.c omap_port->sst.arb_mode = cl->tx_cfg.arb_mode; sst 505 drivers/hsi/controllers/omap_ssi_port.c omap_port->sst.mode = cl->tx_cfg.mode; sst 526 drivers/hsi/controllers/omap_ssi_port.c void __iomem *sst = omap_port->sst_base; sst 549 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(0, sst + SSI_SST_BUFSTATE_REG); sst 550 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(0, sst + SSI_SST_TXSTATE_REG); sst 792 drivers/hsi/controllers/omap_ssi_port.c omap_port->sst.mode = SSI_MODE_SLEEP; sst 1270 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(omap_port->sst.divisor, sst 1281 drivers/hsi/controllers/omap_ssi_port.c omap_port->sst.divisor = div; sst 1310 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(omap_port->sst.frame_size, base + SSI_SST_FRAMESIZE_REG); sst 1311 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(omap_port->sst.channels, base + SSI_SST_CHANNELS_REG); sst 1312 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(omap_port->sst.arb_mode, base + SSI_SST_ARBMODE_REG); sst 1327 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(omap_port->sst.mode, sst 18 include/crypto/sha1_base.h typedef void (sha1_block_fn)(struct sha1_state *sst, u8 const *src, int blocks); sst 18 include/crypto/sha256_base.h typedef void (sha256_block_fn)(struct sha256_state *sst, u8 const *src, sst 18 include/crypto/sha512_base.h typedef void (sha512_block_fn)(struct sha512_state *sst, u8 const *src, sst 18 include/crypto/sm3_base.h typedef void (sm3_block_fn)(struct sm3_state *sst, u8 const *src, int blocks); sst 3 include/trace/events/intel-sst.h #define TRACE_SYSTEM intel-sst sst 57 sound/soc/intel/atom/sst-atom-controls.c return sst->ops->send_byte_stream(sst->dev, drv->byte_stream); sst 741 sound/soc/intel/atom/sst-atom-controls.c ret = sst->ops->power(sst->dev, true); sst 769 sound/soc/intel/atom/sst-atom-controls.c sst->ops->power(sst->dev, false); sst 56 sound/soc/intel/atom/sst-mfld-platform-compress.c if (!sst || !try_module_get(sst->dev->driver->owner)) { sst 61 sound/soc/intel/atom/sst-mfld-platform-compress.c stream->compr_ops = sst->compr_ops; sst 65 sound/soc/intel/atom/sst-mfld-platform-compress.c sst->compr_ops->power(sst->dev, true); sst 82 sound/soc/intel/atom/sst-mfld-platform-compress.c sst->compr_ops->power(sst->dev, false); sst 87 sound/soc/intel/atom/sst-mfld-platform-compress.c ret_val = stream->compr_ops->close(sst->dev, str_id); sst 88 sound/soc/intel/atom/sst-mfld-platform-compress.c module_put(sst->dev->driver->owner); sst 159 sound/soc/intel/atom/sst-mfld-platform-compress.c retval = stream->compr_ops->open(sst->dev, &str_params, &cb); sst 176 sound/soc/intel/atom/sst-mfld-platform-compress.c return stream->compr_ops->stream_start(sst->dev, stream->id); sst 180 sound/soc/intel/atom/sst-mfld-platform-compress.c return stream->compr_ops->stream_drop(sst->dev, stream->id); sst 184 sound/soc/intel/atom/sst-mfld-platform-compress.c return stream->compr_ops->stream_drain(sst->dev, stream->id); sst 188 sound/soc/intel/atom/sst-mfld-platform-compress.c return stream->compr_ops->stream_partial_drain(sst->dev, stream->id); sst 192 sound/soc/intel/atom/sst-mfld-platform-compress.c return stream->compr_ops->stream_pause(sst->dev, stream->id); sst 196 sound/soc/intel/atom/sst-mfld-platform-compress.c return stream->compr_ops->stream_pause_release(sst->dev, stream->id); sst 208 sound/soc/intel/atom/sst-mfld-platform-compress.c stream->compr_ops->tstamp(sst->dev, stream->id, tstamp); sst 221 sound/soc/intel/atom/sst-mfld-platform-compress.c stream->compr_ops->ack(sst->dev, stream->id, (unsigned long)bytes); sst 251 sound/soc/intel/atom/sst-mfld-platform-compress.c return stream->compr_ops->set_metadata(sst->dev, stream->id, metadata); sst 26 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct sst_device *sst; sst 36 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (sst) { sst 37 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_err(dev->dev, "we already have a device %s\n", sst->name); sst 43 sound/soc/intel/atom/sst-mfld-platform-pcm.c sst = dev; sst 53 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (dev != sst) sst 58 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (!sst) { sst 63 sound/soc/intel/atom/sst-mfld-platform-pcm.c module_put(sst->dev->driver->owner); sst 64 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_dbg(dev->dev, "unreg %s\n", sst->name); sst 65 sound/soc/intel/atom/sst-mfld-platform-pcm.c sst = NULL; sst 248 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->open(sst->dev, &str_params); sst 286 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_init(sst->dev, &stream->stream_info); sst 295 sound/soc/intel/atom/sst-mfld-platform-pcm.c return stream->ops->power(sst->dev, true); sst 300 sound/soc/intel/atom/sst-mfld-platform-pcm.c stream->ops->power(sst->dev, false); sst 317 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (!sst || sst 318 sound/soc/intel/atom/sst-mfld-platform-pcm.c !try_module_get(sst->dev->driver->owner)) { sst 323 sound/soc/intel/atom/sst-mfld-platform-pcm.c stream->ops = sst->ops; sst 359 sound/soc/intel/atom/sst-mfld-platform-pcm.c stream->ops->close(sst->dev, str_id); sst 360 sound/soc/intel/atom/sst-mfld-platform-pcm.c module_put(sst->dev->driver->owner); sst 373 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_drop(sst->dev, str_id); sst 619 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_start(sst->dev, str_id); sst 624 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_drop(sst->dev, str_id); sst 630 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_pause(sst->dev, str_id); sst 636 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_pause_release(sst->dev, str_id); sst 662 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_read_tstamp(sst->dev, str_info); sst 19 sound/soc/intel/atom/sst-mfld-platform.h extern struct sst_device *sst; sst 176 sound/soc/intel/atom/sst-mfld-platform.h int sst_register_dsp(struct sst_device *sst); sst 177 sound/soc/intel/atom/sst-mfld-platform.h int sst_unregister_dsp(struct sst_device *sst); sst 143 sound/soc/intel/atom/sst/sst.c static int sst_save_dsp_context_v2(struct intel_sst_drv *sst) sst 147 sound/soc/intel/atom/sst/sst.c ret = sst_prepare_and_post_msg(sst, SST_TASK_ID_MEDIA, IPC_CMD, sst 152 sound/soc/intel/atom/sst/sst.c dev_err(sst->dev, "not suspending FW!!, Err: %d\n", ret); sst 173 sound/soc/intel/atom/sst/sst.c int sst_driver_ops(struct intel_sst_drv *sst) sst 176 sound/soc/intel/atom/sst/sst.c switch (sst->dev_id) { sst 180 sound/soc/intel/atom/sst/sst.c sst->tstamp = SST_TIME_STAMP_MRFLD; sst 181 sound/soc/intel/atom/sst/sst.c sst->ops = &mrfld_ops; sst 185 sound/soc/intel/atom/sst/sst.c dev_err(sst->dev, sst 187 sound/soc/intel/atom/sst/sst.c sst->dev_id); sst 424 sound/soc/intel/atom/sst/sst.h int (*save_dsp_context)(struct intel_sst_drv *sst); sst 427 sound/soc/intel/atom/sst/sst.h void (*post_download)(struct intel_sst_drv *sst); sst 467 sound/soc/intel/atom/sst/sst.h int intel_sst_register_compress(struct intel_sst_drv *sst); sst 468 sound/soc/intel/atom/sst/sst.h int intel_sst_remove_compress(struct intel_sst_drv *sst); sst 484 sound/soc/intel/atom/sst/sst.h int sst_driver_ops(struct intel_sst_drv *sst); sst 487 sound/soc/intel/atom/sst/sst.h int sst_prepare_and_post_msg(struct intel_sst_drv *sst, sst 500 sound/soc/intel/atom/sst/sst.h void sst_add_to_dispatch_list_and_post(struct intel_sst_drv *sst, sst 286 sound/soc/intel/atom/sst/sst_loader.c static int sst_cache_and_parse_fw(struct intel_sst_drv *sst, sst 291 sound/soc/intel/atom/sst/sst_loader.c sst->fw_in_mem = kzalloc(fw->size, GFP_KERNEL); sst 292 sound/soc/intel/atom/sst/sst_loader.c if (!sst->fw_in_mem) { sst 296 sound/soc/intel/atom/sst/sst_loader.c dev_dbg(sst->dev, "copied fw to %p", sst->fw_in_mem); sst 297 sound/soc/intel/atom/sst/sst_loader.c dev_dbg(sst->dev, "phys: %lx", (unsigned long)virt_to_phys(sst->fw_in_mem)); sst 298 sound/soc/intel/atom/sst/sst_loader.c memcpy(sst->fw_in_mem, fw->data, fw->size); sst 299 sound/soc/intel/atom/sst/sst_loader.c retval = sst_parse_fw_memcpy(sst, fw->size, &sst->memcpy_list); sst 301 sound/soc/intel/atom/sst/sst_loader.c dev_err(sst->dev, "Failed to parse fw\n"); sst 302 sound/soc/intel/atom/sst/sst_loader.c kfree(sst->fw_in_mem); sst 303 sound/soc/intel/atom/sst/sst_loader.c sst->fw_in_mem = NULL; sst 343 sound/soc/intel/atom/sst/sst_loader.c static int sst_request_fw(struct intel_sst_drv *sst) sst 348 sound/soc/intel/atom/sst/sst_loader.c retval = request_firmware(&fw, sst->firmware_name, sst->dev); sst 350 sound/soc/intel/atom/sst/sst_loader.c dev_err(sst->dev, "request fw failed %d\n", retval); sst 354 sound/soc/intel/atom/sst/sst_loader.c dev_err(sst->dev, "fw is returning as null\n"); sst 357 sound/soc/intel/atom/sst/sst_loader.c mutex_lock(&sst->sst_lock); sst 358 sound/soc/intel/atom/sst/sst_loader.c retval = sst_cache_and_parse_fw(sst, fw); sst 359 sound/soc/intel/atom/sst/sst_loader.c mutex_unlock(&sst->sst_lock); sst 221 sound/soc/intel/atom/sst/sst_pvt.c int sst_prepare_and_post_msg(struct intel_sst_drv *sst, sst 231 sound/soc/intel/atom/sst/sst_pvt.c pvt_id = sst_assign_pvt_id(sst); sst 237 sound/soc/intel/atom/sst/sst_pvt.c &msg, large, sst, &block, ipc_msg, pvt_id); sst 242 sound/soc/intel/atom/sst/sst_pvt.c test_and_clear_bit(pvt_id, &sst->pvt_id); sst 246 sound/soc/intel/atom/sst/sst_pvt.c dev_dbg(sst->dev, "pvt_id = %d, pipe id = %d, task = %d ipc_msg: %d\n", sst 252 sound/soc/intel/atom/sst/sst_pvt.c dev_dbg(sst->dev, "header:%x\n", sst 254 sound/soc/intel/atom/sst/sst_pvt.c dev_dbg(sst->dev, "response rqd: %x", sst 256 sound/soc/intel/atom/sst/sst_pvt.c dev_dbg(sst->dev, "msg->mrfld_header.p.header_low_payload:%d", sst 268 sound/soc/intel/atom/sst/sst_pvt.c sst->ops->post_message(sst, msg, true); sst 270 sound/soc/intel/atom/sst/sst_pvt.c sst_add_to_dispatch_list_and_post(sst, msg); sst 273 sound/soc/intel/atom/sst/sst_pvt.c ret = sst_wait_timeout(sst, block); sst 287 sound/soc/intel/atom/sst/sst_pvt.c sst_free_block(sst, block); sst 288 sound/soc/intel/atom/sst/sst_pvt.c test_and_clear_bit(pvt_id, &sst->pvt_id); sst 398 sound/soc/intel/atom/sst/sst_pvt.c void sst_add_to_dispatch_list_and_post(struct intel_sst_drv *sst, sst 403 sound/soc/intel/atom/sst/sst_pvt.c spin_lock_irqsave(&sst->ipc_spin_lock, irq_flags); sst 404 sound/soc/intel/atom/sst/sst_pvt.c list_add_tail(&msg->node, &sst->ipc_dispatch_list); sst 405 sound/soc/intel/atom/sst/sst_pvt.c spin_unlock_irqrestore(&sst->ipc_spin_lock, irq_flags); sst 406 sound/soc/intel/atom/sst/sst_pvt.c sst->ops->post_message(sst, NULL, false); sst 151 sound/soc/intel/baytrail/sst-baytrail-dsp.c static void sst_byt_dump_shim(struct sst_dsp *sst) sst 157 sound/soc/intel/baytrail/sst-baytrail-dsp.c reg = sst_dsp_shim_read64_unlocked(sst, i); sst 159 sound/soc/intel/baytrail/sst-baytrail-dsp.c dev_dbg(sst->dev, "shim 0x%2.2x value 0x%16.16llx\n", sst 164 sound/soc/intel/baytrail/sst-baytrail-dsp.c reg = readl(sst->addr.pci_cfg + i); sst 166 sound/soc/intel/baytrail/sst-baytrail-dsp.c dev_dbg(sst->dev, "pci 0x%2.2x value 0x%8.8x\n", sst 173 sound/soc/intel/baytrail/sst-baytrail-dsp.c struct sst_dsp *sst = (struct sst_dsp *) context; sst 177 sound/soc/intel/baytrail/sst-baytrail-dsp.c spin_lock(&sst->spinlock); sst 179 sound/soc/intel/baytrail/sst-baytrail-dsp.c isrx = sst_dsp_shim_read64_unlocked(sst, SST_ISRX); sst 182 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_dsp_shim_update_bits64_unlocked(sst, SST_IPCX, sst 188 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_dsp_shim_update_bits64_unlocked(sst, SST_IMRX, sst 194 sound/soc/intel/baytrail/sst-baytrail-dsp.c spin_unlock(&sst->spinlock); sst 199 sound/soc/intel/baytrail/sst-baytrail-dsp.c static void sst_byt_boot(struct sst_dsp *sst) sst 207 sound/soc/intel/baytrail/sst-baytrail-dsp.c memcpy_toio(sst->addr.lpe + SST_BYT_MAILBOX_OFFSET, sst 208 sound/soc/intel/baytrail/sst-baytrail-dsp.c &sst->pdata->fw_base, sizeof(u32)); sst 211 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_dsp_shim_update_bits64(sst, SST_CSR, SST_BYT_CSR_STALL, 0x0); sst 213 sound/soc/intel/baytrail/sst-baytrail-dsp.c if (!(sst_dsp_shim_read64(sst, SST_CSR) & sst 219 sound/soc/intel/baytrail/sst-baytrail-dsp.c dev_err(sst->dev, "unable to start DSP\n"); sst 220 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_byt_dump_shim(sst); sst 224 sound/soc/intel/baytrail/sst-baytrail-dsp.c static void sst_byt_reset(struct sst_dsp *sst) sst 227 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_dsp_shim_update_bits64(sst, SST_CSR, sst 234 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_dsp_shim_update_bits64(sst, SST_CSR, SST_BYT_CSR_RST, 0); sst 250 sound/soc/intel/baytrail/sst-baytrail-dsp.c static int sst_byt_resource_map(struct sst_dsp *sst, struct sst_pdata *pdata) sst 252 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->addr.lpe_base = pdata->lpe_base; sst 253 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->addr.lpe = ioremap(pdata->lpe_base, pdata->lpe_size); sst 254 sound/soc/intel/baytrail/sst-baytrail-dsp.c if (!sst->addr.lpe) sst 258 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->addr.pci_cfg = ioremap(pdata->pcicfg_base, pdata->pcicfg_size); sst 259 sound/soc/intel/baytrail/sst-baytrail-dsp.c if (!sst->addr.pci_cfg) { sst 260 sound/soc/intel/baytrail/sst-baytrail-dsp.c iounmap(sst->addr.lpe); sst 265 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->addr.fw_ext = ioremap(pdata->fw_base, pdata->fw_size); sst 266 sound/soc/intel/baytrail/sst-baytrail-dsp.c if (!sst->addr.fw_ext) { sst 267 sound/soc/intel/baytrail/sst-baytrail-dsp.c iounmap(sst->addr.pci_cfg); sst 268 sound/soc/intel/baytrail/sst-baytrail-dsp.c iounmap(sst->addr.lpe); sst 273 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->addr.shim = sst->addr.lpe + sst->addr.shim_offset; sst 275 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_dsp_mailbox_init(sst, SST_BYT_MAILBOX_OFFSET + 0x204, sst 280 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->irq = pdata->irq; sst 285 sound/soc/intel/baytrail/sst-baytrail-dsp.c static int sst_byt_init(struct sst_dsp *sst, struct sst_pdata *pdata) sst 292 sound/soc/intel/baytrail/sst-baytrail-dsp.c dev = sst->dev; sst 294 sound/soc/intel/baytrail/sst-baytrail-dsp.c switch (sst->id) { sst 298 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->addr.iram_offset = SST_BYT_IRAM_OFFSET; sst 299 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->addr.dram_offset = SST_BYT_DRAM_OFFSET; sst 300 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->addr.shim_offset = SST_BYT_SHIM_OFFSET; sst 307 sound/soc/intel/baytrail/sst-baytrail-dsp.c ret = sst_byt_resource_map(sst, pdata); sst 313 sound/soc/intel/baytrail/sst-baytrail-dsp.c ret = dma_coerce_mask_and_coherent(sst->dma_dev, DMA_BIT_MASK(32)); sst 318 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_dsp_shim_update_bits64(sst, SST_IMRX, 0x3, 0x0); sst 319 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_dsp_shim_update_bits64(sst, SST_IMRD, 0x3, 0x0); sst 328 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_mem_block_register(sst, offset, size, sst 329 sound/soc/intel/baytrail/sst-baytrail-dsp.c region[i].type, NULL, j, sst); sst 337 sound/soc/intel/baytrail/sst-baytrail-dsp.c static void sst_byt_free(struct sst_dsp *sst) sst 339 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst_mem_block_unregister_all(sst); sst 340 sound/soc/intel/baytrail/sst-baytrail-dsp.c iounmap(sst->addr.lpe); sst 341 sound/soc/intel/baytrail/sst-baytrail-dsp.c iounmap(sst->addr.pci_cfg); sst 342 sound/soc/intel/baytrail/sst-baytrail-dsp.c iounmap(sst->addr.fw_ext); sst 270 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = byt->dsp; sst 275 sound/soc/intel/baytrail/sst-baytrail-ipc.c header = sst_dsp_shim_read64_unlocked(sst, SST_IPCD); sst 283 sound/soc/intel/baytrail/sst-baytrail-ipc.c spin_unlock_irqrestore(&sst->spinlock, *flags); sst 285 sound/soc/intel/baytrail/sst-baytrail-ipc.c spin_lock_irqsave(&sst->spinlock, *flags); sst 298 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = (struct sst_dsp *) context; sst 299 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt *byt = sst_dsp_get_thread_context(sst); sst 304 sound/soc/intel/baytrail/sst-baytrail-ipc.c spin_lock_irqsave(&sst->spinlock, flags); sst 306 sound/soc/intel/baytrail/sst-baytrail-ipc.c header = sst_dsp_shim_read64_unlocked(sst, SST_IPCD); sst 320 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_shim_update_bits64_unlocked(sst, SST_IPCD, sst 325 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_shim_update_bits64_unlocked(sst, SST_IMRX, sst 329 sound/soc/intel/baytrail/sst-baytrail-ipc.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 343 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = byt->dsp; sst 350 sound/soc/intel/baytrail/sst-baytrail-ipc.c spin_lock_irqsave(&sst->spinlock, flags); sst 356 sound/soc/intel/baytrail/sst-baytrail-ipc.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 437 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = byt->dsp; sst 454 sound/soc/intel/baytrail/sst-baytrail-ipc.c spin_lock_irqsave(&sst->spinlock, flags); sst 457 sound/soc/intel/baytrail/sst-baytrail-ipc.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 542 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = byt->dsp; sst 549 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst->addr.lpe + tstamp_offset, sizeof(fw_tstamp)); sst 633 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = ipc->dsp; sst 636 sound/soc/intel/baytrail/sst-baytrail-ipc.c ipcx = sst_dsp_shim_read64_unlocked(sst, SST_IPCX); sst 637 sound/soc/intel/baytrail/sst-baytrail-ipc.c isr = sst_dsp_shim_read64_unlocked(sst, SST_ISRX); sst 638 sound/soc/intel/baytrail/sst-baytrail-ipc.c ipcd = sst_dsp_shim_read64_unlocked(sst, SST_IPCD); sst 639 sound/soc/intel/baytrail/sst-baytrail-ipc.c imrx = sst_dsp_shim_read64_unlocked(sst, SST_IMRX); sst 43 sound/soc/intel/common/sst-dsp-priv.h void (*ram_read)(struct sst_dsp *sst, void *dest, void __iomem *src, sst 45 sound/soc/intel/common/sst-dsp-priv.h void (*ram_write)(struct sst_dsp *sst, void __iomem *dest, void *src, sst 54 sound/soc/intel/common/sst-dsp-priv.h int (*init)(struct sst_dsp *sst, struct sst_pdata *pdata); sst 55 sound/soc/intel/common/sst-dsp-priv.h void (*free)(struct sst_dsp *sst); sst 319 sound/soc/intel/common/sst-dsp-priv.h static inline void sst_dsp_write(struct sst_dsp *sst, void *src, sst 322 sound/soc/intel/common/sst-dsp-priv.h sst->ops->ram_write(sst, sst->addr.lpe + dest_offset, src, bytes); sst 325 sound/soc/intel/common/sst-dsp-priv.h static inline void sst_dsp_read(struct sst_dsp *sst, void *dest, sst 328 sound/soc/intel/common/sst-dsp-priv.h sst->ops->ram_read(sst, dest, sst->addr.lpe + src_offset, bytes); sst 331 sound/soc/intel/common/sst-dsp-priv.h static inline void *sst_dsp_get_thread_context(struct sst_dsp *sst) sst 333 sound/soc/intel/common/sst-dsp-priv.h return sst->thread_context; sst 68 sound/soc/intel/common/sst-dsp.c void sst_memcpy_toio_32(struct sst_dsp *sst, sst 75 sound/soc/intel/common/sst-dsp.c void sst_memcpy_fromio_32(struct sst_dsp *sst, void *dest, sst 83 sound/soc/intel/common/sst-dsp.c void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value) sst 87 sound/soc/intel/common/sst-dsp.c spin_lock_irqsave(&sst->spinlock, flags); sst 88 sound/soc/intel/common/sst-dsp.c sst->ops->write(sst->addr.shim, offset, value); sst 89 sound/soc/intel/common/sst-dsp.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 93 sound/soc/intel/common/sst-dsp.c u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset) sst 98 sound/soc/intel/common/sst-dsp.c spin_lock_irqsave(&sst->spinlock, flags); sst 99 sound/soc/intel/common/sst-dsp.c val = sst->ops->read(sst->addr.shim, offset); sst 100 sound/soc/intel/common/sst-dsp.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 106 sound/soc/intel/common/sst-dsp.c void sst_dsp_shim_write64(struct sst_dsp *sst, u32 offset, u64 value) sst 110 sound/soc/intel/common/sst-dsp.c spin_lock_irqsave(&sst->spinlock, flags); sst 111 sound/soc/intel/common/sst-dsp.c sst->ops->write64(sst->addr.shim, offset, value); sst 112 sound/soc/intel/common/sst-dsp.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 116 sound/soc/intel/common/sst-dsp.c u64 sst_dsp_shim_read64(struct sst_dsp *sst, u32 offset) sst 121 sound/soc/intel/common/sst-dsp.c spin_lock_irqsave(&sst->spinlock, flags); sst 122 sound/soc/intel/common/sst-dsp.c val = sst->ops->read64(sst->addr.shim, offset); sst 123 sound/soc/intel/common/sst-dsp.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 129 sound/soc/intel/common/sst-dsp.c void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value) sst 131 sound/soc/intel/common/sst-dsp.c sst->ops->write(sst->addr.shim, offset, value); sst 135 sound/soc/intel/common/sst-dsp.c u32 sst_dsp_shim_read_unlocked(struct sst_dsp *sst, u32 offset) sst 137 sound/soc/intel/common/sst-dsp.c return sst->ops->read(sst->addr.shim, offset); sst 141 sound/soc/intel/common/sst-dsp.c void sst_dsp_shim_write64_unlocked(struct sst_dsp *sst, u32 offset, u64 value) sst 143 sound/soc/intel/common/sst-dsp.c sst->ops->write64(sst->addr.shim, offset, value); sst 147 sound/soc/intel/common/sst-dsp.c u64 sst_dsp_shim_read64_unlocked(struct sst_dsp *sst, u32 offset) sst 149 sound/soc/intel/common/sst-dsp.c return sst->ops->read64(sst->addr.shim, offset); sst 153 sound/soc/intel/common/sst-dsp.c int sst_dsp_shim_update_bits_unlocked(struct sst_dsp *sst, u32 offset, sst 160 sound/soc/intel/common/sst-dsp.c ret = sst_dsp_shim_read_unlocked(sst, offset); sst 167 sound/soc/intel/common/sst-dsp.c sst_dsp_shim_write_unlocked(sst, offset, new); sst 173 sound/soc/intel/common/sst-dsp.c int sst_dsp_shim_update_bits64_unlocked(struct sst_dsp *sst, u32 offset, sst 179 sound/soc/intel/common/sst-dsp.c old = sst_dsp_shim_read64_unlocked(sst, offset); sst 185 sound/soc/intel/common/sst-dsp.c sst_dsp_shim_write64_unlocked(sst, offset, new); sst 192 sound/soc/intel/common/sst-dsp.c void sst_dsp_shim_update_bits_forced_unlocked(struct sst_dsp *sst, u32 offset, sst 198 sound/soc/intel/common/sst-dsp.c ret = sst_dsp_shim_read_unlocked(sst, offset); sst 203 sound/soc/intel/common/sst-dsp.c sst_dsp_shim_write_unlocked(sst, offset, new); sst 207 sound/soc/intel/common/sst-dsp.c int sst_dsp_shim_update_bits(struct sst_dsp *sst, u32 offset, sst 213 sound/soc/intel/common/sst-dsp.c spin_lock_irqsave(&sst->spinlock, flags); sst 214 sound/soc/intel/common/sst-dsp.c change = sst_dsp_shim_update_bits_unlocked(sst, offset, mask, value); sst 215 sound/soc/intel/common/sst-dsp.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 220 sound/soc/intel/common/sst-dsp.c int sst_dsp_shim_update_bits64(struct sst_dsp *sst, u32 offset, sst 226 sound/soc/intel/common/sst-dsp.c spin_lock_irqsave(&sst->spinlock, flags); sst 227 sound/soc/intel/common/sst-dsp.c change = sst_dsp_shim_update_bits64_unlocked(sst, offset, mask, value); sst 228 sound/soc/intel/common/sst-dsp.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 234 sound/soc/intel/common/sst-dsp.c void sst_dsp_shim_update_bits_forced(struct sst_dsp *sst, u32 offset, sst 239 sound/soc/intel/common/sst-dsp.c spin_lock_irqsave(&sst->spinlock, flags); sst 240 sound/soc/intel/common/sst-dsp.c sst_dsp_shim_update_bits_forced_unlocked(sst, offset, mask, value); sst 241 sound/soc/intel/common/sst-dsp.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 285 sound/soc/intel/common/sst-dsp.c void sst_dsp_dump(struct sst_dsp *sst) sst 287 sound/soc/intel/common/sst-dsp.c if (sst->ops->dump) sst 288 sound/soc/intel/common/sst-dsp.c sst->ops->dump(sst); sst 292 sound/soc/intel/common/sst-dsp.c void sst_dsp_reset(struct sst_dsp *sst) sst 294 sound/soc/intel/common/sst-dsp.c if (sst->ops->reset) sst 295 sound/soc/intel/common/sst-dsp.c sst->ops->reset(sst); sst 299 sound/soc/intel/common/sst-dsp.c int sst_dsp_boot(struct sst_dsp *sst) sst 301 sound/soc/intel/common/sst-dsp.c if (sst->ops->boot) sst 302 sound/soc/intel/common/sst-dsp.c sst->ops->boot(sst); sst 308 sound/soc/intel/common/sst-dsp.c int sst_dsp_wake(struct sst_dsp *sst) sst 310 sound/soc/intel/common/sst-dsp.c if (sst->ops->wake) sst 311 sound/soc/intel/common/sst-dsp.c return sst->ops->wake(sst); sst 317 sound/soc/intel/common/sst-dsp.c void sst_dsp_sleep(struct sst_dsp *sst) sst 319 sound/soc/intel/common/sst-dsp.c if (sst->ops->sleep) sst 320 sound/soc/intel/common/sst-dsp.c sst->ops->sleep(sst); sst 324 sound/soc/intel/common/sst-dsp.c void sst_dsp_stall(struct sst_dsp *sst) sst 326 sound/soc/intel/common/sst-dsp.c if (sst->ops->stall) sst 327 sound/soc/intel/common/sst-dsp.c sst->ops->stall(sst); sst 349 sound/soc/intel/common/sst-dsp.c int sst_dsp_mailbox_init(struct sst_dsp *sst, u32 inbox_offset, size_t inbox_size, sst 352 sound/soc/intel/common/sst-dsp.c sst->mailbox.in_base = sst->addr.lpe + inbox_offset; sst 353 sound/soc/intel/common/sst-dsp.c sst->mailbox.out_base = sst->addr.lpe + outbox_offset; sst 354 sound/soc/intel/common/sst-dsp.c sst->mailbox.in_size = inbox_size; sst 355 sound/soc/intel/common/sst-dsp.c sst->mailbox.out_size = outbox_size; sst 360 sound/soc/intel/common/sst-dsp.c void sst_dsp_outbox_write(struct sst_dsp *sst, void *message, size_t bytes) sst 366 sound/soc/intel/common/sst-dsp.c memcpy_toio(sst->mailbox.out_base, message, bytes); sst 373 sound/soc/intel/common/sst-dsp.c void sst_dsp_outbox_read(struct sst_dsp *sst, void *message, size_t bytes) sst 379 sound/soc/intel/common/sst-dsp.c memcpy_fromio(message, sst->mailbox.out_base, bytes); sst 386 sound/soc/intel/common/sst-dsp.c void sst_dsp_inbox_write(struct sst_dsp *sst, void *message, size_t bytes) sst 392 sound/soc/intel/common/sst-dsp.c memcpy_toio(sst->mailbox.in_base, message, bytes); sst 399 sound/soc/intel/common/sst-dsp.c void sst_dsp_inbox_read(struct sst_dsp *sst, void *message, size_t bytes) sst 405 sound/soc/intel/common/sst-dsp.c memcpy_fromio(message, sst->mailbox.in_base, bytes); sst 214 sound/soc/intel/common/sst-dsp.h void sst_dsp_free(struct sst_dsp *sst); sst 218 sound/soc/intel/common/sst-dsp.h void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value); sst 219 sound/soc/intel/common/sst-dsp.h u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset); sst 220 sound/soc/intel/common/sst-dsp.h int sst_dsp_shim_update_bits(struct sst_dsp *sst, u32 offset, sst 222 sound/soc/intel/common/sst-dsp.h void sst_dsp_shim_write64(struct sst_dsp *sst, u32 offset, u64 value); sst 223 sound/soc/intel/common/sst-dsp.h u64 sst_dsp_shim_read64(struct sst_dsp *sst, u32 offset); sst 224 sound/soc/intel/common/sst-dsp.h int sst_dsp_shim_update_bits64(struct sst_dsp *sst, u32 offset, sst 226 sound/soc/intel/common/sst-dsp.h void sst_dsp_shim_update_bits_forced(struct sst_dsp *sst, u32 offset, sst 230 sound/soc/intel/common/sst-dsp.h void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value); sst 231 sound/soc/intel/common/sst-dsp.h u32 sst_dsp_shim_read_unlocked(struct sst_dsp *sst, u32 offset); sst 232 sound/soc/intel/common/sst-dsp.h int sst_dsp_shim_update_bits_unlocked(struct sst_dsp *sst, u32 offset, sst 234 sound/soc/intel/common/sst-dsp.h void sst_dsp_shim_write64_unlocked(struct sst_dsp *sst, u32 offset, u64 value); sst 235 sound/soc/intel/common/sst-dsp.h u64 sst_dsp_shim_read64_unlocked(struct sst_dsp *sst, u32 offset); sst 236 sound/soc/intel/common/sst-dsp.h int sst_dsp_shim_update_bits64_unlocked(struct sst_dsp *sst, u32 offset, sst 238 sound/soc/intel/common/sst-dsp.h void sst_dsp_shim_update_bits_forced_unlocked(struct sst_dsp *sst, u32 offset, sst 246 sound/soc/intel/common/sst-dsp.h void sst_memcpy_toio_32(struct sst_dsp *sst, sst 248 sound/soc/intel/common/sst-dsp.h void sst_memcpy_fromio_32(struct sst_dsp *sst, sst 252 sound/soc/intel/common/sst-dsp.h void sst_dsp_reset(struct sst_dsp *sst); sst 253 sound/soc/intel/common/sst-dsp.h int sst_dsp_boot(struct sst_dsp *sst); sst 254 sound/soc/intel/common/sst-dsp.h int sst_dsp_wake(struct sst_dsp *sst); sst 255 sound/soc/intel/common/sst-dsp.h void sst_dsp_sleep(struct sst_dsp *sst); sst 256 sound/soc/intel/common/sst-dsp.h void sst_dsp_stall(struct sst_dsp *sst); sst 261 sound/soc/intel/common/sst-dsp.h int sst_dsp_dma_copyfrom(struct sst_dsp *sst, dma_addr_t dest_addr, sst 263 sound/soc/intel/common/sst-dsp.h int sst_dsp_dma_copyto(struct sst_dsp *sst, dma_addr_t dest_addr, sst 282 sound/soc/intel/common/sst-dsp.h void sst_dsp_dump(struct sst_dsp *sst); sst 36 sound/soc/intel/common/sst-firmware.c struct sst_dsp *sst; sst 66 sound/soc/intel/common/sst-firmware.c struct sst_dsp *sst = (struct sst_dsp *)arg; sst 68 sound/soc/intel/common/sst-firmware.c dev_dbg(sst->dev, "DMA: callback\n"); sst 71 sound/soc/intel/common/sst-firmware.c static int sst_dsp_dma_copy(struct sst_dsp *sst, dma_addr_t dest_addr, sst 75 sound/soc/intel/common/sst-firmware.c struct sst_dma *dma = sst->dma; sst 78 sound/soc/intel/common/sst-firmware.c dev_err(sst->dev, "error: no DMA channel\n"); sst 82 sound/soc/intel/common/sst-firmware.c dev_dbg(sst->dev, "DMA: src: 0x%lx dest 0x%lx size %zu\n", sst 88 sound/soc/intel/common/sst-firmware.c dev_err(sst->dev, "error: dma prep memcpy failed\n"); sst 93 sound/soc/intel/common/sst-firmware.c desc->callback_param = sst; sst 102 sound/soc/intel/common/sst-firmware.c int sst_dsp_dma_copyto(struct sst_dsp *sst, dma_addr_t dest_addr, sst 105 sound/soc/intel/common/sst-firmware.c return sst_dsp_dma_copy(sst, dest_addr | SST_HSW_MASK_DMA_ADDR_DSP, sst 111 sound/soc/intel/common/sst-firmware.c int sst_dsp_dma_copyfrom(struct sst_dsp *sst, dma_addr_t dest_addr, sst 114 sound/soc/intel/common/sst-firmware.c return sst_dsp_dma_copy(sst, dest_addr, sst 264 sound/soc/intel/common/sst-firmware.c static int sst_dma_new(struct sst_dsp *sst) sst 266 sound/soc/intel/common/sst-firmware.c struct sst_pdata *sst_pdata = sst->pdata; sst 271 sound/soc/intel/common/sst-firmware.c if (sst->pdata->resindex_dma_base == -1) sst 277 sound/soc/intel/common/sst-firmware.c switch (sst->pdata->dma_engine) { sst 281 sound/soc/intel/common/sst-firmware.c dev_err(sst->dev, "error: invalid DMA engine %d\n", sst 282 sound/soc/intel/common/sst-firmware.c sst->pdata->dma_engine); sst 286 sound/soc/intel/common/sst-firmware.c dma = devm_kzalloc(sst->dev, sizeof(struct sst_dma), GFP_KERNEL); sst 290 sound/soc/intel/common/sst-firmware.c dma->sst = sst; sst 294 sound/soc/intel/common/sst-firmware.c mem.start = sst->addr.lpe_base + sst_pdata->dma_base; sst 295 sound/soc/intel/common/sst-firmware.c mem.end = sst->addr.lpe_base + sst_pdata->dma_base + sst_pdata->dma_size - 1; sst 299 sound/soc/intel/common/sst-firmware.c dma->chip = dw_probe(sst->dma_dev, &mem, sst_pdata->irq); sst 301 sound/soc/intel/common/sst-firmware.c dev_err(sst->dev, "error: DMA device register failed\n"); sst 306 sound/soc/intel/common/sst-firmware.c sst->dma = dma; sst 307 sound/soc/intel/common/sst-firmware.c sst->fw_use_dma = true; sst 311 sound/soc/intel/common/sst-firmware.c devm_kfree(sst->dev, dma); sst 1206 sound/soc/intel/common/sst-firmware.c struct sst_dsp *sst; sst 1211 sound/soc/intel/common/sst-firmware.c sst = devm_kzalloc(dev, sizeof(*sst), GFP_KERNEL); sst 1212 sound/soc/intel/common/sst-firmware.c if (sst == NULL) sst 1215 sound/soc/intel/common/sst-firmware.c spin_lock_init(&sst->spinlock); sst 1216 sound/soc/intel/common/sst-firmware.c mutex_init(&sst->mutex); sst 1217 sound/soc/intel/common/sst-firmware.c sst->dev = dev; sst 1218 sound/soc/intel/common/sst-firmware.c sst->dma_dev = pdata->dma_dev; sst 1219 sound/soc/intel/common/sst-firmware.c sst->thread_context = sst_dev->thread_context; sst 1220 sound/soc/intel/common/sst-firmware.c sst->sst_dev = sst_dev; sst 1221 sound/soc/intel/common/sst-firmware.c sst->id = pdata->id; sst 1222 sound/soc/intel/common/sst-firmware.c sst->irq = pdata->irq; sst 1223 sound/soc/intel/common/sst-firmware.c sst->ops = sst_dev->ops; sst 1224 sound/soc/intel/common/sst-firmware.c sst->pdata = pdata; sst 1225 sound/soc/intel/common/sst-firmware.c INIT_LIST_HEAD(&sst->used_block_list); sst 1226 sound/soc/intel/common/sst-firmware.c INIT_LIST_HEAD(&sst->free_block_list); sst 1227 sound/soc/intel/common/sst-firmware.c INIT_LIST_HEAD(&sst->module_list); sst 1228 sound/soc/intel/common/sst-firmware.c INIT_LIST_HEAD(&sst->fw_list); sst 1229 sound/soc/intel/common/sst-firmware.c INIT_LIST_HEAD(&sst->scratch_block_list); sst 1232 sound/soc/intel/common/sst-firmware.c if (sst->ops->init) { sst 1233 sound/soc/intel/common/sst-firmware.c err = sst->ops->init(sst, pdata); sst 1239 sound/soc/intel/common/sst-firmware.c err = request_threaded_irq(sst->irq, sst->ops->irq_handler, sst 1240 sound/soc/intel/common/sst-firmware.c sst_dev->thread, IRQF_SHARED, "AudioDSP", sst); sst 1244 sound/soc/intel/common/sst-firmware.c err = sst_dma_new(sst); sst 1250 sound/soc/intel/common/sst-firmware.c return sst; sst 1253 sound/soc/intel/common/sst-firmware.c free_irq(sst->irq, sst); sst 1255 sound/soc/intel/common/sst-firmware.c if (sst->ops->free) sst 1256 sound/soc/intel/common/sst-firmware.c sst->ops->free(sst); sst 1262 sound/soc/intel/common/sst-firmware.c void sst_dsp_free(struct sst_dsp *sst) sst 1264 sound/soc/intel/common/sst-firmware.c free_irq(sst->irq, sst); sst 1265 sound/soc/intel/common/sst-firmware.c if (sst->ops->free) sst 1266 sound/soc/intel/common/sst-firmware.c sst->ops->free(sst); sst 1268 sound/soc/intel/common/sst-firmware.c sst_dma_free(sst->dma); sst 77 sound/soc/intel/haswell/sst-haswell-dsp.c static void hsw_free(struct sst_dsp *sst); sst 214 sound/soc/intel/haswell/sst-haswell-dsp.c struct sst_dsp *sst = (struct sst_dsp *) context; sst 218 sound/soc/intel/haswell/sst-haswell-dsp.c spin_lock(&sst->spinlock); sst 221 sound/soc/intel/haswell/sst-haswell-dsp.c isr = sst_dsp_shim_read_unlocked(sst, SST_ISRX); sst 224 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_read_unlocked(sst, SST_IMRX)); sst 227 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, SST_IMRX, sst 234 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_read_unlocked(sst, SST_IMRX)); sst 237 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, SST_IMRX, sst 242 sound/soc/intel/haswell/sst-haswell-dsp.c spin_unlock(&sst->spinlock); sst 246 sound/soc/intel/haswell/sst-haswell-dsp.c static void hsw_set_dsp_D3(struct sst_dsp *sst) sst 252 sound/soc/intel/haswell/sst-haswell-dsp.c reg = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 254 sound/soc/intel/haswell/sst-haswell-dsp.c writel(reg, sst->addr.pci_cfg + SST_VDRTCTL2); sst 257 sound/soc/intel/haswell/sst-haswell-dsp.c val = readl(sst->addr.pci_cfg + SST_VDRTCTL0); sst 261 sound/soc/intel/haswell/sst-haswell-dsp.c writel(val, sst->addr.pci_cfg + SST_VDRTCTL0); sst 264 sound/soc/intel/haswell/sst-haswell-dsp.c val = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 266 sound/soc/intel/haswell/sst-haswell-dsp.c writel(val, sst->addr.pci_cfg + SST_VDRTCTL2); sst 269 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, SST_CLKCTL, sst 273 sound/soc/intel/haswell/sst-haswell-dsp.c val = readl(sst->addr.pci_cfg + SST_PMCS); sst 275 sound/soc/intel/haswell/sst-haswell-dsp.c writel(val, sst->addr.pci_cfg + SST_PMCS); sst 279 sound/soc/intel/haswell/sst-haswell-dsp.c reg = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 281 sound/soc/intel/haswell/sst-haswell-dsp.c writel(reg, sst->addr.pci_cfg + SST_VDRTCTL2); sst 287 sound/soc/intel/haswell/sst-haswell-dsp.c static void hsw_reset(struct sst_dsp *sst) sst 290 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, SST_CSR, sst 298 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, SST_CSR, sst 302 sound/soc/intel/haswell/sst-haswell-dsp.c static int hsw_set_dsp_D0(struct sst_dsp *sst) sst 308 sound/soc/intel/haswell/sst-haswell-dsp.c reg = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 310 sound/soc/intel/haswell/sst-haswell-dsp.c writel(reg, sst->addr.pci_cfg + SST_VDRTCTL2); sst 313 sound/soc/intel/haswell/sst-haswell-dsp.c reg = readl(sst->addr.pci_cfg + SST_VDRTCTL0); sst 315 sound/soc/intel/haswell/sst-haswell-dsp.c writel(reg, sst->addr.pci_cfg + SST_VDRTCTL0); sst 318 sound/soc/intel/haswell/sst-haswell-dsp.c reg = readl(sst->addr.pci_cfg + SST_PMCS); sst 320 sound/soc/intel/haswell/sst-haswell-dsp.c writel(reg, sst->addr.pci_cfg + SST_PMCS); sst 324 sound/soc/intel/haswell/sst-haswell-dsp.c reg = readl(sst->addr.pci_cfg + SST_PMCS) & SST_PMCS_PS_MASK; sst 335 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, SST_CSR, sst 339 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, sst 344 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, SST_CLKCTL, sst 349 sound/soc/intel/haswell/sst-haswell-dsp.c hsw_reset(sst); sst 352 sound/soc/intel/haswell/sst-haswell-dsp.c reg = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 354 sound/soc/intel/haswell/sst-haswell-dsp.c writel(reg, sst->addr.pci_cfg + SST_VDRTCTL2); sst 359 sound/soc/intel/haswell/sst-haswell-dsp.c reg = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 361 sound/soc/intel/haswell/sst-haswell-dsp.c writel(reg, sst->addr.pci_cfg + SST_VDRTCTL2); sst 365 sound/soc/intel/haswell/sst-haswell-dsp.c reg = readl(sst->addr.pci_cfg + SST_VDRTCTL0); sst 369 sound/soc/intel/haswell/sst-haswell-dsp.c writel(reg & ~fw_dump_bit, sst->addr.pci_cfg + SST_VDRTCTL0); sst 373 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, SST_CSR2, SST_CSR2_SDFD_SSP1, sst 377 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits(sst, SST_HMDC, sst 382 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits(sst, SST_IMRX, (SST_IMRX_BUSY | SST_IMRX_DONE), sst 384 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits(sst, SST_IMRD, (SST_IMRD_DONE | SST_IMRD_BUSY | sst 388 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_write(sst, SST_IPCX, 0x0); sst 389 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_write(sst, SST_IPCD, 0x0); sst 390 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_write(sst, 0x80, 0x6); sst 391 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_write(sst, 0xe0, 0x300a); sst 396 sound/soc/intel/haswell/sst-haswell-dsp.c static void hsw_boot(struct sst_dsp *sst) sst 399 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits(sst, SST_HMDC, sst 403 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits_unlocked(sst, SST_CSR, SST_CSR_STALL, 0x0); sst 406 sound/soc/intel/haswell/sst-haswell-dsp.c static void hsw_stall(struct sst_dsp *sst) sst 409 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits(sst, SST_CSR, sst 414 sound/soc/intel/haswell/sst-haswell-dsp.c static void hsw_sleep(struct sst_dsp *sst) sst 416 sound/soc/intel/haswell/sst-haswell-dsp.c dev_dbg(sst->dev, "HSW_PM dsp runtime suspend\n"); sst 419 sound/soc/intel/haswell/sst-haswell-dsp.c sst_dsp_shim_update_bits(sst, SST_CSR, sst 423 sound/soc/intel/haswell/sst-haswell-dsp.c hsw_set_dsp_D3(sst); sst 424 sound/soc/intel/haswell/sst-haswell-dsp.c dev_dbg(sst->dev, "HSW_PM dsp runtime suspend exit\n"); sst 427 sound/soc/intel/haswell/sst-haswell-dsp.c static int hsw_wake(struct sst_dsp *sst) sst 431 sound/soc/intel/haswell/sst-haswell-dsp.c dev_dbg(sst->dev, "HSW_PM dsp runtime resume\n"); sst 433 sound/soc/intel/haswell/sst-haswell-dsp.c ret = hsw_set_dsp_D0(sst); sst 437 sound/soc/intel/haswell/sst-haswell-dsp.c dev_dbg(sst->dev, "HSW_PM dsp runtime resume exit\n"); sst 462 sound/soc/intel/haswell/sst-haswell-dsp.c static int hsw_acpi_resource_map(struct sst_dsp *sst, struct sst_pdata *pdata) sst 465 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.lpe_base = pdata->lpe_base; sst 466 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.lpe = ioremap(pdata->lpe_base, pdata->lpe_size); sst 467 sound/soc/intel/haswell/sst-haswell-dsp.c if (!sst->addr.lpe) sst 471 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.pci_cfg = ioremap(pdata->pcicfg_base, pdata->pcicfg_size); sst 472 sound/soc/intel/haswell/sst-haswell-dsp.c if (!sst->addr.pci_cfg) { sst 473 sound/soc/intel/haswell/sst-haswell-dsp.c iounmap(sst->addr.lpe); sst 478 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.shim = sst->addr.lpe + sst->addr.shim_offset; sst 496 sound/soc/intel/haswell/sst-haswell-dsp.c struct sst_dsp *sst = block->dsp; sst 499 sound/soc/intel/haswell/sst-haswell-dsp.c if (sram_shift[index].dev_id == sst->id) sst 527 sound/soc/intel/haswell/sst-haswell-dsp.c struct sst_dsp *sst = block->dsp; sst 530 sound/soc/intel/haswell/sst-haswell-dsp.c memcpy_fromio(tmp_buf, sst->addr.lpe + block->offset, size); sst 536 sound/soc/intel/haswell/sst-haswell-dsp.c struct sst_dsp *sst = block->dsp; sst 546 sound/soc/intel/haswell/sst-haswell-dsp.c val = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 548 sound/soc/intel/haswell/sst-haswell-dsp.c writel(val, sst->addr.pci_cfg + SST_VDRTCTL2); sst 550 sound/soc/intel/haswell/sst-haswell-dsp.c val = readl(sst->addr.pci_cfg + SST_VDRTCTL0); sst 552 sound/soc/intel/haswell/sst-haswell-dsp.c writel(val & ~bit, sst->addr.pci_cfg + SST_VDRTCTL0); sst 558 sound/soc/intel/haswell/sst-haswell-dsp.c val = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 560 sound/soc/intel/haswell/sst-haswell-dsp.c writel(val, sst->addr.pci_cfg + SST_VDRTCTL2); sst 572 sound/soc/intel/haswell/sst-haswell-dsp.c struct sst_dsp *sst = block->dsp; sst 582 sound/soc/intel/haswell/sst-haswell-dsp.c val = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 584 sound/soc/intel/haswell/sst-haswell-dsp.c writel(val, sst->addr.pci_cfg + SST_VDRTCTL2); sst 587 sound/soc/intel/haswell/sst-haswell-dsp.c val = readl(sst->addr.pci_cfg + SST_VDRTCTL0); sst 591 sound/soc/intel/haswell/sst-haswell-dsp.c writel(val | bit, sst->addr.pci_cfg + SST_VDRTCTL0); sst 597 sound/soc/intel/haswell/sst-haswell-dsp.c val = readl(sst->addr.pci_cfg + SST_VDRTCTL2); sst 599 sound/soc/intel/haswell/sst-haswell-dsp.c writel(val, sst->addr.pci_cfg + SST_VDRTCTL2); sst 611 sound/soc/intel/haswell/sst-haswell-dsp.c static int hsw_init(struct sst_dsp *sst, struct sst_pdata *pdata) sst 618 sound/soc/intel/haswell/sst-haswell-dsp.c dev = sst->dma_dev; sst 620 sound/soc/intel/haswell/sst-haswell-dsp.c switch (sst->id) { sst 624 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.iram_offset = SST_LP_IRAM_OFFSET; sst 625 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.dsp_iram_offset = SST_LPT_DSP_IRAM_OFFSET; sst 626 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.dsp_dram_offset = SST_LPT_DSP_DRAM_OFFSET; sst 627 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.shim_offset = SST_LP_SHIM_OFFSET; sst 632 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.iram_offset = SST_WPT_IRAM_OFFSET; sst 633 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.dsp_iram_offset = SST_WPT_DSP_IRAM_OFFSET; sst 634 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.dsp_dram_offset = SST_WPT_DSP_DRAM_OFFSET; sst 635 sound/soc/intel/haswell/sst-haswell-dsp.c sst->addr.shim_offset = SST_WPT_SHIM_OFFSET; sst 642 sound/soc/intel/haswell/sst-haswell-dsp.c ret = hsw_acpi_resource_map(sst, pdata); sst 649 sound/soc/intel/haswell/sst-haswell-dsp.c ret = hsw_set_dsp_D0(sst); sst 667 sound/soc/intel/haswell/sst-haswell-dsp.c sst_mem_block_register(sst, offset, size, sst 668 sound/soc/intel/haswell/sst-haswell-dsp.c region[i].type, &sst_hsw_ops, j, sst); sst 677 sound/soc/intel/haswell/sst-haswell-dsp.c writel(0xffffffff & ~fw_dump_bit, sst->addr.pci_cfg + SST_VDRTCTL0); sst 682 sound/soc/intel/haswell/sst-haswell-dsp.c static void hsw_free(struct sst_dsp *sst) sst 684 sound/soc/intel/haswell/sst-haswell-dsp.c sst_mem_block_unregister_all(sst); sst 685 sound/soc/intel/haswell/sst-haswell-dsp.c iounmap(sst->addr.lpe); sst 686 sound/soc/intel/haswell/sst-haswell-dsp.c iounmap(sst->addr.pci_cfg); sst 711 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; sst 715 sound/soc/intel/haswell/sst-haswell-ipc.c header = sst_dsp_shim_read_unlocked(sst, SST_IPCD); sst 762 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = (struct sst_dsp *) context; sst 763 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw *hsw = sst_dsp_get_thread_context(sst); sst 768 sound/soc/intel/haswell/sst-haswell-ipc.c spin_lock_irqsave(&sst->spinlock, flags); sst 771 sound/soc/intel/haswell/sst-haswell-ipc.c ipcd = sst_dsp_shim_read_unlocked(sst, SST_IPCD); sst 780 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_update_bits_unlocked(sst, SST_IPCX, sst 784 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_update_bits_unlocked(sst, SST_IMRX, sst 795 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_update_bits_unlocked(sst, SST_IPCD, sst 799 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_update_bits_unlocked(sst, SST_IMRX, sst 803 sound/soc/intel/haswell/sst-haswell-ipc.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 967 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; sst 974 sound/soc/intel/haswell/sst-haswell-ipc.c spin_lock_irqsave(&sst->spinlock, flags); sst 984 sound/soc/intel/haswell/sst-haswell-ipc.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 993 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; sst 1023 sound/soc/intel/haswell/sst-haswell-ipc.c spin_lock_irqsave(&sst->spinlock, flags); sst 1026 sound/soc/intel/haswell/sst-haswell-ipc.c spin_unlock_irqrestore(&sst->spinlock, flags); sst 1494 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; sst 1508 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_dsp_dma_get_channel(sst, 0); sst 1515 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_update_bits(sst, SST_HMDC, sst 1529 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_dsp_dma_copyfrom(sst, hsw->dx_context_paddr + offset, sst 1530 sound/soc/intel/haswell/sst-haswell-ipc.c sst->addr.lpe_base + offset, size); sst 1541 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_dma_put_channel(sst); sst 1547 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; sst 1561 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_dsp_dma_copyto(sst, sst->addr.lpe_base + offset, sst 2062 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = ipc->dsp; sst 2065 sound/soc/intel/haswell/sst-haswell-ipc.c ipcx = sst_dsp_shim_read_unlocked(sst, SST_IPCX); sst 2066 sound/soc/intel/haswell/sst-haswell-ipc.c isr = sst_dsp_shim_read_unlocked(sst, SST_ISRX); sst 2067 sound/soc/intel/haswell/sst-haswell-ipc.c ipcd = sst_dsp_shim_read_unlocked(sst, SST_IPCD); sst 2068 sound/soc/intel/haswell/sst-haswell-ipc.c imrx = sst_dsp_shim_read_unlocked(sst, SST_IMRX); sst 554 sound/soc/intel/skylake/bxt-sst.c struct sst_dsp *sst; sst 564 sound/soc/intel/skylake/bxt-sst.c sst = skl->dsp; sst 565 sound/soc/intel/skylake/bxt-sst.c sst->fw_ops = bxt_fw_ops; sst 566 sound/soc/intel/skylake/bxt-sst.c sst->addr.lpe = mmio_base; sst 567 sound/soc/intel/skylake/bxt-sst.c sst->addr.shim = mmio_base; sst 568 sound/soc/intel/skylake/bxt-sst.c sst->addr.sram0_base = BXT_ADSP_SRAM0_BASE; sst 569 sound/soc/intel/skylake/bxt-sst.c sst->addr.sram1_base = BXT_ADSP_SRAM1_BASE; sst 570 sound/soc/intel/skylake/bxt-sst.c sst->addr.w0_stat_sz = SKL_ADSP_W0_STAT_SZ; sst 571 sound/soc/intel/skylake/bxt-sst.c sst->addr.w0_up_sz = SKL_ADSP_W0_UP_SZ; sst 573 sound/soc/intel/skylake/bxt-sst.c sst_dsp_mailbox_init(sst, (BXT_ADSP_SRAM0_BASE + SKL_ADSP_W0_STAT_SZ), sst 578 sound/soc/intel/skylake/bxt-sst.c skl_dsp_free(sst); sst 590 sound/soc/intel/skylake/bxt-sst.c return skl_dsp_acquire_irq(sst); sst 597 sound/soc/intel/skylake/bxt-sst.c struct sst_dsp *sst = skl->dsp; sst 599 sound/soc/intel/skylake/bxt-sst.c ret = sst->fw_ops.load_fw(sst); sst 605 sound/soc/intel/skylake/bxt-sst.c skl_dsp_init_core_state(sst); sst 608 sound/soc/intel/skylake/bxt-sst.c ret = sst->fw_ops.load_library(sst, skl->lib_info, sst 420 sound/soc/intel/skylake/cnl-sst.c struct sst_dsp *sst; sst 430 sound/soc/intel/skylake/cnl-sst.c sst = cnl->dsp; sst 431 sound/soc/intel/skylake/cnl-sst.c sst->fw_ops = cnl_fw_ops; sst 432 sound/soc/intel/skylake/cnl-sst.c sst->addr.lpe = mmio_base; sst 433 sound/soc/intel/skylake/cnl-sst.c sst->addr.shim = mmio_base; sst 434 sound/soc/intel/skylake/cnl-sst.c sst->addr.sram0_base = CNL_ADSP_SRAM0_BASE; sst 435 sound/soc/intel/skylake/cnl-sst.c sst->addr.sram1_base = CNL_ADSP_SRAM1_BASE; sst 436 sound/soc/intel/skylake/cnl-sst.c sst->addr.w0_stat_sz = CNL_ADSP_W0_STAT_SZ; sst 437 sound/soc/intel/skylake/cnl-sst.c sst->addr.w0_up_sz = CNL_ADSP_W0_UP_SZ; sst 439 sound/soc/intel/skylake/cnl-sst.c sst_dsp_mailbox_init(sst, (CNL_ADSP_SRAM0_BASE + CNL_ADSP_W0_STAT_SZ), sst 445 sound/soc/intel/skylake/cnl-sst.c skl_dsp_free(sst); sst 452 sound/soc/intel/skylake/cnl-sst.c return skl_dsp_acquire_irq(sst); sst 459 sound/soc/intel/skylake/cnl-sst.c struct sst_dsp *sst = skl->dsp; sst 461 sound/soc/intel/skylake/cnl-sst.c ret = skl->dsp->fw_ops.load_fw(sst); sst 467 sound/soc/intel/skylake/cnl-sst.c skl_dsp_init_core_state(sst); sst 177 sound/soc/intel/skylake/skl-debug.c struct sst_dsp *sst = d->skl->dsp; sst 178 sound/soc/intel/skylake/skl-debug.c size_t w0_stat_sz = sst->addr.w0_stat_sz; sst 179 sound/soc/intel/skylake/skl-debug.c void __iomem *in_base = sst->mailbox.in_base; sst 409 sound/soc/intel/skylake/skl-sst-dsp.c struct sst_dsp *sst; sst 411 sound/soc/intel/skylake/skl-sst-dsp.c sst = devm_kzalloc(dev, sizeof(*sst), GFP_KERNEL); sst 412 sound/soc/intel/skylake/skl-sst-dsp.c if (sst == NULL) sst 415 sound/soc/intel/skylake/skl-sst-dsp.c spin_lock_init(&sst->spinlock); sst 416 sound/soc/intel/skylake/skl-sst-dsp.c mutex_init(&sst->mutex); sst 417 sound/soc/intel/skylake/skl-sst-dsp.c sst->dev = dev; sst 418 sound/soc/intel/skylake/skl-sst-dsp.c sst->sst_dev = sst_dev; sst 419 sound/soc/intel/skylake/skl-sst-dsp.c sst->irq = irq; sst 420 sound/soc/intel/skylake/skl-sst-dsp.c sst->ops = sst_dev->ops; sst 421 sound/soc/intel/skylake/skl-sst-dsp.c sst->thread_context = sst_dev->thread_context; sst 424 sound/soc/intel/skylake/skl-sst-dsp.c if (sst->ops->init) { sst 425 sound/soc/intel/skylake/skl-sst-dsp.c ret = sst->ops->init(sst, NULL); sst 430 sound/soc/intel/skylake/skl-sst-dsp.c return sst; sst 433 sound/soc/intel/skylake/skl-sst-dsp.c int skl_dsp_acquire_irq(struct sst_dsp *sst) sst 435 sound/soc/intel/skylake/skl-sst-dsp.c struct sst_dsp_device *sst_dev = sst->sst_dev; sst 439 sound/soc/intel/skylake/skl-sst-dsp.c ret = request_threaded_irq(sst->irq, sst->ops->irq_handler, sst 440 sound/soc/intel/skylake/skl-sst-dsp.c sst_dev->thread, IRQF_SHARED, "AudioDSP", sst); sst 442 sound/soc/intel/skylake/skl-sst-dsp.c dev_err(sst->dev, "unable to grab threaded IRQ %d, disabling device\n", sst 443 sound/soc/intel/skylake/skl-sst-dsp.c sst->irq); sst 201 sound/soc/intel/skylake/skl-sst-dsp.h int skl_dsp_acquire_irq(struct sst_dsp *sst); sst 361 sound/soc/intel/skylake/skl-sst-utils.c struct sst_dsp *sst; sst 372 sound/soc/intel/skylake/skl-sst-utils.c sst = skl->dsp; sst 373 sound/soc/intel/skylake/skl-sst-utils.c sst->fw_name = fw_name; sst 374 sound/soc/intel/skylake/skl-sst-utils.c sst->dsp_ops = dsp_ops; sst 376 sound/soc/intel/skylake/skl-sst-utils.c INIT_LIST_HEAD(&sst->module_list); sst 524 sound/soc/intel/skylake/skl-sst.c struct sst_dsp *sst; sst 534 sound/soc/intel/skylake/skl-sst.c sst = skl->dsp; sst 535 sound/soc/intel/skylake/skl-sst.c sst->addr.lpe = mmio_base; sst 536 sound/soc/intel/skylake/skl-sst.c sst->addr.shim = mmio_base; sst 537 sound/soc/intel/skylake/skl-sst.c sst->addr.sram0_base = SKL_ADSP_SRAM0_BASE; sst 538 sound/soc/intel/skylake/skl-sst.c sst->addr.sram1_base = SKL_ADSP_SRAM1_BASE; sst 539 sound/soc/intel/skylake/skl-sst.c sst->addr.w0_stat_sz = SKL_ADSP_W0_STAT_SZ; sst 540 sound/soc/intel/skylake/skl-sst.c sst->addr.w0_up_sz = SKL_ADSP_W0_UP_SZ; sst 542 sound/soc/intel/skylake/skl-sst.c sst_dsp_mailbox_init(sst, (SKL_ADSP_SRAM0_BASE + SKL_ADSP_W0_STAT_SZ), sst 547 sound/soc/intel/skylake/skl-sst.c skl_dsp_free(sst); sst 551 sound/soc/intel/skylake/skl-sst.c sst->fw_ops = skl_fw_ops; sst 553 sound/soc/intel/skylake/skl-sst.c return skl_dsp_acquire_irq(sst); sst 560 sound/soc/intel/skylake/skl-sst.c struct sst_dsp *sst = skl->dsp; sst 562 sound/soc/intel/skylake/skl-sst.c ret = sst->fw_ops.load_fw(sst); sst 568 sound/soc/intel/skylake/skl-sst.c skl_dsp_init_core_state(sst); sst 571 sound/soc/intel/skylake/skl-sst.c ret = sst->fw_ops.load_library(sst, skl->lib_info,