Home
last modified time | relevance | path

Searched +full:per +full:- +full:mille (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-hwmon16 The contents of the label are free-form.
135 this voltage channel is being used for, and user-space
137 user-space.
145 When disabled the sensor read will return -ENODATA.
147 - 1: Enable
148 - 0: Disable
156 - 1: Failed
157 - 0: Ok
239 Number of tachometer pulses per fan revolution.
252 per fan revolution.
[all …]
/linux-6.12.1/Documentation/hwmon/
Dchipcap2.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
12 Addresses scanned: -
14 …Datasheet: https://www.amphenol-sensors.com/en/telaire/humidity/527-humidity-sensors/3095-chipcap-2
18 - Javier Carrasco <javier.carrasco.cruz@gmail.com>
21 -----------
25 relative humidity is expressed as a per cent mille. The measurement ranges
28 - Relative humidity: 0 to 100000 pcm (14-bit resolution)
29 - Temperature: -40000 to +125000 m°C (14-bit resolution)
38 Thresholds and hysteris must be provided as a per cent mille. These values
39 might be truncated to match the 14-bit device resolution (6.1 pcm/LSB)
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/cdc/
Dadi,ad7746.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AD7746 24-Bit Capacitance-to-Digital Converter with Temperature Sensor
10 - Michael Hennerich <michael.hennerich@analog.com>
13 AD7746 24-Bit Capacitance-to-Digital Converter with Temperature Sensor
16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7291.pdf
21 - adi,ad7745
22 - adi,ad7746
23 - adi,ad7747
[all …]
/linux-6.12.1/include/linux/iio/common/
Dinv_sensors_timestamp.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 * struct inv_sensors_timestamp_chip - chip internal properties
12 * @jitter: acceptable jitter in per-mille
22 * struct inv_sensors_timestamp_interval - timestamps interval
32 * struct inv_sensors_timestamp_acc - accumulator for computing an estimation
44 * struct inv_sensors_timestamp - timestamp management states
78 ts->timestamp += ts->period; in inv_sensors_timestamp_pop()
79 return ts->timestamp; in inv_sensors_timestamp_pop()
90 ts->it = interval_init; in inv_sensors_timestamp_reset()
91 ts->timestamp = 0; in inv_sensors_timestamp_reset()
/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/pwm-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Brian Norris <briannorris@chromium.org>
11 - Lee Jones <lee@kernel.org>
12 - Alexandre Courbot <acourbot@nvidia.com>
19 duty-cycle values must be provided via DT. Limitations are that the
21 Intermediary duty-cycle values which would normally allow finer grained
23 is given to the user if the assumptions made in continuous-voltage mode do
[all …]
/linux-6.12.1/drivers/iio/common/inv_sensors/
Dinv_sensors_timestamp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 /* compute jitter, min and max following jitter in per mille */
17 (((_val) * (1000 - (_jitter))) / 1000)
27 acc->values[acc->idx++] = val; in inv_update_acc()
28 if (acc->idx >= ARRAY_SIZE(acc->values)) in inv_update_acc()
29 acc->idx = 0; in inv_update_acc()
32 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { in inv_update_acc()
33 if (acc->values[i] == 0) in inv_update_acc()
35 sum += acc->values[i]; in inv_update_acc()
38 acc->val = div_u64(sum, i); in inv_update_acc()
[all …]
/linux-6.12.1/drivers/gpu/drm/sun4i/
Dsun4i_rgb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
51 return drm_panel_get_modes(rgb->panel, connector); in sun4i_rgb_get_modes()
57 * good default tolerance for the EDID-based modes. Define it to 5 per
58 * mille to avoid floating point operations.
66 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_mode_valid()
67 u32 hsync = mode->hsync_end - mode->hsync_start; in sun4i_rgb_mode_valid()
68 u32 vsync = mode->vsync_end - mode->vsync_start; in sun4i_rgb_mode_valid()
69 unsigned long long rate = mode->clock * 1000; in sun4i_rgb_mode_valid()
81 if ((mode->hdisplay < 1) || (mode->htotal < 1)) in sun4i_rgb_mode_valid()
[all …]
/linux-6.12.1/drivers/hwmon/
Dchipcap2.c1 // SPDX-License-Identifier: GPL-2.0+
3 * cc2.c - Support for the Amphenol ChipCap 2 relative humidity, temperature sensor
11 * https://www.amphenol-sensors.com/en/telaire/humidity/527-humidity-sensors/3095-chipcap-2
58 /* ensure clean off -> on transitions */
97 /* %RH as a per cent mille from a register value */
102 return tmp / ((1 << 14) - 1); in cc2_rh_convert()
108 return data * ((1 << 14) - 1) / CC2_RH_MAX; in cc2_rh_to_reg()
114 unsigned long tmp = ((data >> 2) * 165 * 1000U) / ((1 << 14) - 1); in cc2_temp_convert()
116 return tmp - 40 * 1000U; in cc2_temp_convert()
124 if (regulator_is_enabled(data->regulator)) in cc2_enable()
[all …]
/linux-6.12.1/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_gyro.c1 // SPDX-License-Identifier: GPL-2.0-or-later
92 /* 3-axis gyro + temperature */
103 struct inv_sensors_timestamp *ts = &gyro_st->ts; in inv_icm42600_gyro_update_scan_mode()
111 mutex_lock(&st->lock); in inv_icm42600_gyro_update_scan_mode()
132 ret = inv_icm42600_buffer_set_fifo_en(st, fifo_en | st->fifo.en); in inv_icm42600_gyro_update_scan_mode()
135 mutex_unlock(&st->lock); in inv_icm42600_gyro_update_scan_mode()
147 struct device *dev = regmap_get_device(st->map); in inv_icm42600_gyro_read_sensor()
153 if (chan->type != IIO_ANGL_VEL) in inv_icm42600_gyro_read_sensor()
154 return -EINVAL; in inv_icm42600_gyro_read_sensor()
156 switch (chan->channel2) { in inv_icm42600_gyro_read_sensor()
[all …]
Dinv_icm42600_accel.c1 // SPDX-License-Identifier: GPL-2.0-or-later
59 "low-noise",
60 "low-power",
79 if (chan->type != IIO_ACCEL) in inv_icm42600_accel_power_mode_set()
80 return -EINVAL; in inv_icm42600_accel_power_mode_set()
83 return -EINVAL; in inv_icm42600_accel_power_mode_set()
86 return -EBUSY; in inv_icm42600_accel_power_mode_set()
91 guard(mutex)(&st->lock); in inv_icm42600_accel_power_mode_set()
96 if (st->conf.accel.odr >= INV_ICM42600_ODR_6_25HZ_LP && in inv_icm42600_accel_power_mode_set()
97 st->conf.accel.odr <= INV_ICM42600_ODR_1_5625HZ_LP) in inv_icm42600_accel_power_mode_set()
[all …]
/linux-6.12.1/drivers/power/supply/
Dab8500_fg.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson AB 2012
5 * Main and Back-up battery management driver.
7 * Note: Backup battery management is required in case of Li-Ion battery and not
37 #include <linux/fixp-arith.h>
39 #include "ab8500-bm.h"
49 /* Currents higher than -500mA (dissipating) will make compensation unstable */
50 #define IGNORE_VBAT_HIGHCUR -500000
63 * struct ab8500_fg_interrupts - ab8500 fg interrupts
153 * struct ab8500_fg - ab8500 FG device information
[all …]