Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dhih6130.c35 struct hih6130 { struct
83 struct hih6130 *hih6130 = dev_get_drvdata(dev); in hih6130_update_measurements() local
84 struct i2c_client *client = hih6130->client; in hih6130_update_measurements()
97 mutex_lock(&hih6130->lock); in hih6130_update_measurements()
110 if (time_after(jiffies, hih6130->last_update + HZ) || !hih6130->valid) { in hih6130_update_measurements()
120 ret = i2c_master_send(client, tmp, hih6130->write_length); in hih6130_update_measurements()
138 hih6130->humidity = hih6130_rh_ticks_to_per_cent_mille(t); in hih6130_update_measurements()
141 hih6130->temperature = hih6130_temp_ticks_to_millicelsius(t); in hih6130_update_measurements()
143 hih6130->last_update = jiffies; in hih6130_update_measurements()
144 hih6130->valid = true; in hih6130_update_measurements()
[all …]
/linux/Documentation/hwmon/
H A Dhih6130.rst1 Kernel driver hih6130
8 Prefix: 'hih6130'
27 I2C address 0x27 by default, so an entry with I2C_BOARD_INFO("hih6130", 0x27)