• Home
  • Raw
  • Download

Lines Matching refs:cpu_id

68 	unsigned int cpu_id;  in imx_pwr_domain_on()  local
70 cpu_id = MPIDR_AFFLVL0_VAL(mpidr); in imx_pwr_domain_on()
72 printf("imx_pwr_domain_on cpu_id %d\n", cpu_id); in imx_pwr_domain_on()
74 if (sc_pm_set_resource_power_mode(ipc_handle, ap_core_index[cpu_id], in imx_pwr_domain_on()
76 ERROR("core %d power on failed!\n", cpu_id); in imx_pwr_domain_on()
80 if (sc_pm_cpu_start(ipc_handle, ap_core_index[cpu_id], in imx_pwr_domain_on()
82 ERROR("boot core %d failed!\n", cpu_id); in imx_pwr_domain_on()
103 unsigned int cpu_id = MPIDR_AFFLVL0_VAL(mpidr); in imx_pwr_domain_off() local
106 sc_pm_req_cpu_low_power_mode(ipc_handle, ap_core_index[cpu_id], in imx_pwr_domain_off()
108 printf("turn off core:%d\n", cpu_id); in imx_pwr_domain_off()
114 unsigned int cpu_id = MPIDR_AFFLVL0_VAL(mpidr); in imx_domain_suspend() local
118 sc_pm_set_cpu_resume(ipc_handle, ap_core_index[cpu_id], true, BL31_BASE); in imx_domain_suspend()
119 sc_pm_req_cpu_low_power_mode(ipc_handle, ap_core_index[cpu_id], in imx_domain_suspend()
134 plat_gic_save(cpu_id, &imx_gicv3_ctx); in imx_domain_suspend()
154 sc_pm_set_cpu_resume(ipc_handle, ap_core_index[cpu_id], true, BL31_BASE); in imx_domain_suspend()
156 sc_pm_req_cpu_low_power_mode(ipc_handle, ap_core_index[cpu_id], in imx_domain_suspend()
159 sc_pm_req_cpu_low_power_mode(ipc_handle, ap_core_index[cpu_id], in imx_domain_suspend()
167 unsigned int cpu_id = MPIDR_AFFLVL0_VAL(mpidr); in imx_domain_suspend_finish() local
172 sc_pm_req_low_power_mode(ipc_handle, ap_core_index[cpu_id], SC_PM_PW_MODE_ON); in imx_domain_suspend_finish()
173 sc_pm_req_cpu_low_power_mode(ipc_handle, ap_core_index[cpu_id], in imx_domain_suspend_finish()
180 plat_gic_restore(cpu_id, &imx_gicv3_ctx); in imx_domain_suspend_finish()
207 sc_pm_req_cpu_low_power_mode(ipc_handle, ap_core_index[cpu_id], in imx_domain_suspend_finish()