Home
last modified time | relevance | path

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

/openbsd/sys/dev/fdt/
H A Dsxitemp.c72 uint64_t (*sc_calc_temp0)(int64_t); member
149 sc->sc_calc_temp0 = sxitemp_h3_calc_temp; in sxitemp_attach()
151 sc->sc_calc_temp0 = sxitemp_r40_calc_temp; in sxitemp_attach()
154 sc->sc_calc_temp0 = sxitemp_a64_calc_temp; in sxitemp_attach()
158 sc->sc_calc_temp0 = sxitemp_h5_calc_temp0; in sxitemp_attach()
163 if (sc->sc_calc_temp0) { in sxitemp_attach()
187 if (sc->sc_calc_temp0) { in sxitemp_attach()
314 if (sc->sc_calc_temp0) { in sxitemp_refresh_sensors()
316 sc->sc_sensors[0].value = sc->sc_calc_temp0(data) + 273150000; in sxitemp_refresh_sensors()
340 if (idx == 0 && sc->sc_calc_temp0) { in sxitemp_get_temperature()
[all …]