Home
last modified time | relevance | path

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

/drivers/hwmon/
Dasb100.c187 struct i2c_client *lm75[2]; member
709 data->lm75[0] = i2c_new_dummy_device(adapter, sc_addr[0]); in asb100_detect_subclients()
710 if (IS_ERR(data->lm75[0])) { in asb100_detect_subclients()
714 err = PTR_ERR(data->lm75[0]); in asb100_detect_subclients()
718 data->lm75[1] = i2c_new_dummy_device(adapter, sc_addr[1]); in asb100_detect_subclients()
719 if (IS_ERR(data->lm75[1])) { in asb100_detect_subclients()
723 err = PTR_ERR(data->lm75[1]); in asb100_detect_subclients()
731 i2c_unregister_device(data->lm75[0]); in asb100_detect_subclients()
822 i2c_unregister_device(data->lm75[1]); in asb100_probe()
823 i2c_unregister_device(data->lm75[0]); in asb100_probe()
[all …]
Dlm75.c32 lm75, enumerator
171 [lm75] = {
539 struct lm75_data *lm75 = data; in lm75_remove() local
540 struct i2c_client *client = lm75->client; in lm75_remove()
542 i2c_smbus_write_byte_data(client, LM75_REG_CONF, lm75->orig_conf); in lm75_remove()
619 { "lm75", lm75, },
667 .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()
1236 i2c_unregister_device(data->lm75[0]); in w83781d_probe()
1237 i2c_unregister_device(data->lm75[1]); in w83781d_probe()
1250 i2c_unregister_device(data->lm75[0]); in w83781d_remove()
1251 i2c_unregister_device(data->lm75[1]); in w83781d_remove()
1272 cl = data->lm75[bank - 1]; in w83781d_read_value_i2c()
[all …]
Dw83791d.c277 struct i2c_client *lm75[2]; member
1285 data->lm75[0] = devm_i2c_new_dummy_device(&client->dev, adapter, in w83791d_detect_subclients()
1288 if (!IS_ERR(data->lm75[0]) && in w83791d_detect_subclients()
1293 data->lm75[0]->addr); in w83791d_detect_subclients()
1296 data->lm75[1] = devm_i2c_new_dummy_device(&client->dev, adapter, in w83791d_detect_subclients()
Dw83792d.c268 struct i2c_client *lm75[2]; member
951 data->lm75[0] = devm_i2c_new_dummy_device(&new_client->dev, adapter, in w83792d_detect_subclients()
954 if (!IS_ERR(data->lm75[0]) && in w83792d_detect_subclients()
958 data->lm75[0]->addr); in w83792d_detect_subclients()
961 data->lm75[1] = devm_i2c_new_dummy_device(&new_client->dev, adapter, in w83792d_detect_subclients()
Dw83793.c205 struct i2c_client *lm75[2]; member
1590 data->lm75[0] = devm_i2c_new_dummy_device(&client->dev, adapter, in w83793_detect_subclients()
1593 if (!IS_ERR(data->lm75[0]) in w83793_detect_subclients()
1597 "use force_subclients\n", data->lm75[0]->addr); in w83793_detect_subclients()
1600 data->lm75[1] = devm_i2c_new_dummy_device(&client->dev, adapter, in w83793_detect_subclients()
DMakefile95 obj-$(CONFIG_SENSORS_LM75) += lm75.o
DKconfig1063 will be called lm75.