/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | sht3x.c | 2 /* Sensirion SHT3x-DIS humidity and temperature sensor driver. 142 * cached values for temperature and humidity and limits 148 u32 humidity; member 247 data->humidity = sht3x_extract_humidity(val); in sht3x_update_client() 279 return sprintf(buf, "%u\n", data->humidity); in humidity1_input_show() 290 u32 humidity; in limits_update() local 307 humidity = sht3x_extract_humidity(raw & 0xfe00); in limits_update() 309 data->humidity_limits[index] = humidity; in limits_update() 344 u32 humidity) in limit_store() 365 raw |= ((humidity * 4295 in limit_store() 340 limit_store(struct device *dev, size_t count, u8 index, int temperature, u32 humidity) limit_store() argument 415 u32 humidity; humidity1_limit_store() local [all...] |
H A D | hih6130.c | 2 /* Honeywell HIH-6130/HIH-6131 humidity and temperature sensor driver 32 * @humidity: cached humidity measurement value 41 int humidity; member 61 * hih6130_rh_ticks_to_per_cent_mille() - convert raw humidity ticks to 62 * one-thousandths of a percent relative humidity 63 * @ticks: humidity ticks value received from sensor 103 * The datasheet specifies maximum 'Response time' for humidity at 8s in hih6130_update_measurements() 138 hih6130->humidity = hih6130_rh_ticks_to_per_cent_mille(t); in hih6130_update_measurements() 175 * hih6130_show_humidity() - show humidity measuremen [all...] |
H A D | sht21.c | 2 /* Sensirion SHT21 humidity and temperature sensor driver 34 * @humidity: cached humidity measurement value 43 int humidity; member 64 * sht21_rh_ticks_to_per_cent_mille() - convert raw humidity ticks to 65 * one-thousandths of a percent relative humidity 66 * @ticks: humidity ticks value received from sensor 106 sht21->humidity = sht21_rh_ticks_to_per_cent_mille(ret); in sht21_update_measurements() 139 * sht21_show_humidity() - show humidity measurement value in sysfs 156 return sprintf(buf, "%d\n", sht21->humidity); in sht21_humidity_show() [all...] |
H A D | shtc1.c | 2 /* Sensirion SHTC1 humidity and temperature sensor driver 68 int humidity; /* 1000 * relative humidity in %RH */ member 126 data->humidity = ((12500 * val) >> 13); in shtc1_update_client() 156 return sprintf(buf, "%d\n", data->humidity); in humidity1_input_show() 289 MODULE_DESCRIPTION("Sensirion SHTC1 humidity and temperature sensor driver");
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | sht3x.c | 2 /* Sensirion SHT3x-DIS humidity and temperature sensor driver. 155 HWMON_CHANNEL_INFO(humidity, HWMON_H_INPUT | HWMON_H_MIN | 174 * cached values for temperature and humidity and limits 180 u32 humidity; member 279 data->humidity = sht3x_extract_humidity(val); in sht3x_update_client() 308 return data->humidity; in humidity1_input_read() 319 u32 humidity; in limits_update() local 336 humidity = sht3x_extract_humidity(raw & 0xfe00); in limits_update() 338 data->humidity_limits[index] = humidity; in limits_update() 364 u32 humidity) in limit_write() 361 limit_write(struct device *dev, u8 index, int temperature, u32 humidity) limit_write() argument 425 u32 humidity; humidity1_limit_write() local [all...] |
H A D | hs3001.c | 4 * HS3001 humidity and temperature sensor and compatibles. It does not include 48 u32 humidity; /* in milli % */ member 93 data->humidity = in hs3001_data_fetch_command() 104 /* Both, humidity and temperature can only be read. */ in hs3001_is_visible() 147 *val = data->humidity; in hs3001_read() 162 HWMON_CHANNEL_INFO(humidity, HWMON_H_INPUT), 208 * + measurement time humidity. This is currently static, because in hs3001_probe() 241 MODULE_DESCRIPTION("HS3001 humidity and temperature sensor base driver");
|
H A D | aht10.c | 76 * @humidity: the latest humidity value received from the 92 int humidity; member 210 data->humidity = hum; in aht10_read_values() 256 * aht10_humidity1_read() - read the relative humidity in millipercent 266 *val = data->humidity; in aht10_humidity1_read() 317 HWMON_CHANNEL_INFO(humidity, HWMON_H_INPUT),
|
H A D | sht4x.c | 55 * @humidity: the latest humidity value received from the SHT4X 64 s32 humidity; member 120 data->humidity = ((15625 * (int32_t)rh_ticks) >> 13) - 6000; in sht4x_read_values() 158 /* sht4x_humidity1_read() - read a relative humidity in millipercent */ 167 *val = data->humidity; in sht4x_humidity1_read() 220 HWMON_CHANNEL_INFO(humidity, HWMON_H_INPUT), 301 MODULE_DESCRIPTION("Sensirion SHT4x humidity and temperature sensor driver");
|
H A D | hih6130.c | 2 /* Honeywell HIH-6130/HIH-6131 humidity and temperature sensor driver 32 * @humidity: cached humidity measurement value 41 int humidity; member 61 * hih6130_rh_ticks_to_per_cent_mille() - convert raw humidity ticks to 62 * one-thousandths of a percent relative humidity 63 * @ticks: humidity ticks value received from sensor 103 * The datasheet specifies maximum 'Response time' for humidity at 8s in hih6130_update_measurements() 138 hih6130->humidity = hih6130_rh_ticks_to_per_cent_mille(t); in hih6130_update_measurements() 175 * hih6130_humidity_show() - show humidity measuremen [all...] |
H A D | shtc1.c | 2 /* Sensirion SHTC1 humidity and temperature sensor driver 68 int humidity; /* 1000 * relative humidity in %RH */ member 126 data->humidity = ((12500 * val) >> 13); in shtc1_update_client() 156 return sprintf(buf, "%d\n", data->humidity); in humidity1_input_show() 289 MODULE_DESCRIPTION("Sensirion SHTC1 humidity and temperature sensor driver");
|
H A D | sht21.c | 2 /* Sensirion SHT21 humidity and temperature sensor driver 34 * @humidity: cached humidity measurement value 43 int humidity; member 64 * sht21_rh_ticks_to_per_cent_mille() - convert raw humidity ticks to 65 * one-thousandths of a percent relative humidity 66 * @ticks: humidity ticks value received from sensor 106 sht21->humidity = sht21_rh_ticks_to_per_cent_mille(ret); in sht21_update_measurements() 139 * sht21_humidity_show() - show humidity measurement value in sysfs 156 return sprintf(buf, "%d\n", sht21->humidity); in sht21_humidity_show() [all...] |
/kernel/linux/linux-5.10/drivers/iio/humidity/ |
H A D | dht11.c | 83 int humidity; member 155 dht11->humidity = ((hum_int << 8) + hum_dec) * 100; in dht11_decode() 158 dht11->humidity = hum_int * 1000; in dht11_decode() 266 *val = dht11->humidity; in dht11_read_raw() 343 MODULE_DESCRIPTION("DHT11 humidity/temperature sensor driver");
|
H A D | htu21.c | 4 * htu21 temperature & humidity sensor 5 * and humidity part of MS8607 sensor 44 unsigned int humidity; in htu21_read_raw() local 60 &humidity); in htu21_read_raw() 63 *val = humidity; in htu21_read_raw() 234 {"ms8607-humidity", MS8607}, 241 { .compatible = "meas,ms8607-humidity", }, 257 MODULE_DESCRIPTION("Measurement-Specialties htu21 temperature and humidity driver");
|
H A D | Makefile | 3 # Makefile for IIO humidity sensor drivers 10 obj-$(CONFIG_HID_SENSOR_HUMIDITY) += hid-sensor-humidity.o
|
/kernel/linux/linux-6.6/drivers/iio/humidity/ |
H A D | dht11.c | 82 int humidity; member 154 dht11->humidity = ((hum_int << 8) + hum_dec) * 100; in dht11_decode() 157 dht11->humidity = hum_int * 1000; in dht11_decode() 265 *val = dht11->humidity; in dht11_read_raw() 342 MODULE_DESCRIPTION("DHT11 humidity/temperature sensor driver");
|
H A D | htu21.c | 4 * htu21 temperature & humidity sensor 5 * and humidity part of MS8607 sensor 44 unsigned int humidity; in htu21_read_raw() local 60 &humidity); in htu21_read_raw() 63 *val = humidity; in htu21_read_raw() 234 {"ms8607-humidity", MS8607}, 241 { .compatible = "meas,ms8607-humidity", }, 257 MODULE_DESCRIPTION("Measurement-Specialties htu21 temperature and humidity driver");
|
H A D | Makefile | 3 # Makefile for IIO humidity sensor drivers 10 obj-$(CONFIG_HID_SENSOR_HUMIDITY) += hid-sensor-humidity.o
|
/kernel/linux/linux-5.10/drivers/iio/common/ms_sensors/ |
H A D | ms_sensors_i2c.c | 276 * @dev_data: pointer to temperature/humidity device data 306 * @dev_data: pointer to temperature/humidity device data 333 * @dev_data: pointer to temperature/humidity device data 360 * @dev_data: pointer to temperature/humidity device data 408 * @dev_data: pointer to temperature/humidity device data 448 * ms_sensors_ht_read_humidity() - Read humidity 449 * @dev_data: pointer to temperature/humidity device data 450 * @humidity: pointer to humidity destination value 452 * This function will get humidity AD 458 ms_sensors_ht_read_humidity(struct ms_ht_dev *dev_data, u32 *humidity) ms_sensors_ht_read_humidity() argument [all...] |
H A D | ms_sensors_i2c.h | 57 u32 *humidity);
|
/kernel/linux/linux-6.6/drivers/iio/common/ms_sensors/ |
H A D | ms_sensors_i2c.c | 276 * @dev_data: pointer to temperature/humidity device data 306 * @dev_data: pointer to temperature/humidity device data 333 * @dev_data: pointer to temperature/humidity device data 360 * @dev_data: pointer to temperature/humidity device data 408 * @dev_data: pointer to temperature/humidity device data 448 * ms_sensors_ht_read_humidity() - Read humidity 449 * @dev_data: pointer to temperature/humidity device data 450 * @humidity: pointer to humidity destination value 452 * This function will get humidity AD 458 ms_sensors_ht_read_humidity(struct ms_ht_dev *dev_data, u32 *humidity) ms_sensors_ht_read_humidity() argument [all...] |
H A D | ms_sensors_i2c.h | 68 u32 *humidity);
|
/kernel/linux/linux-5.10/drivers/iio/ |
H A D | Makefile | 29 obj-y += humidity/
|
/kernel/linux/linux-6.6/drivers/iio/ |
H A D | Makefile | 32 obj-y += humidity/
|