Home
last modified time | relevance | path

Searched refs:sst (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.12.1/sound/soc/intel/common/
Dsst-dsp.c48 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write() argument
52 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_write()
53 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write()
54 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_write()
58 u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read() argument
63 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_read()
64 val = sst->ops->read(sst->addr.shim, offset); in sst_dsp_shim_read()
65 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_read()
71 void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write_unlocked() argument
73 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write_unlocked()
[all …]
Dsst-dsp.h30 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value);
31 u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset);
32 int sst_dsp_shim_update_bits(struct sst_dsp *sst, u32 offset,
34 void sst_dsp_shim_update_bits_forced(struct sst_dsp *sst, u32 offset,
38 void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value);
39 u32 sst_dsp_shim_read_unlocked(struct sst_dsp *sst, u32 offset);
40 int sst_dsp_shim_update_bits_unlocked(struct sst_dsp *sst, u32 offset,
42 void sst_dsp_shim_update_bits_forced_unlocked(struct sst_dsp *sst, u32 offset,
52 int sst_dsp_mailbox_init(struct sst_dsp *sst, u32 inbox_offset,
54 void sst_dsp_inbox_write(struct sst_dsp *sst, void *message, size_t bytes);
[all …]
DMakefile2 snd-soc-sst-dsp-y := sst-dsp.o
3 snd-soc-sst-ipc-y := sst-ipc.o
21 obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o snd-soc-sst-ipc.o
Dsst-dsp-priv.h30 int (*init)(struct sst_dsp *sst);
31 void (*free)(struct sst_dsp *sst);
/linux-6.12.1/sound/soc/intel/boards/
DMakefile3 snd-soc-sst-bdw-rt5650-mach-y := bdw-rt5650.o
4 snd-soc-sst-bdw-rt5677-mach-y := bdw-rt5677.o
6 snd-soc-sst-sof-pcm512x-y := sof_pcm512x.o
7 snd-soc-sst-sof-wm8804-y := sof_wm8804.o
8 snd-soc-sst-bytcr-rt5640-y := bytcr_rt5640.o
9 snd-soc-sst-bytcr-rt5651-y := bytcr_rt5651.o
10 snd-soc-sst-bytcr-wm5102-y := bytcr_wm5102.o
11 snd-soc-sst-cht-bsw-rt5672-y := cht_bsw_rt5672.o
12 snd-soc-sst-cht-bsw-rt5645-y := cht_bsw_rt5645.o
13 snd-soc-sst-cht-bsw-max98090_ti-y := cht_bsw_max98090_ti.o
[all …]
/linux-6.12.1/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c56 if (!sst || !try_module_get(sst->dev->driver->owner)) { in sst_platform_compr_open()
61 stream->compr_ops = sst->compr_ops; in sst_platform_compr_open()
65 sst->compr_ops->power(sst->dev, true); in sst_platform_compr_open()
83 sst->compr_ops->power(sst->dev, false); in sst_platform_compr_free()
88 ret_val = stream->compr_ops->close(sst->dev, str_id); in sst_platform_compr_free()
89 module_put(sst->dev->driver->owner); in sst_platform_compr_free()
159 retval = stream->compr_ops->open(sst->dev, &str_params, &cb); in sst_platform_compr_set_params()
177 return stream->compr_ops->stream_start(sst->dev, stream->id); in sst_platform_compr_trigger()
181 return stream->compr_ops->stream_drop(sst->dev, stream->id); in sst_platform_compr_trigger()
185 return stream->compr_ops->stream_drain(sst->dev, stream->id); in sst_platform_compr_trigger()
[all …]
DMakefile2 snd-soc-sst-atom-hifi2-platform-y := sst-mfld-platform-pcm.o \
3 sst-mfld-platform-compress.o \
4 sst-atom-controls.o
6 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += snd-soc-sst-atom-hifi2-platform.o
9 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += sst/
Dsst-mfld-platform-pcm.c26 struct sst_device *sst; variable
36 if (sst) { in sst_register_dsp()
37 dev_err(dev->dev, "we already have a device %s\n", sst->name); in sst_register_dsp()
43 sst = dev; in sst_register_dsp()
53 if (dev != sst) in sst_unregister_dsp()
58 if (!sst) { in sst_unregister_dsp()
63 module_put(sst->dev->driver->owner); in sst_unregister_dsp()
64 dev_dbg(dev->dev, "unreg %s\n", sst->name); in sst_unregister_dsp()
65 sst = NULL; in sst_unregister_dsp()
247 ret_val = stream->ops->open(sst->dev, &str_params); in sst_platform_alloc_stream()
[all …]
/linux-6.12.1/sound/soc/intel/atom/sst/
Dsst_pvt.c220 int sst_prepare_and_post_msg(struct intel_sst_drv *sst, in sst_prepare_and_post_msg() argument
230 pvt_id = sst_assign_pvt_id(sst); in sst_prepare_and_post_msg()
236 &msg, large, sst, &block, ipc_msg, pvt_id); in sst_prepare_and_post_msg()
241 test_and_clear_bit(pvt_id, &sst->pvt_id); in sst_prepare_and_post_msg()
245 dev_dbg(sst->dev, "pvt_id = %d, pipe id = %d, task = %d ipc_msg: %d\n", in sst_prepare_and_post_msg()
251 dev_dbg(sst->dev, "header:%x\n", in sst_prepare_and_post_msg()
253 dev_dbg(sst->dev, "response rqd: %x", in sst_prepare_and_post_msg()
255 dev_dbg(sst->dev, "msg->mrfld_header.p.header_low_payload:%d", in sst_prepare_and_post_msg()
267 sst->ops->post_message(sst, msg, true); in sst_prepare_and_post_msg()
269 sst_add_to_dispatch_list_and_post(sst, msg); in sst_prepare_and_post_msg()
[all …]
Dsst_loader.c284 static int sst_cache_and_parse_fw(struct intel_sst_drv *sst, in sst_cache_and_parse_fw() argument
289 sst->fw_in_mem = kzalloc(fw->size, GFP_KERNEL); in sst_cache_and_parse_fw()
290 if (!sst->fw_in_mem) { in sst_cache_and_parse_fw()
294 dev_dbg(sst->dev, "copied fw to %p", sst->fw_in_mem); in sst_cache_and_parse_fw()
295 dev_dbg(sst->dev, "phys: %lx", (unsigned long)virt_to_phys(sst->fw_in_mem)); in sst_cache_and_parse_fw()
296 memcpy(sst->fw_in_mem, fw->data, fw->size); in sst_cache_and_parse_fw()
297 retval = sst_parse_fw_memcpy(sst, fw->size, &sst->memcpy_list); in sst_cache_and_parse_fw()
299 dev_err(sst->dev, "Failed to parse fw\n"); in sst_cache_and_parse_fw()
300 kfree(sst->fw_in_mem); in sst_cache_and_parse_fw()
301 sst->fw_in_mem = NULL; in sst_cache_and_parse_fw()
[all …]
DMakefile2 snd-intel-sst-core-y := sst.o sst_ipc.o sst_stream.o sst_drv_interface.o sst_loader.o sst_pvt.o
3 snd-intel-sst-pci-y += sst_pci.o
4 snd-intel-sst-acpi-y += sst_acpi.o
6 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += snd-intel-sst-core.o
7 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_PCI) += snd-intel-sst-pci.o
8 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_ACPI) += snd-intel-sst-acpi.o
Dsst.h428 int (*save_dsp_context)(struct intel_sst_drv *sst);
431 void (*post_download)(struct intel_sst_drv *sst);
471 int intel_sst_register_compress(struct intel_sst_drv *sst);
472 int intel_sst_remove_compress(struct intel_sst_drv *sst);
488 int sst_driver_ops(struct intel_sst_drv *sst);
491 int sst_prepare_and_post_msg(struct intel_sst_drv *sst,
504 void sst_add_to_dispatch_list_and_post(struct intel_sst_drv *sst,
Dsst.c144 static int sst_save_dsp_context_v2(struct intel_sst_drv *sst) in sst_save_dsp_context_v2() argument
148 ret = sst_prepare_and_post_msg(sst, SST_TASK_ID_MEDIA, IPC_CMD, in sst_save_dsp_context_v2()
153 dev_err(sst->dev, "not suspending FW!!, Err: %d\n", ret); in sst_save_dsp_context_v2()
174 int sst_driver_ops(struct intel_sst_drv *sst) in sst_driver_ops() argument
177 switch (sst->dev_id) { in sst_driver_ops()
181 sst->tstamp = SST_TIME_STAMP_MRFLD; in sst_driver_ops()
182 sst->ops = &mrfld_ops; in sst_driver_ops()
186 dev_err(sst->dev, in sst_driver_ops()
188 sst->dev_id); in sst_driver_ops()
/linux-6.12.1/arch/arm64/crypto/
Dsha2-ce-glue.c26 struct sha256_state sst; member
33 asmlinkage int __sha256_ce_transform(struct sha256_ce_state *sst, u8 const *src,
36 static void sha256_ce_transform(struct sha256_state *sst, u8 const *src, in sha256_ce_transform() argument
43 rem = __sha256_ce_transform(container_of(sst, in sha256_ce_transform()
45 sst), src, blocks); in sha256_ce_transform()
53 sst.count);
59 static void sha256_arm64_transform(struct sha256_state *sst, u8 const *src, in sha256_arm64_transform() argument
62 sha256_block_data_order(sst->state, src, blocks); in sha256_arm64_transform()
84 bool finalize = !sctx->sst.count && !(len % SHA256_BLOCK_SIZE) && len; in sha256_ce_finup()
131 memcpy(out, &sctx->sst, sizeof(struct sha256_state)); in sha256_ce_export()
[all …]
Dsha1-ce-glue.c25 struct sha1_state sst; member
32 asmlinkage int __sha1_ce_transform(struct sha1_ce_state *sst, u8 const *src,
35 static void sha1_ce_transform(struct sha1_state *sst, u8 const *src, in sha1_ce_transform() argument
42 rem = __sha1_ce_transform(container_of(sst, in sha1_ce_transform()
44 sst), src, blocks); in sha1_ce_transform()
51 const u32 sha1_ce_offsetof_count = offsetof(struct sha1_ce_state, sst.count);
72 bool finalize = !sctx->sst.count && !(len % SHA1_BLOCK_SIZE) && len; in sha1_ce_finup()
105 memcpy(out, &sctx->sst, sizeof(struct sha1_state)); in sha1_ce_export()
113 memcpy(&sctx->sst, in, sizeof(struct sha1_state)); in sha1_ce_import()
Dsha512-ce-glue.c29 asmlinkage int __sha512_ce_transform(struct sha512_state *sst, u8 const *src,
34 static void sha512_ce_transform(struct sha512_state *sst, u8 const *src, in sha512_ce_transform() argument
41 rem = __sha512_ce_transform(sst, src, blocks); in sha512_ce_transform()
48 static void sha512_arm64_transform(struct sha512_state *sst, u8 const *src, in sha512_arm64_transform() argument
51 sha512_block_data_order(sst->state, src, blocks); in sha512_arm64_transform()
Dsha256-glue.c30 static void sha256_arm64_transform(struct sha256_state *sst, u8 const *src, in sha256_arm64_transform() argument
33 sha256_block_data_order(sst->state, src, blocks); in sha256_arm64_transform()
39 static void sha256_neon_transform(struct sha256_state *sst, u8 const *src, in sha256_neon_transform() argument
42 sha256_block_neon(sst->state, src, blocks); in sha256_neon_transform()
Dsha512-glue.c26 static void sha512_arm64_transform(struct sha512_state *sst, u8 const *src, in sha512_arm64_transform() argument
29 sha512_block_data_order(sst->state, src, blocks); in sha512_arm64_transform()
/linux-6.12.1/drivers/hsi/controllers/
Domap_ssi_port.c146 omap_port->sst.divisor = val; in ssi_div_set()
343 if (omap_port->sst.mode != SSI_MODE_FRAME) { in ssi_async_break()
387 BUG_ON(msg->channel >= omap_port->sst.channels); in ssi_async()
454 void __iomem *sst = omap_port->sst_base; in ssi_setup() local
472 writel_relaxed(SSI_MODE_SLEEP, sst + SSI_SST_MODE_REG); in ssi_setup()
477 writel_relaxed(31, sst + SSI_SST_FRAMESIZE_REG); in ssi_setup()
478 writel_relaxed(div, sst + SSI_SST_DIVISOR_REG); in ssi_setup()
479 writel_relaxed(cl->tx_cfg.num_hw_channels, sst + SSI_SST_CHANNELS_REG); in ssi_setup()
480 writel_relaxed(cl->tx_cfg.arb_mode, sst + SSI_SST_ARBMODE_REG); in ssi_setup()
481 writel_relaxed(cl->tx_cfg.mode, sst + SSI_SST_MODE_REG); in ssi_setup()
[all …]
/linux-6.12.1/crypto/
Dsha1_generic.c30 static void sha1_generic_block_fn(struct sha1_state *sst, u8 const *src, in sha1_generic_block_fn() argument
36 sha1_transform(sst->state, src, temp); in sha1_generic_block_fn()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Ddtl.c423 u64 sst, ust; in pseries_accumulate_stolen_time() local
426 sst = scan_dispatch_log(acct->starttime_user); in pseries_accumulate_stolen_time()
428 acct->stime -= sst; in pseries_accumulate_stolen_time()
430 acct->steal_time += ust + sst; in pseries_accumulate_stolen_time()
/linux-6.12.1/arch/arm64/kernel/
Dfpsimd.c630 static void __fpsimd_to_sve(void *sst, struct user_fpsimd_state const *fst, in __fpsimd_to_sve() argument
637 p = (__uint128_t *)ZREG(sst, vq, i); in __fpsimd_to_sve()
657 void *sst = task->thread.sve_state; in fpsimd_to_sve() local
664 __fpsimd_to_sve(sst, fst, vq); in fpsimd_to_sve()
681 void const *sst = task->thread.sve_state; in sve_to_fpsimd() local
692 p = (__uint128_t const *)ZREG(sst, vq, i); in sve_to_fpsimd()
819 void *sst = task->thread.sve_state; in sve_sync_from_fpsimd_zeropad() local
828 memset(sst, 0, SVE_SIG_REGS_SIZE(vq)); in sve_sync_from_fpsimd_zeropad()
829 __fpsimd_to_sve(sst, fst, vq); in sve_sync_from_fpsimd_zeropad()
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx6dl-rex-basic.dts23 compatible = "sst,sst25vf016b", "jedec,spi-nor";
Dimx6q-rex-pro.dts23 compatible = "sst,sst25vf032b", "jedec,spi-nor";
/linux-6.12.1/drivers/mtd/spi-nor/
DMakefile14 spi-nor-objs += sst.o

123