Home
last modified time | relevance | path

Searched refs:tmp421 (Results 1 – 3 of 3) sorted by relevance

/drivers/hwmon/
A Dtmp421.c30 enum chips { tmp421, tmp422, tmp423, tmp441, tmp442 }; enumerator
199 struct tmp421_data *tmp421 = dev_get_drvdata(dev); in tmp421_read() local
202 ret = tmp421_update_device(tmp421); in tmp421_read()
208 if (!tmp421->channel[channel].enabled) in tmp421_read()
210 *val = temp_from_raw(tmp421->channel[channel].temp, in tmp421_read()
211 tmp421->config & TMP421_CONFIG_RANGE); in tmp421_read()
214 if (!tmp421->channel[channel].enabled) in tmp421_read()
220 *val = !!(tmp421->channel[channel].temp & 0x03); in tmp421_read()
223 *val = tmp421->channel[channel].enabled; in tmp421_read()
332 kind = tmp421; in tmp421_detect()
A DMakefile230 obj-$(CONFIG_SENSORS_TMP421) += tmp421.o
A DKconfig2382 will be called tmp421.

Completed in 10 milliseconds