Searched +full:per +full:- +full:mille (Results 1 – 9 of 9) sorted by relevance
/linux/Documentation/hwmon/ ! |
H A D | chipcap2.rst | 1 .. 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/Documentation/devicetree/bindings/iio/cdc/ ! |
H A D | adi,ad7746.yaml | 1 # 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/include/linux/iio/common/ ! |
H A D | inv_sensors_timestamp.h | 1 /* 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/Documentation/devicetree/bindings/regulator/ ! |
H A D | pwm-regulator.yaml | 1 # 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/drivers/iio/common/inv_sensors/ ! |
H A D | inv_sensors_timestamp.c | 1 // 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/drivers/gpu/drm/sun4i/ ! |
H A D | sun4i_rgb.c | 1 // 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/drivers/hwmon/ ! |
H A D | chipcap2.c | 1 // 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 59 /* ensure clean off -> on transitions */ 98 /* %RH as a per cent mille from a register value */ 103 return tmp / ((1 << 14) - 1); in cc2_rh_convert() 109 return data * ((1 << 14) - 1) / CC2_RH_MAX; in cc2_rh_to_reg() 115 unsigned long tmp = ((data >> 2) * 165 * 1000U) / ((1 << 14) - 1); in cc2_temp_convert() 117 return tmp - 40 * 1000U; in cc2_temp_convert() 125 if (regulator_is_enabled(data->regulator)) in cc2_enable() [all …]
|
/linux/drivers/iio/imu/inv_icm42600/ ! |
H A D | inv_icm42600_gyro.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 92 /* 3-axis gyro + temperature */ 109 mutex_lock(&st->lock); in inv_icm42600_gyro_update_scan_mode() 129 ret = inv_icm42600_buffer_set_fifo_en(st, fifo_en | st->fifo.en); in inv_icm42600_gyro_update_scan_mode() 132 mutex_unlock(&st->lock); in inv_icm42600_gyro_update_scan_mode() 144 struct device *dev = regmap_get_device(st->map); in inv_icm42600_gyro_read_sensor() 150 if (chan->type != IIO_ANGL_VEL) in inv_icm42600_gyro_read_sensor() 151 return -EINVAL; in inv_icm42600_gyro_read_sensor() 153 switch (chan->channel2) { in inv_icm42600_gyro_read_sensor() 164 return -EINVAL; in inv_icm42600_gyro_read_sensor() [all …]
|
H A D | inv_icm42600_accel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 60 .scan_index = -1, \ 72 "low-noise", 73 "low-power", 92 if (chan->type != IIO_ACCEL) in inv_icm42600_accel_power_mode_set() 93 return -EINVAL; in inv_icm42600_accel_power_mode_set() 96 return -EINVAL; in inv_icm42600_accel_power_mode_set() 101 guard(mutex)(&st->lock); in inv_icm42600_accel_power_mode_set() 104 if (st->conf.accel.mode != INV_ICM42600_SENSOR_MODE_OFF) in inv_icm42600_accel_power_mode_set() 105 return -EBUSY; in inv_icm42600_accel_power_mode_set() [all …]
|