Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/kernel/
Dsysfs.c131 u32 pw20_state; in do_store_pw20_state() local
133 pw20_state = mfspr(SPRN_PWRMGTCR0); in do_store_pw20_state()
136 pw20_state |= PWRMGTCR0_PW20_WAIT; in do_store_pw20_state()
138 pw20_state &= ~PWRMGTCR0_PW20_WAIT; in do_store_pw20_state()
140 mtspr(SPRN_PWRMGTCR0, pw20_state); in do_store_pw20_state()
363 static DEVICE_ATTR(pw20_state, 0600, show_pw20_state, store_pw20_state);