Home
last modified time | relevance | path

Searched +full:temperature +full:- +full:transducer (Results 1 – 2 of 2) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/iio/afe/
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#
7 title: Temperature Transducer
10 - Liam Beguin <[email protected]>
13 A temperature transducer is a device that converts a thermal quantity
14 into any other physical quantity. This binding applies to temperature to
15 voltage (like the LTC2997), and temperature to current (like the AD590)
19 When an io-channel measures the output voltage of a temperature analog front
[all …]
/linux-6.14.4/drivers/iio/afe/
Diio-rescale.c1 // SPDX-License-Identifier: GPL-2.0
33 *val *= rescale->numerator; in rescale_process_scale()
34 if (rescale->denominator == 1) in rescale_process_scale()
36 *val2 = rescale->denominator; in rescale_process_scale()
44 if (!check_mul_overflow(*val, rescale->numerator, &_val) && in rescale_process_scale()
45 !check_mul_overflow(*val2, rescale->denominator, &_val2)) { in rescale_process_scale()
53 tmp = div_s64(tmp, rescale->denominator); in rescale_process_scale()
54 tmp *= rescale->numerator; in rescale_process_scale()
82 * *val = 1 and *val2 = -0.5 yields -1.5 not -0.5. in rescale_process_scale()
86 tmp = (s64)abs(*val) * abs(rescale->numerator); in rescale_process_scale()
[all …]