Searched refs:lpm_pri (Results 1 – 1 of 1) sorted by relevance
942 static bool pmc_core_pri_verify(u32 lpm_pri, u8 *mode_order) in pmc_core_pri_verify() argument 946 if (!lpm_pri) in pmc_core_pri_verify() 954 int level = lpm_pri & GENMASK(3, 0); in pmc_core_pri_verify() 960 lpm_pri >>= 4; in pmc_core_pri_verify() 978 u32 lpm_pri; in pmc_core_get_low_power_modes() local 994 lpm_pri = pmc_core_reg_read(pmc, pmc->map->lpm_priority_offset); in pmc_core_get_low_power_modes() 998 * If lpm_pri value passes verification, then override the default in pmc_core_get_low_power_modes() 1001 if (pmc_core_pri_verify(lpm_pri, mode_order)) in pmc_core_get_low_power_modes()