Home
last modified time | relevance | path

Searched refs:core_id (Results 1 – 10 of 10) sorted by relevance

/sound/soc/intel/skylake/
Dskl-sst-dsp.c344 int skl_dsp_get_core(struct sst_dsp *ctx, unsigned int core_id) in skl_dsp_get_core() argument
349 if (core_id >= skl->cores.count) { in skl_dsp_get_core()
350 dev_err(ctx->dev, "invalid core id: %d\n", core_id); in skl_dsp_get_core()
354 if (skl->cores.state[core_id] == SKL_DSP_RESET) { in skl_dsp_get_core()
355 ret = ctx->fw_ops.set_state_D0(ctx, core_id); in skl_dsp_get_core()
357 dev_err(ctx->dev, "unable to get core%d\n", core_id); in skl_dsp_get_core()
362 skl->cores.usage_count[core_id]++; in skl_dsp_get_core()
365 core_id, skl->cores.state[core_id], in skl_dsp_get_core()
366 skl->cores.usage_count[core_id]); in skl_dsp_get_core()
372 int skl_dsp_put_core(struct sst_dsp *ctx, unsigned int core_id) in skl_dsp_put_core() argument
[all …]
Dbxt-sst.c291 static int bxt_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in bxt_set_dsp_D0() argument
296 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in bxt_set_dsp_D0()
318 if (core_id == SKL_DSP_CORE0_ID) in bxt_set_dsp_D0()
327 if (core_id == SKL_DSP_CORE0_ID) { in bxt_set_dsp_D0()
342 if (core_id == SKL_DSP_CORE0_ID) { in bxt_set_dsp_D0()
362 if (core_id != SKL_DSP_CORE0_ID) { in bxt_set_dsp_D0()
370 core_id, ret); in bxt_set_dsp_D0()
375 skl->cores.state[core_id] = SKL_DSP_RUNNING; in bxt_set_dsp_D0()
378 if (core_id == SKL_DSP_CORE0_ID) in bxt_set_dsp_D0()
385 static int bxt_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in bxt_set_dsp_D3() argument
[all …]
Dskl-sst.c167 static int skl_set_dsp_D0(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D0() argument
172 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in skl_set_dsp_D0()
175 if (core_id == SKL_DSP_CORE0_ID) { in skl_set_dsp_D0()
187 if (core_id != SKL_DSP_CORE0_ID) { in skl_set_dsp_D0()
199 core_id); in skl_set_dsp_D0()
204 skl->cores.state[core_id] = SKL_DSP_RUNNING; in skl_set_dsp_D0()
209 static int skl_set_dsp_D3(struct sst_dsp *ctx, unsigned int core_id) in skl_set_dsp_D3() argument
214 unsigned int core_mask = SKL_DSP_CORE_MASK(core_id); in skl_set_dsp_D3()
221 dev_err(ctx->dev, "set Dx core %d fail: %d\n", core_id, ret); in skl_set_dsp_D3()
223 if (core_id == SKL_DSP_CORE0_ID) { in skl_set_dsp_D3()
[all …]
Dskl-sst-dsp.h140 int (*set_state_D0)(struct sst_dsp *ctx, unsigned int core_id);
141 int (*set_state_D3)(struct sst_dsp *ctx, unsigned int core_id);
199 int skl_dsp_get_core(struct sst_dsp *ctx, unsigned int core_id);
200 int skl_dsp_put_core(struct sst_dsp *ctx, unsigned int core_id);
Dskl-sst-ipc.h93 u8 core_id; member
Dskl-topology.h314 u8 core_id; member
Dskl-messages.c880 msg.core_id = mconfig->core_id; in skl_init_module()
Dskl-sst-ipc.c710 header.extension = IPC_CORE_ID(msg->core_id); in skl_ipc_init_instance()
Dskl-topology.c1782 mconfig->core_id = tkn_elem->value; in skl_tplg_get_token()
/sound/soc/codecs/
Dwmfw.h65 __be32 core_id; member