/Linux-v4.19/Documentation/hwmon/ |
D | lm73 | 28 conversion time via the 'update_interval' sysfs attribute for the 41 The following examples show how the 'update_interval' attribute can be 44 $ echo 0 > update_interval 45 $ cat update_interval 50 $ echo 22 > update_interval 51 $ cat update_interval 56 $ echo 56 > update_interval 57 $ cat update_interval 62 $ echo 85 > update_interval 63 $ cat update_interval [all …]
|
D | ds1621 | 129 userspace, via the device 'update_interval' sysfs attribute. This attribute 142 The following examples show how the 'update_interval' attribute can be 145 $ cat update_interval 150 $ echo 300 > update_interval 151 $ cat update_interval 156 $ echo 150 > update_interval 157 $ cat update_interval 162 $ echo 1 > update_interval 163 $ cat update_interval 168 $ echo 1000 > update_interval [all …]
|
D | sht3x | 36 modes, which can be controlled with the update_interval sysfs interface. 37 The allowed update_interval in milliseconds are as follows: 74 update_interval: update interval, 0 for single shot, interval in msec
|
D | ina2xx | 59 Additionally ina226 supports update_interval attribute as described in 63 lower limit of the update_interval is 2 ms, the upper limit is 2253 ms.
|
D | w83773g | 33 update_interval
|
D | ina209 | 71 update_interval data conversion time; affects number of samples used
|
D | lm63 | 68 the update_interval sysfs attribute; reading them more often will do no harm,
|
/Linux-v4.19/drivers/hwmon/ |
D | ds1621.c | 133 u16 update_interval; /* Conversion rate in milliseconds */ member 174 data->update_interval = DS1625_CONVERSION_MAX; in ds1621_init_client() 183 data->update_interval = ds1721_convrates[resol]; in ds1621_init_client() 188 data->update_interval = DS1621_CONVERSION_MAX; in ds1621_init_client() 206 if (time_after(jiffies, data->last_updated + data->update_interval) || in ds1621_update_client() 285 return scnprintf(buf, PAGE_SIZE, "%hu\n", data->update_interval); in update_interval_show() 312 data->update_interval = ds1721_convrates[resol]; in update_interval_store() 320 static DEVICE_ATTR_RW(update_interval);
|
D | ina209.c | 76 u16 update_interval; member 90 time_after(jiffies, data->last_updated + data->update_interval)) { in ina209_update_device() 255 data->update_interval = ina209_interval_from_reg(regval); in ina209_set_interval() 265 return snprintf(buf, PAGE_SIZE, "%d\n", data->update_interval); in ina209_show_interval() 451 static SENSOR_DEVICE_ATTR(update_interval, S_IRUGO | S_IWUSR, 543 data->update_interval = ina209_interval_from_reg(INA209_CONFIG_DEFAULT); in ina209_init_client()
|
D | lm63.c | 162 int update_interval; /* in milliseconds */ member 246 msecs_to_jiffies(data->update_interval); in lm63_update_device() 657 unsigned int update_interval; in lm63_set_convrate() local 664 update_interval = (1 << (LM63_MAX_CONVRATE + 6)) * 1000 in lm63_set_convrate() 666 for (i = 0; i < LM63_MAX_CONVRATE; i++, update_interval >>= 1) in lm63_set_convrate() 667 if (interval >= update_interval * 3 / 4) in lm63_set_convrate() 671 data->update_interval = UPDATE_INTERVAL(data->max_convrate_hz, i); in lm63_set_convrate() 679 return sprintf(buf, "%u\n", data->update_interval); in update_interval_show() 859 static DEVICE_ATTR_RW(update_interval); 1070 data->update_interval = UPDATE_INTERVAL(data->max_convrate_hz, in lm63_init_client()
|
D | tmp401.c | 156 unsigned int update_interval; /* in milliseconds */ member 230 msecs_to_jiffies(data->update_interval); in tmp401_update_device() 436 return sprintf(buf, "%u\n", data->update_interval); in update_interval_show() 464 data->update_interval = (1 << (7 - rate)) * 125; in update_interval_store() 503 static DEVICE_ATTR_RW(update_interval); 624 data->update_interval = 500; in tmp401_init_client()
|
D | lm90.c | 471 unsigned int update_interval; /* in milliseconds */ member 591 unsigned int update_interval; in lm90_set_convrate() local 598 for (i = 0, update_interval = LM90_MAX_CONVRATE_MS << 6; in lm90_set_convrate() 599 i < data->max_convrate; i++, update_interval >>= 1) in lm90_set_convrate() 600 if (interval >= update_interval * 3 / 4) in lm90_set_convrate() 604 data->update_interval = DIV_ROUND_CLOSEST(update_interval, 64); in lm90_set_convrate() 718 msecs_to_jiffies(data->update_interval); in lm90_update_device() 1298 *val = data->update_interval; in lm90_chip_read()
|
D | sht3x.c | 572 u16 update_interval; in update_interval_store() local 579 ret = kstrtou16(buf, 0, &update_interval); in update_interval_store() 583 mode = get_mode_from_update_interval(update_interval); in update_interval_store() 664 static SENSOR_DEVICE_ATTR(update_interval, S_IRUGO | S_IWUSR,
|
D | adm1031.c | 83 unsigned int update_interval; /* In milliseconds */ member 130 + msecs_to_jiffies(data->update_interval); in adm1031_update_device() 875 return sprintf(buf, "%u\n", data->update_interval); in update_interval_show() 909 data->update_interval = update_intervals[i]; in update_interval_store() 915 static DEVICE_ATTR_RW(update_interval); 1042 data->update_interval = update_intervals[i]; in adm1031_init_client()
|
D | max6697.c | 86 int update_interval; /* in milli-seconds */ member 196 + msecs_to_jiffies(data->update_interval))) in max6697_update_device() 616 data->update_interval = factor * MAX6697_CONV_TIME; in max6697_init_chip()
|
D | lm73.c | 177 static SENSOR_DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO,
|
D | ina2xx.c | 419 static SENSOR_DEVICE_ATTR(update_interval, S_IRUGO | S_IWUSR,
|
D | stts751.c | 757 static SENSOR_DEVICE_ATTR(update_interval, 0644,
|
D | lm95234.c | 570 static DEVICE_ATTR_RW(update_interval);
|
/Linux-v4.19/drivers/staging/greybus/ |
D | power_supply.c | 42 unsigned int update_interval; member 345 if (gbpsy->update_interval == update_interval_max) in next_interval() 349 gbpsy->update_interval *= 2; in next_interval() 350 if (gbpsy->update_interval > update_interval_max) in next_interval() 351 gbpsy->update_interval = update_interval_max; in next_interval() 731 gbpsy->update_interval = update_interval_init; in gb_power_supply_status_update() 746 if (!gbpsy->update_interval) in gb_power_supply_work() 751 schedule_delayed_work(&gbpsy->work, gbpsy->update_interval); in gb_power_supply_work() 849 gbpsy->update_interval = 0; in _gb_power_supply_release() 924 gbpsy->update_interval = update_interval_init; in gb_power_supply_enable() [all …]
|
/Linux-v4.19/include/linux/mfd/da9150/ |
D | core.h | 54 u32 update_interval; /* msecs */ member
|
/Linux-v4.19/net/mac80211/ |
D | rc80211_minstrel.h | 126 unsigned int update_interval; member
|
D | rc80211_minstrel.c | 299 (mp->update_interval * HZ) / 1000)) in minstrel_tx_status() 688 mp->update_interval = 100; in minstrel_alloc()
|
/Linux-v4.19/drivers/power/supply/ |
D | da9150-fg.c | 432 &pdata->update_interval); in da9150_fg_dt_pdata() 489 fg->interval = fg_pdata->update_interval; in da9150_fg_probe()
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-rv3029c2.c | 757 static SENSOR_DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO,
|