Searched refs:sc_offset (Results 1 – 1 of 1) sorted by relevance
/dragonfly/sys/dev/powermng/amdtemp/ |
H A D | amdtemp.c | 92 int32_t sc_offset; member 568 TUNABLE_INT_FETCH(tn, &sc->sc_offset); in amdtemp_attach() 573 "sensor_offset", CTLFLAG_RW, &sc->sc_offset, 0, in amdtemp_attach() 875 temp += AMDTEMP_ZERO_C_TO_K + (sc->sc_offset - offset) * 10; in amdtemp_gettemp0f() 891 temp += AMDTEMP_ZERO_C_TO_K + sc_offset * 10; in amdtemp_decode_fam10h_to_17h() 909 return (amdtemp_decode_fam10h_to_17h(sc_offset, in amdtemp_decode_fam10h_to_16h() 914 amdtemp_decode_fam17h_tctl(int32_t sc_offset, uint32_t val) in amdtemp_decode_fam17h_tctl() argument 919 return (amdtemp_decode_fam10h_to_17h(sc_offset, in amdtemp_decode_fam17h_tctl() 930 return (amdtemp_decode_fam10h_to_16h(sc->sc_offset, temp)); in amdtemp_gettemp() 942 return (amdtemp_decode_fam10h_to_16h(sc->sc_offset, val)); in amdtemp_gettemp15hm60h() [all …]
|