Home
last modified time | relevance | path

Searched refs:hih6130 (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/hwmon/
Dhih6130.c48 struct hih6130 { struct
96 struct hih6130 *hih6130 = dev_get_drvdata(dev); in hih6130_update_measurements() local
97 struct i2c_client *client = hih6130->client; in hih6130_update_measurements()
110 mutex_lock(&hih6130->lock); in hih6130_update_measurements()
123 if (time_after(jiffies, hih6130->last_update + HZ) || !hih6130->valid) { in hih6130_update_measurements()
133 ret = i2c_master_send(client, tmp, hih6130->write_length); in hih6130_update_measurements()
151 hih6130->humidity = hih6130_rh_ticks_to_per_cent_mille(t); in hih6130_update_measurements()
154 hih6130->temperature = hih6130_temp_ticks_to_millicelsius(t); in hih6130_update_measurements()
156 hih6130->last_update = jiffies; in hih6130_update_measurements()
157 hih6130->valid = true; in hih6130_update_measurements()
[all …]
DMakefile70 obj-$(CONFIG_SENSORS_HIH6130) += hih6130.o
DKconfig548 will be called hih6130.
/linux-4.4.14/Documentation/hwmon/
Dhih61301 Kernel driver hih6130
6 Prefix: 'hih6130'
22 I2C address 0x27 by default, so an entry with I2C_BOARD_INFO("hih6130", 0x27)