Home
last modified time | relevance | path

Searched refs:update_interval (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v4.19/Documentation/hwmon/
Dlm7328 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 …]
Dds1621129 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 …]
Dsht3x36 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
Dina2xx59 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.
Dw83773g33 update_interval
Dina20971 update_interval data conversion time; affects number of samples used
Dlm6368 the update_interval sysfs attribute; reading them more often will do no harm,
/Linux-v4.19/drivers/hwmon/
Dds1621.c133 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);
Dina209.c76 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()
Dlm63.c162 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()
Dtmp401.c156 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()
Dlm90.c471 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()
Dsht3x.c572 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,
Dadm1031.c83 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()
Dmax6697.c86 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()
Dlm73.c177 static SENSOR_DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO,
Dina2xx.c419 static SENSOR_DEVICE_ATTR(update_interval, S_IRUGO | S_IWUSR,
Dstts751.c757 static SENSOR_DEVICE_ATTR(update_interval, 0644,
Dlm95234.c570 static DEVICE_ATTR_RW(update_interval);
/Linux-v4.19/drivers/staging/greybus/
Dpower_supply.c42 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/
Dcore.h54 u32 update_interval; /* msecs */ member
/Linux-v4.19/net/mac80211/
Drc80211_minstrel.h126 unsigned int update_interval; member
Drc80211_minstrel.c299 (mp->update_interval * HZ) / 1000)) in minstrel_tx_status()
688 mp->update_interval = 100; in minstrel_alloc()
/Linux-v4.19/drivers/power/supply/
Dda9150-fg.c432 &pdata->update_interval); in da9150_fg_dt_pdata()
489 fg->interval = fg_pdata->update_interval; in da9150_fg_probe()
/Linux-v4.19/drivers/rtc/
Drtc-rv3029c2.c757 static SENSOR_DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO,

12