Home
last modified time | relevance | path

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

/freebsd/sys/dev/coretemp/
H A Dcoretemp.c51 #define TZ_ZEROC 2731 macro
364 val = (sc->sc_tjmax - tmp) * 10 + TZ_ZEROC; in coretemp_get_val_sysctl()
375 val = sc->sc_tjmax * 10 + TZ_ZEROC; in coretemp_get_val_sysctl()
398 tmp = (sc->sc_tjmax - tmp) * 10 + TZ_ZEROC; in coretemp_get_val_sysctl()
/freebsd/sys/arm/ti/am335x/
H A Dam335x_scm.c43 #define TZ_ZEROC 2731 macro
74 temp = sc->sc_last_temp + TZ_ZEROC; in am335x_scm_temp_sysctl()
/freebsd/sys/arm/freescale/imx/
H A Dimx6_anatop.c141 #define TZ_ZEROC 2731 /* deci-Kelvin <-> deci-Celsius offset. */ macro
501 t = temp_from_count(sc, sc->temp_last_cnt) + TZ_ZEROC; in temp_sysctl_handler()
513 temp = sc->temp_throttle_val + TZ_ZEROC; in temp_throttle_sysctl_handler()
515 if (temp < TZ_ZEROC) in temp_throttle_sysctl_handler()
517 temp -= TZ_ZEROC; in temp_throttle_sysctl_handler()
/freebsd/sys/dev/iicbus/rtc/
H A Dds3231reg.h77 #define TZ_ZEROC 2731 macro
H A Dds3231.c169 *temp += TZ_ZEROC; in ds3231_temp_read()
/freebsd/usr.sbin/bsnmpd/modules/snmp_lm75/
H A Dsnmp_lm75.c44 #define TZ_ZEROC 2732 macro
235 sensor->temp = (temp - TZ_ZEROC) / 10; in add_sensor()
/freebsd/sys/dev/iicbus/sensor/
H A Dlm75.c66 #define TZ_ZEROC 27315 macro
391 *temp += TZ_ZEROC * sc->sc_multiplier / TZ_ZEROC_DIVIDER; in lm75_temp_read()
403 temp -= TZ_ZEROC * multiplier / TZ_ZEROC_DIVIDER; in lm75_temp_write()
/freebsd/sys/dev/acpica/
H A Dacpi_thermal.c55 #define TZ_ZEROC 2731 macro
56 #define TZ_KELVTOC(x) (((x) - TZ_ZEROC) / 10), abs(((x) - TZ_ZEROC) % 10)
720 if (*val != -1 && (*val < TZ_ZEROC || *val > TZ_ZEROC + 2000)) { in acpi_tz_sanity()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_cpufreq.c83 #define TZ_ZEROC 2731 macro
1010 val = val / 100 + TZ_ZEROC; in sysctl_bcm2835_devcpu_temperature()