Searched +full:r +full:- +full:naught +full:- +full:ohms (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/iio/afe/temperature-sense-rtd.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Liam Beguin <liambeguin@gmail.com>17 When an io-channel measures the output voltage across an RTD such as a23 V = R(T) * iexc24 R(T) = r0 * (1 + alpha * T)25 T = 1 / (alpha * r0 * iexc) * (V - r0 * iexc)30 -----[all …]
1 // SPDX-License-Identifier: GPL-2.033 *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 …]