Home
last modified time | relevance | path

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

/linux-4.4.14/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 …]
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.
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,
Dlm90226 the update_interval attribute; reading them more often will do no harm, but will
Dsysfs-interface94 update_interval The interval at which the chip will update readings.
/linux-4.4.14/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 show_convrate()
311 data->update_interval = ds1721_convrates[resol]; in set_convrate()
319 static DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO, show_convrate,
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.c161 int update_interval; /* in milliseconds */ member
245 msecs_to_jiffies(data->update_interval); in lm63_update_device()
656 unsigned int update_interval; in lm63_set_convrate() local
663 update_interval = (1 << (LM63_MAX_CONVRATE + 6)) * 1000 in lm63_set_convrate()
665 for (i = 0; i < LM63_MAX_CONVRATE; i++, update_interval >>= 1) in lm63_set_convrate()
666 if (interval >= update_interval * 3 / 4) in lm63_set_convrate()
670 data->update_interval = UPDATE_INTERVAL(data->max_convrate_hz, i); in lm63_set_convrate()
678 return sprintf(buf, "%u\n", data->update_interval); in show_update_interval()
859 static DEVICE_ATTR(update_interval, S_IRUGO | S_IWUSR, show_update_interval,
1071 data->update_interval = UPDATE_INTERVAL(data->max_convrate_hz, in lm63_init_client()
Dtmp401.c168 unsigned int update_interval; /* in milliseconds */ member
247 msecs_to_jiffies(data->update_interval); in tmp401_update_device()
453 return sprintf(buf, "%u\n", data->update_interval); in show_update_interval()
481 data->update_interval = (1 << (7 - rate)) * 125; in set_update_interval()
520 static DEVICE_ATTR(update_interval, S_IRUGO | S_IWUSR, show_update_interval,
626 data->update_interval = 500; in tmp401_init_client()
Dlm90.c378 int update_interval; /* in milliseconds */ member
501 unsigned int update_interval; in lm90_set_convrate() local
507 for (i = 0, update_interval = LM90_MAX_CONVRATE_MS << 6; in lm90_set_convrate()
508 i < data->max_convrate; i++, update_interval >>= 1) in lm90_set_convrate()
509 if (interval >= update_interval * 3 / 4) in lm90_set_convrate()
513 data->update_interval = DIV_ROUND_CLOSEST(update_interval, 64); in lm90_set_convrate()
525 msecs_to_jiffies(data->update_interval); in lm90_update_device()
974 return sprintf(buf, "%u\n", data->update_interval); in show_update_interval()
1031 static DEVICE_ATTR(update_interval, S_IRUGO | S_IWUSR, show_update_interval,
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 show_update_interval()
909 data->update_interval = update_intervals[i]; in set_update_interval()
915 static DEVICE_ATTR(update_interval, S_IRUGO | S_IWUSR, show_update_interval,
1043 data->update_interval = update_intervals[i]; in adm1031_init_client()
Dmax6697.c85 int update_interval; /* in milli-seconds */ member
195 + msecs_to_jiffies(data->update_interval))) in max6697_update_device()
615 data->update_interval = factor * MAX6697_CONV_TIME; in max6697_init_chip()
Dlm73.c177 static SENSOR_DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO,
Dina2xx.c393 static SENSOR_DEVICE_ATTR(update_interval, S_IRUGO | S_IWUSR,
Dlm95241.c312 static DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO, show_interval,
Dlm95245.c403 static DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO, show_interval,
Dlm95234.c569 static DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO, show_interval,
/linux-4.4.14/include/linux/mfd/da9150/
Dcore.h54 u32 update_interval; /* msecs */ member
/linux-4.4.14/net/mac80211/
Drc80211_minstrel.h133 unsigned int update_interval; member
Drc80211_minstrel.c297 (mp->update_interval * HZ) / 1000)) in minstrel_tx_status()
681 mp->update_interval = 100; in minstrel_alloc()
Drc80211_minstrel_ht.c771 (mp->update_interval / 2 * HZ) / 1000)) { in minstrel_ht_tx_status()
/linux-4.4.14/drivers/power/
Dda9150-fg.c432 &pdata->update_interval); in da9150_fg_dt_pdata()
489 fg->interval = fg_pdata->update_interval; in da9150_fg_probe()
/linux-4.4.14/drivers/scsi/aacraid/
Daachba.c286 int update_interval = 30 * 60; variable
287 module_param(update_interval, int, S_IRUGO|S_IWUSR);
288 MODULE_PARM_DESC(update_interval, "Interval in seconds between time sync"
Daacraid.h2176 extern int update_interval;
Dcommsup.c1961 difference = (long)(unsigned)update_interval*HZ; in aac_command_thread()