Lines Matching refs:sc_offset
86 int32_t sc_offset; member
499 TUNABLE_INT_FETCH(tn, &sc->sc_offset); in amdtemp_attach()
504 "sensor_offset", CTLFLAG_RW, &sc->sc_offset, 0, in amdtemp_attach()
691 temp += AMDTEMP_ZERO_C_TO_K + (sc->sc_offset - offset) * 10; in amdtemp_gettemp0f()
698 amdtemp_decode_fam10h_to_17h(int32_t sc_offset, uint32_t val, bool minus49) in amdtemp_decode_fam10h_to_17h() argument
708 temp += AMDTEMP_ZERO_C_TO_K + sc_offset * 10; in amdtemp_decode_fam10h_to_17h()
713 amdtemp_decode_fam10h_to_16h(int32_t sc_offset, uint32_t val) in amdtemp_decode_fam10h_to_16h() argument
726 return (amdtemp_decode_fam10h_to_17h(sc_offset, in amdtemp_decode_fam10h_to_16h()
731 amdtemp_decode_fam17h_tctl(int32_t sc_offset, uint32_t val) in amdtemp_decode_fam17h_tctl() argument
736 return (amdtemp_decode_fam10h_to_17h(sc_offset, in amdtemp_decode_fam17h_tctl()
747 return (amdtemp_decode_fam10h_to_16h(sc->sc_offset, temp)); in amdtemp_gettemp()
759 return (amdtemp_decode_fam10h_to_16h(sc->sc_offset, val)); in amdtemp_gettemp15hm60h()
774 return (amdtemp_decode_fam17h_tctl(sc->sc_offset, val)); in amdtemp_gettemp17h()
782 return (amdtemp_decode_fam10h_to_17h(sc->sc_offset, val, true)); in amdtemp_gettemp17h()