Lines Matching defs:skl
3 * skl-sst-dsp.c - SKL SST library generic function
15 #include "skl.h"
36 struct skl_dev *skl = ctx->thread_context;
39 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING;
40 skl->cores.usage_count[SKL_DSP_CORE0_ID] = 1;
42 for (i = SKL_DSP_CORE0_ID + 1; i < skl->cores.count; i++) {
43 skl->cores.state[i] = SKL_DSP_RESET;
44 skl->cores.usage_count[i] = 0;
51 struct skl_dev *skl = ctx->thread_context;
55 core_mask = SKL_DSP_CORES_MASK(skl->cores.count);
338 struct skl_dev *skl = ctx->thread_context;
341 if (core_id >= skl->cores.count) {
346 skl->cores.usage_count[core_id]++;
348 if (skl->cores.state[core_id] == SKL_DSP_RESET) {
358 core_id, skl->cores.state[core_id],
359 skl->cores.usage_count[core_id]);
367 struct skl_dev *skl = ctx->thread_context;
370 if (core_id >= skl->cores.count) {
375 if ((--skl->cores.usage_count[core_id] == 0) &&
376 (skl->cores.state[core_id] != SKL_DSP_RESET)) {
381 skl->cores.usage_count[core_id]++;
386 core_id, skl->cores.state[core_id],
387 skl->cores.usage_count[core_id]);