Home
last modified time | relevance | path

Searched refs:lm75 (Results 1 – 5 of 5) sorted by relevance

/drivers/hwmon/
Dasb100.c187 struct i2c_client *lm75[2]; member
708 data->lm75[0] = i2c_new_dummy_device(adapter, sc_addr[0]); in asb100_detect_subclients()
709 if (IS_ERR(data->lm75[0])) { in asb100_detect_subclients()
713 err = PTR_ERR(data->lm75[0]); in asb100_detect_subclients()
717 data->lm75[1] = i2c_new_dummy_device(adapter, sc_addr[1]); in asb100_detect_subclients()
718 if (IS_ERR(data->lm75[1])) { in asb100_detect_subclients()
722 err = PTR_ERR(data->lm75[1]); in asb100_detect_subclients()
730 i2c_unregister_device(data->lm75[0]); in asb100_detect_subclients()
820 i2c_unregister_device(data->lm75[1]); in asb100_probe()
821 i2c_unregister_device(data->lm75[0]); in asb100_probe()
[all …]
Dlm75.c33 lm75, enumerator
173 [lm75] = {
541 struct lm75_data *lm75 = data; in lm75_disable_regulator() local
543 regulator_disable(lm75->vs); in lm75_disable_regulator()
548 struct lm75_data *lm75 = data; in lm75_remove() local
549 struct i2c_client *client = lm75->client; in lm75_remove()
551 i2c_smbus_write_byte_data(client, LM75_REG_CONF, lm75->orig_conf); in lm75_remove()
644 { "lm75", lm75, },
692 .data = (void *)lm75
Dw83781d.c209 struct i2c_client *lm75[2]; /* for secondary I2C addresses */ member
897 data->lm75[i] = i2c_new_dummy_device(adapter, sc_addr[i]); in w83781d_detect_subclients()
898 if (IS_ERR(data->lm75[i])) { in w83781d_detect_subclients()
902 err = PTR_ERR(data->lm75[i]); in w83781d_detect_subclients()
913 i2c_unregister_device(data->lm75[0]); in w83781d_detect_subclients()
1237 i2c_unregister_device(data->lm75[0]); in w83781d_probe()
1238 i2c_unregister_device(data->lm75[1]); in w83781d_probe()
1251 i2c_unregister_device(data->lm75[0]); in w83781d_remove()
1252 i2c_unregister_device(data->lm75[1]); in w83781d_remove()
1273 cl = data->lm75[bank - 1]; in w83781d_read_value_i2c()
[all …]
DMakefile103 obj-$(CONFIG_SENSORS_LM75) += lm75.o
DKconfig1204 will be called lm75.