Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsysfs.c275 u32 pw20_state; in do_store_pw20_state() local
277 pw20_state = mfspr(SPRN_PWRMGTCR0); in do_store_pw20_state()
280 pw20_state |= PWRMGTCR0_PW20_WAIT; in do_store_pw20_state()
282 pw20_state &= ~PWRMGTCR0_PW20_WAIT; in do_store_pw20_state()
284 mtspr(SPRN_PWRMGTCR0, pw20_state); in do_store_pw20_state()
507 static DEVICE_ATTR(pw20_state, 0600, show_pw20_state, store_pw20_state);