Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/
Dcpuidle.h87 u64 psscr_val; member
101 int validate_psscr_val_mask(u64 *psscr_val, u64 *psscr_mask, u32 flags);
102 static inline void report_invalid_psscr_val(u64 psscr_val, int err) in report_invalid_psscr_val() argument
107 psscr_val); in report_invalid_psscr_val()
111 psscr_val); in report_invalid_psscr_val()
Dprocessor.h515 extern unsigned long power9_idle_stop(unsigned long psscr_val);
516 extern unsigned long power9_offline_stop(unsigned long psscr_val);
/Linux-v4.19/arch/powerpc/platforms/powernv/
Didle.c82 uint64_t psscr_val = pnv_deepest_stop_psscr_val; in pnv_save_sprs_for_deep_states() local
102 P9_STOP_SPR_PSSCR, psscr_val); in pnv_save_sprs_for_deep_states()
580 int validate_psscr_val_mask(u64 *psscr_val, u64 *psscr_mask, u32 flags) in validate_psscr_val_mask() argument
590 *psscr_val = *psscr_val | PSSCR_HV_DEFAULT_VAL; in validate_psscr_val_mask()
602 if (GET_PSSCR_ESL(*psscr_val) != GET_PSSCR_EC(*psscr_val)) { in validate_psscr_val_mask()
605 GET_PSSCR_ESL(*psscr_val) == 0) { in validate_psscr_val_mask()
644 u64 psscr_rl = state->psscr_val & PSSCR_RL_MASK; in pnv_power9_idle_init()
650 err = validate_psscr_val_mask(&state->psscr_val, in pnv_power9_idle_init()
654 report_invalid_psscr_val(state->psscr_val, err); in pnv_power9_idle_init()
662 pnv_deepest_stop_psscr_val = state->psscr_val; in pnv_power9_idle_init()
[all …]
/Linux-v4.19/drivers/cpuidle/
Dcpuidle-powernv.c237 u64 psscr_val, u64 psscr_mask) in add_powernv_state() argument
246 stop_psscr_table[index].val = psscr_val; in add_powernv_state()
339 state->psscr_val, in powernv_add_idle_states()
359 state->psscr_val, in powernv_add_idle_states()