Home
last modified time | relevance | path

Searched refs:psscr_mask (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/platforms/powernv/
Didle.c510 int validate_psscr_val_mask(u64 *psscr_val, u64 *psscr_mask, u32 flags) in validate_psscr_val_mask() argument
519 if (*psscr_mask == 0xf) { in validate_psscr_val_mask()
521 *psscr_mask = PSSCR_HV_DEFAULT_MASK; in validate_psscr_val_mask()
556 u64 *psscr_mask = NULL; in pnv_power9_idle_init() local
562 psscr_mask = kcalloc(dt_idle_states, sizeof(*psscr_mask), GFP_KERNEL); in pnv_power9_idle_init()
566 if (!psscr_val || !psscr_mask || !residency_ns) { in pnv_power9_idle_init()
581 psscr_mask, dt_idle_states)) { in pnv_power9_idle_init()
617 err = validate_psscr_val_mask(&psscr_val[i], &psscr_mask[i], in pnv_power9_idle_init()
627 pnv_deepest_stop_psscr_mask = psscr_mask[i]; in pnv_power9_idle_init()
635 pnv_default_stop_mask = psscr_mask[i]; in pnv_power9_idle_init()
[all …]
/arch/powerpc/include/asm/
Dcpuidle.h88 int validate_psscr_val_mask(u64 *psscr_val, u64 *psscr_mask, u32 flags);