Searched refs:cores (Results 1 – 6 of 6) sorted by relevance
39 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING; in skl_dsp_init_core_state()40 skl->cores.usage_count[SKL_DSP_CORE0_ID] = 1; in skl_dsp_init_core_state()42 for (i = SKL_DSP_CORE0_ID + 1; i < skl->cores.count; i++) { in skl_dsp_init_core_state()43 skl->cores.state[i] = SKL_DSP_RESET; in skl_dsp_init_core_state()44 skl->cores.usage_count[i] = 0; in skl_dsp_init_core_state()55 core_mask = SKL_DSP_CORES_MASK(skl->cores.count); in skl_dsp_get_enabled_cores()341 if (core_id >= skl->cores.count) { in skl_dsp_get_core()346 skl->cores.usage_count[core_id]++; in skl_dsp_get_core()348 if (skl->cores.state[core_id] == SKL_DSP_RESET) { in skl_dsp_get_core()358 core_id, skl->cores.state[core_id], in skl_dsp_get_core()[all …]
258 struct skl_dsp_cores *cores; in skl_init_dsp() local287 cores = &skl->cores; in skl_init_dsp()288 cores->count = ops->num_cores; in skl_init_dsp()290 cores->state = kcalloc(cores->count, sizeof(*cores->state), GFP_KERNEL); in skl_init_dsp()291 if (!cores->state) { in skl_init_dsp()296 cores->usage_count = kcalloc(cores->count, sizeof(*cores->usage_count), in skl_init_dsp()298 if (!cores->usage_count) { in skl_init_dsp()308 kfree(cores->state); in skl_init_dsp()325 kfree(skl->cores.state); in skl_free_dsp()326 kfree(skl->cores.usage_count); in skl_free_dsp()
271 if (skl->cores.state[SKL_DSP_CORE0_ID] != SKL_DSP_RUNNING) in bxt_d0i3_target_state()326 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING_D0I3; in bxt_set_dsp_D0i3()358 if (skl->cores.state[SKL_DSP_CORE0_ID] != SKL_DSP_RUNNING_D0I3) in bxt_set_dsp_D0i0()381 skl->cores.state[SKL_DSP_CORE0_ID] = SKL_DSP_RUNNING; in bxt_set_dsp_D0i0()410 skl->cores.state[core_id] = SKL_DSP_RUNNING; in bxt_set_dsp_D0()472 skl->cores.state[core_id] = SKL_DSP_RUNNING; in bxt_set_dsp_D0()518 skl->cores.state[core_id] = SKL_DSP_RESET; in bxt_set_dsp_D3()
203 cnl->cores.state[core_id] = SKL_DSP_RUNNING; in cnl_set_dsp_D0()242 cnl->cores.state[core_id] = SKL_DSP_RUNNING; in cnl_set_dsp_D0()283 cnl->cores.state[core_id] = SKL_DSP_RESET; in cnl_set_dsp_D3()
120 struct skl_dsp_cores cores; member
209 skl->cores.state[core_id] = SKL_DSP_RUNNING; in skl_set_dsp_D0()240 skl->cores.state[core_id] = SKL_DSP_RESET; in skl_set_dsp_D3()