Searched refs:convrate (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/hwmon/ |
D | lm90.c | 1870 int config1, int convrate) in lm90_detect_national() argument 1879 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) in lm90_detect_national() 1905 int convrate) in lm90_detect_on() argument 1913 convrate <= 0x0a) in lm90_detect_on() 1923 int chip_id, int config1, int convrate) in lm90_detect_analog() argument 1975 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog() 1981 (config1 & 0x0b) == 0x08 && convrate <= 0x0a) in lm90_detect_analog() 2000 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog() 2006 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog() 2011 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog() [all …]
|
D | emc1403.c | 406 unsigned int convrate; in emc1403_get_convrate() local 409 ret = regmap_read(data->regmap, 0x04, &convrate); in emc1403_get_convrate() 412 if (convrate > 10) in emc1403_get_convrate() 413 convrate = 4; in emc1403_get_convrate() 415 *val = 16000 >> convrate; in emc1403_get_convrate() 526 int convrate; in emc1403_set_convrate() local 528 convrate = find_closest_descending(interval, ina3221_conv_time, in emc1403_set_convrate() 530 return regmap_write(data->regmap, 0x04, convrate); in emc1403_set_convrate()
|
D | lm95241.c | 203 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()
|
D | lm73.c | 102 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);
|
D | ds1621.c | 281 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()
|
D | lm95234.c | 262 u32 convrate; in lm95234_chip_read() local 267 ret = regmap_read(data->regmap, LM95234_REG_CONVRATE, &convrate); in lm95234_chip_read() 271 *val = update_intervals[convrate & 0x03]; in lm95234_chip_read()
|
D | lm63.c | 1018 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()
|