Lines Matching +full:power +full:- +full:managed

1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
16 #include "../ipc4-priv.h"
19 #include "hda-ipc.h"
20 #include "../sof-audio.h"
32 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in icl_dsp_core_stall()
33 const struct sof_intel_dsp_desc *chip = hda->desc; in icl_dsp_core_stall()
35 /* make sure core_mask in host managed cores */ in icl_dsp_core_stall()
36 core_mask &= chip->host_managed_cores_mask; in icl_dsp_core_stall()
38 dev_err(sdev->dev, "error: core_mask is not in host managed cores\n"); in icl_dsp_core_stall()
39 return -EINVAL; in icl_dsp_core_stall()
56 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in icl_dsp_post_fw_run()
59 if (sdev->first_boot) { in icl_dsp_post_fw_run()
60 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in icl_dsp_post_fw_run()
64 dev_err(sdev->dev, "error: could not startup SoundWire links\n"); in icl_dsp_post_fw_run()
70 sdev->fw_ready.flags & SOF_IPC_INFO_D3_PERSISTENT) in icl_dsp_post_fw_run()
71 hdev->imrboot_supported = true; in icl_dsp_post_fw_run()
78 * power up core 3 and keep it in stall if HPRO is enabled. in icl_dsp_post_fw_run()
80 if (!hda->clk_config_lpro) { in icl_dsp_post_fw_run()
83 dev_err(sdev->dev, "error: dsp core power up failed on core %d\n", in icl_dsp_post_fw_run()
88 sdev->enabled_cores_mask |= BIT(ICL_DSP_HPRO_CORE_ID); in icl_dsp_post_fw_run()
89 sdev->dsp_core_ref_count[ICL_DSP_HPRO_CORE_ID]++; in icl_dsp_post_fw_run()
94 /* re-enable clock gating and power gating */ in icl_dsp_post_fw_run()
110 if (sdev->pdata->ipc_type == SOF_IPC) { in sof_icl_ops_init()
123 if (sdev->pdata->ipc_type == SOF_INTEL_IPC4) { in sof_icl_ops_init()
126 sdev->private = devm_kzalloc(sdev->dev, sizeof(*ipc4_data), GFP_KERNEL); in sof_icl_ops_init()
127 if (!sdev->private) in sof_icl_ops_init()
128 return -ENOMEM; in sof_icl_ops_init()
130 ipc4_data = sdev->private; in sof_icl_ops_init()
131 ipc4_data->manifest_fw_hdr_offset = SOF_MAN4_FW_HDR_OFFSET; in sof_icl_ops_init()
133 ipc4_data->mtrace_type = SOF_IPC4_MTRACE_INTEL_CAVS_2; in sof_icl_ops_init()
136 ipc4_data->load_library = hda_dsp_ipc4_load_library; in sof_icl_ops_init()