Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dlm90.c1410 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1419 convrate = i2c_smbus_read_byte_data(client, LM90_REG_R_CONVRATE); in lm90_detect()
1420 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1434 && convrate <= 0x09) { in lm90_detect()
1459 && convrate <= 0x0A) { in lm90_detect()
1471 && convrate <= 0x0A) { in lm90_detect()
1476 && convrate <= 0x0A) { in lm90_detect()
1516 && convrate <= 0x09) { in lm90_detect()
1537 && convrate <= 0x07) { in lm90_detect()
1548 && convrate <= 0x07) { in lm90_detect()
[all …]
Dlm95241.c203 int convrate; in lm95241_write_chip() local
213 convrate = 76; in lm95241_write_chip()
216 convrate = 182; in lm95241_write_chip()
219 convrate = 1000; in lm95241_write_chip()
222 convrate = 2700; in lm95241_write_chip()
225 data->interval = convrate; in lm95241_write_chip()
Dlm73.c102 unsigned long convrate; in convrate_store() local
106 err = kstrtoul(buf, 10, &convrate); in convrate_store()
117 convrate > lm73_convrates[res]) in convrate_store()
171 static SENSOR_DEVICE_ATTR_RW(update_interval, convrate, 0);
Dds1621.c281 unsigned long convrate; in update_interval_store() local
285 err = kstrtoul(buf, 10, &convrate); in update_interval_store()
291 convrate > ds1721_convrates[resol]) in update_interval_store()
Dlm63.c1018 u8 convrate; in lm63_init_client() local
1054 convrate = i2c_smbus_read_byte_data(client, LM63_REG_CONVRATE); in lm63_init_client()
1055 if (unlikely(convrate > LM63_MAX_CONVRATE)) in lm63_init_client()
1056 convrate = LM63_MAX_CONVRATE; in lm63_init_client()
1058 convrate); in lm63_init_client()