Lines Matching refs:sc_offset
87 int32_t sc_offset; member
540 TUNABLE_INT_FETCH(tn, &sc->sc_offset); in amdtemp_attach()
545 "sensor_offset", CTLFLAG_RW, &sc->sc_offset, 0, in amdtemp_attach()
736 temp += AMDTEMP_ZERO_C_TO_K + (sc->sc_offset - offset) * 10; in amdtemp_gettemp0f()
743 amdtemp_decode_fam10h_to_17h(int32_t sc_offset, uint32_t val, bool minus49) in amdtemp_decode_fam10h_to_17h() argument
753 temp += AMDTEMP_ZERO_C_TO_K + sc_offset * 10; in amdtemp_decode_fam10h_to_17h()
758 amdtemp_decode_fam10h_to_16h(int32_t sc_offset, uint32_t val) in amdtemp_decode_fam10h_to_16h() argument
771 return (amdtemp_decode_fam10h_to_17h(sc_offset, in amdtemp_decode_fam10h_to_16h()
776 amdtemp_decode_fam17h_tctl(int32_t sc_offset, uint32_t val) in amdtemp_decode_fam17h_tctl() argument
782 return (amdtemp_decode_fam10h_to_17h(sc_offset, in amdtemp_decode_fam17h_tctl()
793 return (amdtemp_decode_fam10h_to_16h(sc->sc_offset, temp)); in amdtemp_gettemp()
805 return (amdtemp_decode_fam10h_to_16h(sc->sc_offset, val)); in amdtemp_gettemp15hm60h()
820 return (amdtemp_decode_fam17h_tctl(sc->sc_offset, val)); in amdtemp_gettemp17h()
828 return (amdtemp_decode_fam10h_to_17h(sc->sc_offset, val, true)); in amdtemp_gettemp17h()