Home
last modified time | relevance | path

Searched refs:cpu_pd (Results 1 – 4 of 4) sorted by relevance

/tf-a-ffa_el3_spmc/plat/rockchip/rk3288/drivers/pmu/
A Dpmu.c210 uint32_t cpu_pd; in cpus_power_domain_on() local
212 cpu_pd = PD_CPU0 + cpu_id; in cpus_power_domain_on()
215 if (pmu_power_domain_st(cpu_pd) == pmu_pd_on) { in cpus_power_domain_on()
220 pmu_power_domain_ctr(cpu_pd, pmu_pd_off); in cpus_power_domain_on()
223 pmu_power_domain_ctr(cpu_pd, pmu_pd_on); in cpus_power_domain_on()
233 uint32_t cpu_pd = PD_CPU0 + cpu_id; in cpus_power_domain_off() local
235 if (pmu_power_domain_st(cpu_pd) == pmu_pd_off) in cpus_power_domain_off()
245 pmu_power_domain_ctr(cpu_pd, pmu_pd_off); in cpus_power_domain_off()
/tf-a-ffa_el3_spmc/plat/rockchip/rk3328/drivers/pmu/
A Dpmu.c56 uint32_t cpu_pd, cfg_info; in cpus_power_domain_on() local
58 cpu_pd = PD_CPU0 + cpu_id; in cpus_power_domain_on()
67 if (pmu_power_domain_st(cpu_pd) == pmu_pd_on) { in cpus_power_domain_on()
70 pmu_power_domain_ctr(cpu_pd, pmu_pd_off); in cpus_power_domain_on()
72 pmu_power_domain_ctr(cpu_pd, pmu_pd_on); in cpus_power_domain_on()
74 if (pmu_power_domain_st(cpu_pd) == pmu_pd_on) { in cpus_power_domain_on()
88 uint32_t cpu_pd, core_pm_value; in cpus_power_domain_off() local
90 cpu_pd = PD_CPU0 + cpu_id; in cpus_power_domain_off()
91 if (pmu_power_domain_st(cpu_pd) == pmu_pd_off) in cpus_power_domain_off()
100 pmu_power_domain_ctr(cpu_pd, pmu_pd_off); in cpus_power_domain_off()
/tf-a-ffa_el3_spmc/plat/rockchip/px30/drivers/pmu/
A Dpmu.c389 uint32_t cpu_pd, apm_value, cfg_info, loop = 0; in cpus_power_domain_on() local
391 cpu_pd = PD_CPU0 + cpu_id; in cpus_power_domain_on()
398 if (pmu_power_domain_st(cpu_pd) == pmu_pd_on) { in cpus_power_domain_on()
401 pmu_power_domain_ctr(cpu_pd, pmu_pd_off); in cpus_power_domain_on()
403 pmu_power_domain_ctr(cpu_pd, pmu_pd_on); in cpus_power_domain_on()
406 while (pmu_power_domain_st(cpu_pd) == pmu_pd_on && loop < 100) { in cpus_power_domain_on()
412 if (pmu_power_domain_st(cpu_pd) == pmu_pd_on) { in cpus_power_domain_on()
428 uint32_t cpu_pd, apm_value; in cpus_power_domain_off() local
430 cpu_pd = PD_CPU0 + cpu_id; in cpus_power_domain_off()
431 if (pmu_power_domain_st(cpu_pd) == pmu_pd_off) in cpus_power_domain_off()
[all …]
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/pmu/
A Dpmu.c493 uint32_t cpu_pd = PD_CPUL0 + cpu_id; in cpus_power_domain_on() local
509 if (pmu_power_domain_st(cpu_pd) == pmu_pd_on) { in cpus_power_domain_on()
511 pmu_power_domain_ctr(cpu_pd, pmu_pd_off); in cpus_power_domain_on()
514 pmu_power_domain_ctr(cpu_pd, pmu_pd_on); in cpus_power_domain_on()
516 if (pmu_power_domain_st(cpu_pd) == pmu_pd_on) { in cpus_power_domain_on()
531 uint32_t cpu_pd; in cpus_power_domain_off() local
534 cpu_pd = PD_CPUL0 + cpu_id; in cpus_power_domain_off()
535 if (pmu_power_domain_st(cpu_pd) == pmu_pd_off) in cpus_power_domain_off()
547 pmu_power_domain_ctr(cpu_pd, pmu_pd_off); in cpus_power_domain_off()

Completed in 10 milliseconds