Home
last modified time | relevance | path

Searched refs:cpuid (Results 1 – 22 of 22) sorted by relevance

/arm-trusted-firmware-2.8.0/plat/brcm/board/stingray/src/
A Dpm.c37 int cpuid; in brcm_pwr_domain_on() local
39 cpuid = plat_brcm_calc_core_pos(mpidr); in brcm_pwr_domain_on()
40 INFO("mpidr :%lu, cpuid:%d\n", mpidr, cpuid); in brcm_pwr_domain_on()
43 if (cpuid > 1) in brcm_pwr_domain_on()
/arm-trusted-firmware-2.8.0/plat/xilinx/versal_net/pm_service/
A Dpm_client.c132 const struct pm_proc *pm_get_proc(uint32_t cpuid) in pm_get_proc() argument
134 if (cpuid < ARRAY_SIZE(pm_procs_all)) { in pm_get_proc()
135 return &pm_procs_all[cpuid]; in pm_get_proc()
138 NOTICE("ERROR: cpuid: %d proc NULL\n", cpuid); in pm_get_proc()
199 uint32_t cpuid = pm_get_cpuid(proc->node_id); in pm_client_wakeup() local
201 if (cpuid == UNDEFINED_CPUID) { in pm_client_wakeup()
/arm-trusted-firmware-2.8.0/plat/mediatek/lib/pm/armv8_2/
A Dpwr_ctrl.c236 .cpuid = plat_my_core_pos(), in armv8_2_power_domain_on_finish()
247 nb.cpuid = pm_state.info.cpuid; in armv8_2_power_domain_on_finish()
261 .cpuid = plat_my_core_pos(), in armv8_2_power_domain_off()
271 nb.cpuid = pm_state.info.cpuid; in armv8_2_power_domain_off()
275 INFO("CPU %u power domain off\n", pm_state.info.cpuid); in armv8_2_power_domain_off()
285 .cpuid = plat_my_core_pos(), in armv8_2_power_domain_suspend()
295 armv8_2_power_state[pm_state.info.cpuid], &pm_state); in armv8_2_power_domain_suspend()
307 nb.cpuid = pm_state.info.cpuid; in armv8_2_power_domain_suspend()
323 .cpuid = plat_my_core_pos(), in armv8_2_power_domain_suspend_finish()
333 armv8_2_power_state[pm_state.info.cpuid], &pm_state); in armv8_2_power_domain_suspend_finish()
[all …]
/arm-trusted-firmware-2.8.0/plat/mediatek/common/lpm/
A Dmt_lp_rm.c39 int mt_lp_rm_reset_constraint(int idx, unsigned int cpuid, int stateid) in mt_lp_rm_reset_constraint() argument
54 return rc->reset(cpuid, stateid); in mt_lp_rm_reset_constraint()
57 int mt_lp_rm_find_and_run_constraint(int idx, unsigned int cpuid, in mt_lp_rm_find_and_run_constraint() argument
78 ((*rc)->is_valid(cpuid, stateid))) { in mt_lp_rm_find_and_run_constraint()
80 ((*rc)->run(cpuid, stateid) == 0)) { in mt_lp_rm_find_and_run_constraint()
A Dmt_lp_rm.h37 extern int mt_lp_rm_find_and_run_constraint(int idx, unsigned int cpuid,
39 extern int mt_lp_rm_reset_constraint(int constraint_id, unsigned int cpuid,
/arm-trusted-firmware-2.8.0/lib/pmf/
A Dpmf_main.c194 unsigned int cpuid) in calc_ts_addr() argument
196 assert(cpuid < PLATFORM_CORE_COUNT); in calc_ts_addr()
202 base_addr += ((cpuid * PMF_PERCPU_TIMESTAMP_SIZE) + in calc_ts_addr()
245 unsigned int cpuid, in __pmf_get_timestamp() argument
248 assert(cpuid < PLATFORM_CORE_COUNT); in __pmf_get_timestamp()
250 tid, cpuid); in __pmf_get_timestamp()
/arm-trusted-firmware-2.8.0/plat/xilinx/versal/pm_service/
A Dpm_client.c232 uint32_t cpuid = pm_get_cpuid(proc->node_id); in pm_client_wakeup() local
234 if (cpuid == UNDEFINED_CPUID) { in pm_client_wakeup()
254 const struct pm_proc *pm_get_proc(uint32_t cpuid) in pm_get_proc() argument
256 if (cpuid < ARRAY_SIZE(pm_procs_all)) { in pm_get_proc()
257 return &pm_procs_all[cpuid]; in pm_get_proc()
A Dpm_api_sys.c83 uint32_t cpuid = plat_my_core_pos(); in pm_self_suspend() local
84 const struct pm_proc *proc = pm_get_proc(cpuid); in pm_self_suspend()
87 WARN("Failed to get proc %d\n", cpuid); in pm_self_suspend()
/arm-trusted-firmware-2.8.0/plat/mediatek/drivers/cpu_pm/cpcv3_2/
A Dmt_cpu_pm.c65 mtk_cpc_core_on_hint_clr(state->info.cpuid); in cpupm_cpu_resume_common()
87 GIC_WAKEUP_IGNORE(state->info.cpuid)); in cpupm_cpu_resume_smp()
98 PER_CPU_PWR_CTRL(pwr_ctrl, state->info.cpuid); in cpupm_cpu_suspend_smp()
101 GIC_WAKEUP_IGNORE(state->info.cpuid)); in cpupm_cpu_suspend_smp()
109 .cpuid = cpu, in cpupm_smp_init()
171 plat_mt_lp_cpu_rc = mt_lp_rm_find_and_run_constraint(0, state->info.cpuid, stateid, NULL); in mcusys_prepare_suspend()
178 mtk_set_cpu_pm_preffered_cpu(state->info.cpuid); in mcusys_prepare_suspend()
196 mt_lp_rm_reset_constraint(plat_mt_lp_cpu_rc, state->info.cpuid, plat_prev_stateid); in mcusys_prepare_resume()
A Dmt_cpu_pm_mbox.c50 void mtk_set_cpu_pm_preffered_cpu(unsigned int cpuid) in mtk_set_cpu_pm_preffered_cpu() argument
52 return MCUPM_MBOX_WRITE(MCUPM_MBOX_WAKEUP_CPU, cpuid); in mtk_set_cpu_pm_preffered_cpu()
A Dmt_smp.c19 static inline int is_core_power_status_on(unsigned int cpuid) in is_core_power_status_on() argument
21 return !!(mmio_read_32(CPU_PWR_STATUS) & BIT(cpuid)); in is_core_power_status_on()
A Dmt_cpu_pm_mbox.h68 void mtk_set_cpu_pm_preffered_cpu(unsigned int cpuid);
/arm-trusted-firmware-2.8.0/plat/xilinx/zynqmp/pm_service/
A Dpm_client.c236 const struct pm_proc *pm_get_proc(uint32_t cpuid) in pm_get_proc() argument
238 if (cpuid < ARRAY_SIZE(pm_procs_all)) { in pm_get_proc()
239 return &pm_procs_all[cpuid]; in pm_get_proc()
329 uint32_t cpuid = pm_get_cpuid(proc->node_id); in pm_client_wakeup() local
331 if (cpuid == UNDEFINED_CPUID) { in pm_client_wakeup()
A Dpm_api_sys.c277 uint32_t cpuid = plat_my_core_pos(); in pm_self_suspend() local
278 const struct pm_proc *proc = pm_get_proc(cpuid); in pm_self_suspend()
/arm-trusted-firmware-2.8.0/plat/nvidia/tegra/soc/t186/drivers/mce/
A Dmce.c117 uint64_t cpuid = mpidr & MPIDR_CPU_MASK; in mce_get_curr_cpu_ari_base() local
128 cpuid |= 0x4U; in mce_get_curr_cpu_ari_base()
131 return mce_cfg_table[cpuid].ari_base; in mce_get_curr_cpu_ari_base()
137 uint64_t cpuid = mpidr & MPIDR_CPU_MASK; in mce_get_curr_cpu_ops() local
149 cpuid |= 0x4U; in mce_get_curr_cpu_ops()
152 return mce_cfg_table[cpuid].ops; in mce_get_curr_cpu_ops()
/arm-trusted-firmware-2.8.0/include/lib/pmf/
A Dpmf_helpers.h92 unsigned int cpuid, \
206 unsigned int tid, unsigned int cpuid, unsigned int flags)\
210 return __pmf_get_timestamp(base_addr, tid, cpuid, flags);\
254 unsigned int cpuid,
/arm-trusted-firmware-2.8.0/plat/xilinx/common/include/
A Dpm_common.h60 const struct pm_proc *pm_get_proc(uint32_t cpuid);
/arm-trusted-firmware-2.8.0/plat/mediatek/drivers/ptp3/
A Dptp3_common.c100 ptp3_core_init(data->cpuid); in ptp3_handle_pwr_on_event()
114 ptp3_core_deinit(data->cpuid); in ptp3_handle_pwr_off_event()
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8173/
A Dplat_pm.c100 uint32_t cpuid) in cluster_core() argument
102 return &cluster->core[cpuid]; in cluster_core()
117 uint32_t cpuid; in get_core_data() local
120 cpuid = mpidr & MPIDR_CPU_MASK; in get_core_data()
122 return cluster_core(cluster, cpuid); in get_core_data()
/arm-trusted-firmware-2.8.0/plat/mediatek/lib/pm/
A Dmtk_pm.h87 unsigned int cpuid; member
143 unsigned int cpuid; member
/arm-trusted-firmware-2.8.0/common/
A Dfdt_fixup.c340 int cpuid; in fdt_add_cpus_node() local
379 cpuid = plat_core_pos_by_mpidr(mpidr); in fdt_add_cpus_node()
380 if (cpuid >= 0) { in fdt_add_cpus_node()
/arm-trusted-firmware-2.8.0/plat/nvidia/tegra/soc/t186/drivers/include/
A Dmce_private.h153 int32_t (*online_core)(uint32_t ari_base, uint32_t cpuid);

Completed in 42 milliseconds