Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-psr.c20 static struct psr_attr { struct
28 struct psr_attr *psr_attr = container_of(attr, struct psr_attr, attr); in psr_show() argument
42 ret = opal_get_power_shift_ratio(psr_attr->handle, token, in psr_show()
78 struct psr_attr *psr_attr = container_of(attr, struct psr_attr, attr); in psr_store() local
96 ret = opal_set_power_shift_ratio(psr_attr->handle, token, psr); in psr_store()