Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/include/asm/
Dcpuidle.h78 u64 psscr_val; member
88 int __init validate_psscr_val_mask(u64 *psscr_val, u64 *psscr_mask, u32 flags);
89 static inline void report_invalid_psscr_val(u64 psscr_val, int err) in report_invalid_psscr_val() argument
94 psscr_val); in report_invalid_psscr_val()
98 psscr_val); in report_invalid_psscr_val()
Dprocessor.h409 extern unsigned long isa300_idle_stop_noloss(unsigned long psscr_val);
410 extern unsigned long isa300_idle_stop_mayloss(unsigned long psscr_val);
/Linux-v6.6/arch/powerpc/platforms/powernv/
Didle.c78 uint64_t psscr_val = pnv_deepest_stop_psscr_val; in pnv_save_sprs_for_deep_states() local
98 P9_STOP_SPR_PSSCR, psscr_val); in pnv_save_sprs_for_deep_states()
1127 int __init validate_psscr_val_mask(u64 *psscr_val, u64 *psscr_mask, u32 flags) in validate_psscr_val_mask() argument
1137 *psscr_val = *psscr_val | PSSCR_HV_DEFAULT_VAL; in validate_psscr_val_mask()
1149 if (GET_PSSCR_ESL(*psscr_val) != GET_PSSCR_EC(*psscr_val)) { in validate_psscr_val_mask()
1152 GET_PSSCR_ESL(*psscr_val) == 0) { in validate_psscr_val_mask()
1190 u64 psscr_rl = state->psscr_val & PSSCR_RL_MASK; in pnv_arch300_idle_init()
1217 err = validate_psscr_val_mask(&state->psscr_val, in pnv_arch300_idle_init()
1221 report_invalid_psscr_val(state->psscr_val, err); in pnv_arch300_idle_init()
1229 pnv_deepest_stop_psscr_val = state->psscr_val; in pnv_arch300_idle_init()
[all …]
/Linux-v6.6/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()
325 state->psscr_val, in powernv_add_idle_states()
345 state->psscr_val, in powernv_add_idle_states()