Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/Documentation/hwmon/
Dlm73.rst35 conversion time via the 'update_interval' sysfs attribute for the
49 The following examples show how the 'update_interval' attribute can be
52 $ echo 0 > update_interval
53 $ cat update_interval
58 $ echo 22 > update_interval
59 $ cat update_interval
64 $ echo 56 > update_interval
65 $ cat update_interval
70 $ echo 85 > update_interval
71 $ cat update_interval
[all …]
Dds1621.rst157 userspace, via the device 'update_interval' sysfs attribute. This attribute
171 The following examples show how the 'update_interval' attribute can be
174 $ cat update_interval
179 $ echo 300 > update_interval
180 $ cat update_interval
185 $ echo 150 > update_interval
186 $ cat update_interval
191 $ echo 1 > update_interval
192 $ cat update_interval
197 $ echo 1000 > update_interval
[all …]
Dina3221.rst62 update_interval Data conversion time in millisecond, following:
64 update_interval = C x S x (BC + SC)
72 Note that setting update_interval to 0ms sets both BC
Dsht3x.rst42 modes, which can be controlled with the update_interval sysfs interface.
43 The allowed update_interval in milliseconds are as follows:
85 update_interval: update interval, 0 for single shot, interval in msec
Dina2xx.rst80 Additionally ina226 supports update_interval attribute as described in
84 lower limit of the update_interval is 2 ms, the upper limit is 2253 ms.
112 update_interval data conversion time; affects number of samples used
Dw83773g.rst35 **temp[1-3]_input, temp[2-3]_fault, temp[2-3]_offset, update_interval**
Dbt1-pvt.rst36 (update_interval sysfs node value) this design may cause additional burden on
85 update_interval RW Measurements update interval per
Dina209.rst76 update_interval data conversion time; affects number of samples used
Dlm63.rst86 the update_interval sysfs attribute; reading them more often will do no harm,
/kernel/linux/linux-5.10/drivers/hwmon/
Dds1621.c120 u16 update_interval; /* Conversion rate in milliseconds */ member
161 data->update_interval = DS1625_CONVERSION_MAX; in ds1621_init_client()
170 data->update_interval = ds1721_convrates[resol]; in ds1621_init_client()
175 data->update_interval = DS1621_CONVERSION_MAX; in ds1621_init_client()
193 if (time_after(jiffies, data->last_updated + data->update_interval) || in ds1621_update_client()
272 return scnprintf(buf, PAGE_SIZE, "%hu\n", data->update_interval); in update_interval_show()
299 data->update_interval = ds1721_convrates[resol]; in update_interval_store()
307 static DEVICE_ATTR_RW(update_interval);
Dina209.c73 u16 update_interval; member
87 time_after(jiffies, data->last_updated + data->update_interval)) { in ina209_update_device()
252 data->update_interval = ina209_interval_from_reg(regval); in ina209_interval_store()
262 return snprintf(buf, PAGE_SIZE, "%d\n", data->update_interval); in ina209_interval_show()
428 static SENSOR_DEVICE_ATTR_RW(update_interval, ina209_interval, 0);
519 data->update_interval = ina209_interval_from_reg(INA209_CONFIG_DEFAULT); in ina209_init_client()
Dtmp401.c143 unsigned int update_interval; /* in milliseconds */ member
217 msecs_to_jiffies(data->update_interval); in tmp401_update_device()
427 return sprintf(buf, "%u\n", data->update_interval); in update_interval_show()
455 data->update_interval = (1 << (7 - rate)) * 125; in update_interval_store()
485 static DEVICE_ATTR_RW(update_interval);
599 data->update_interval = 500; in tmp401_init_client()
Dlm63.c149 int update_interval; /* in milliseconds */ member
233 msecs_to_jiffies(data->update_interval); in lm63_update_device()
644 unsigned int update_interval; in lm63_set_convrate() local
651 update_interval = (1 << (LM63_MAX_CONVRATE + 6)) * 1000 in lm63_set_convrate()
653 for (i = 0; i < LM63_MAX_CONVRATE; i++, update_interval >>= 1) in lm63_set_convrate()
654 if (interval >= update_interval * 3 / 4) in lm63_set_convrate()
658 data->update_interval = UPDATE_INTERVAL(data->max_convrate_hz, i); in lm63_set_convrate()
666 return sprintf(buf, "%u\n", data->update_interval); in update_interval_show()
846 static DEVICE_ATTR_RW(update_interval);
1057 data->update_interval = UPDATE_INTERVAL(data->max_convrate_hz, in lm63_init_client()
Dsht3x.c562 u16 update_interval; in update_interval_store() local
569 ret = kstrtou16(buf, 0, &update_interval); in update_interval_store()
573 mode = get_mode_from_update_interval(update_interval); in update_interval_store()
637 static SENSOR_DEVICE_ATTR_RW(update_interval, update_interval, 0);
Dlm90.c506 unsigned int update_interval; /* in milliseconds */ member
658 unsigned int update_interval; in lm90_set_convrate() local
665 for (i = 0, update_interval = LM90_MAX_CONVRATE_MS << 6; in lm90_set_convrate()
666 i < data->max_convrate; i++, update_interval >>= 1) in lm90_set_convrate()
667 if (interval >= update_interval * 3 / 4) in lm90_set_convrate()
671 data->update_interval = DIV_ROUND_CLOSEST(update_interval, 64); in lm90_set_convrate()
787 msecs_to_jiffies(data->update_interval); in lm90_update_device()
1365 *val = data->update_interval; in lm90_chip_read()
Dadm1031.c70 unsigned int update_interval; /* In milliseconds */ member
117 + msecs_to_jiffies(data->update_interval); in adm1031_update_device()
855 return sprintf(buf, "%u\n", data->update_interval); in update_interval_show()
889 data->update_interval = update_intervals[i]; in update_interval_store()
895 static DEVICE_ATTR_RW(update_interval);
1022 data->update_interval = update_intervals[i]; in adm1031_init_client()
Dmax6697.c80 int update_interval; /* in milli-seconds */ member
195 + msecs_to_jiffies(data->update_interval))) in max6697_update_device()
684 data->update_interval = factor * MAX6697_CONV_TIME; in max6697_init_chip()
Dlm73.c171 static SENSOR_DEVICE_ATTR_RW(update_interval, convrate, 0);
Dina2xx.c582 static SENSOR_DEVICE_ATTR_RW(update_interval, ina226_interval, 0);
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dpower_supply.c41 unsigned int update_interval; member
344 if (gbpsy->update_interval == update_interval_max) in next_interval()
348 gbpsy->update_interval *= 2; in next_interval()
349 if (gbpsy->update_interval > update_interval_max) in next_interval()
350 gbpsy->update_interval = update_interval_max; in next_interval()
730 gbpsy->update_interval = update_interval_init; in gb_power_supply_status_update()
745 if (!gbpsy->update_interval) in gb_power_supply_work()
750 schedule_delayed_work(&gbpsy->work, gbpsy->update_interval); in gb_power_supply_work()
848 gbpsy->update_interval = 0; in _gb_power_supply_release()
923 gbpsy->update_interval = update_interval_init; in gb_power_supply_enable()
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/da9150/
Dcore.h50 u32 update_interval; /* msecs */ member
/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel.h150 unsigned int update_interval; member
Drc80211_minstrel_ht.c895 u32 update_interval = mp->update_interval / 2; in minstrel_ht_tx_status() local
953 update_interval /= 2; in minstrel_ht_tx_status()
994 if (time_after(jiffies, mi->last_stats_update + update_interval)) { in minstrel_ht_tx_status()
1674 mp->update_interval = HZ / 10; in minstrel_ht_alloc()
Drc80211_minstrel.c291 mp->update_interval / (mp->new_avg ? 2 : 1))) in minstrel_tx_status()
/kernel/linux/linux-5.10/drivers/power/supply/
Dda9150-fg.c428 &pdata->update_interval); in da9150_fg_dt_pdata()
485 fg->interval = fg_pdata->update_interval; in da9150_fg_probe()

12