Lines Matching defs:tmp421
2 /* tmp421.c
30 enum chips { tmp421, tmp422, tmp423, tmp441, tmp442 };
60 { "tmp421", 2 },
71 .compatible = "ti,tmp421",
199 struct tmp421_data *tmp421 = dev_get_drvdata(dev);
202 ret = tmp421_update_device(tmp421);
208 if (!tmp421->channel[channel].enabled)
210 *val = temp_from_raw(tmp421->channel[channel].temp,
211 tmp421->config & TMP421_CONFIG_RANGE);
214 if (!tmp421->channel[channel].enabled)
220 *val = !!(tmp421->channel[channel].temp & 0x03);
223 *val = tmp421->channel[channel].enabled;
332 kind = tmp421;
487 .name = "tmp421",