Home
last modified time | relevance | path

Searched +full:- +full:273150 (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/device-tree/Bindings/iio/afe/
H A Dtemperature-transducer.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Beguin <liambeguin@gmail.com>
19 When an io-channel measures the output voltage of a temperature analog front
35 -----
37 +---+---+
39 +---+---+ -----
41 V proportional to T +----+----+
[all …]
/freebsd/sys/arm/allwinner/
H A Daw_ts.c1 /*-
44 #define READ(_sc, _r) bus_read_4((_sc)->res[0], (_r))
45 #define WRITE(_sc, _r, _v) bus_write_4((_sc)->res[0], (_r), (_v))
104 { -1, 0 }
113 {"allwinner,sun4i-a10-ts", A10_TS},
114 {"allwinner,sun5i-a13-ts", A13_TS},
129 sc->temp_data = (READ(sc, TEMP_DATA) * sc->temp_step - sc->temp_offset) in aw_ts_intr()
130 + 273150; in aw_ts_intr()
143 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) in aw_ts_probe()
156 sc->dev = dev; in aw_ts_attach()
[all …]
/freebsd/sys/dev/ow/
H A Dow_temp.c1 /*-
137 pause("owtstart", device_get_unit(sc->dev) * hz / 100); // 10ms stagger in ow_temp_event_thread()
138 mtx_lock(&sc->temp_lock); in ow_temp_event_thread()
139 sc->flags |= OW_TEMP_RUNNING; in ow_temp_event_thread()
140 mtx_unlock(&sc->temp_lock); in ow_temp_event_thread()
141 ow_temp_read_power_supply(sc->dev, &sc->parasite); in ow_temp_event_thread()
142 if (sc->parasite) in ow_temp_event_thread()
143 device_printf(sc->dev, "Running in parasitic mode unsupported\n"); in ow_temp_event_thread()
144 mtx_lock(&sc->temp_lock); in ow_temp_event_thread()
145 while ((sc->flags & OW_TEMP_DONE) == 0) { in ow_temp_event_thread()
[all …]