Searched refs:sht21 (Results 1 – 4 of 4) sorted by relevance
46 struct sht21 { struct94 struct sht21 *sht21 = i2c_get_clientdata(client); in sht21_update_measurements() local96 mutex_lock(&sht21->lock); in sht21_update_measurements()102 if (time_after(jiffies, sht21->last_update + HZ / 2) || !sht21->valid) { in sht21_update_measurements()107 sht21->temperature = sht21_temp_ticks_to_millicelsius(ret); in sht21_update_measurements()112 sht21->humidity = sht21_rh_ticks_to_per_cent_mille(ret); in sht21_update_measurements()113 sht21->last_update = jiffies; in sht21_update_measurements()114 sht21->valid = 1; in sht21_update_measurements()117 mutex_unlock(&sht21->lock); in sht21_update_measurements()136 struct sht21 *sht21 = i2c_get_clientdata(client); in sht21_show_temperature() local[all …]
108 obj-$(CONFIG_SENSORS_SHT21) += sht21.o
903 will be called sht21.
1 Kernel driver sht216 Prefix: 'sht21'12 Prefix: 'sht21'30 I2C address 0x40, so an entry with I2C_BOARD_INFO("sht21", 0x40) can be used