Home
last modified time | relevance | path

Searched refs:wfie_msk (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/plat/rockchip/common/drivers/pmu/
Dpmu_com.h80 static int check_cpu_wfie(uint32_t cpu_id, uint32_t wfie_msk) in check_cpu_wfie() argument
103 wfie_msk <<= (clstb_cpu_wfe + cpu_id); in check_cpu_wfie()
105 wfie_msk <<= (clstl_cpu_wfe + cpu_id); in check_cpu_wfie()
107 while (!(mmio_read_32(CHECK_CPU_WFIE_BASE) & wfie_msk) && in check_cpu_wfie()
113 if ((mmio_read_32(CHECK_CPU_WFIE_BASE) & wfie_msk) == 0) { in check_cpu_wfie()
115 cluster_id, cpu_id, wfie_msk); in check_cpu_wfie()
/external/arm-trusted-firmware/plat/rockchip/rk3368/drivers/pmu/
Dpmu.c243 uint32_t wfie_msk) in cpus_id_power_domain() argument
258 if (check_cpu_wfie(mpidr, wfie_msk)) in cpus_id_power_domain()
/external/arm-trusted-firmware/plat/rockchip/px30/drivers/pmu/
Dpmu.c371 uint32_t loop = 0, wfie_msk = CKECK_WFEI_MSK << cpu; in check_cpu_wfie() local
373 while (!(mmio_read_32(GRF_BASE + GRF_CPU_STATUS1) & wfie_msk) && in check_cpu_wfie()
379 if ((mmio_read_32(GRF_BASE + GRF_CPU_STATUS1) & wfie_msk) == 0) { in check_cpu_wfie()
380 WARN("%s: %d, %d, error!\n", __func__, cpu, wfie_msk); in check_cpu_wfie()