Home
last modified time | relevance | path

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

12

/linux/Documentation/hwmon/
H A 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 …]
H A 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
H A Dsht3x.rst48 modes, which can be controlled with the update_interval sysfs interface.
49 The allowed update_interval in milliseconds are as follows:
95 update_interval: update interval, 0 for single shot, interval in msec
H A Dina2xx.rst109 Additionally ina226 supports update_interval attribute as described in
113 lower limit of the update_interval is 2 ms, the upper limit is 2253 ms.
145 update_interval data conversion time; affects number of samples used
H A Dw83773g.rst35 **temp[1-3]_input, temp[2-3]_fault, temp[2-3]_offset, update_interval**
H A Dtmp464.rst73 **update_interval**
H A Dbt1-pvt.rst36 (update_interval sysfs node value) this design may cause additional burden on
85 update_interval RW Measurements update interval per
H A Dnzxt-smart2.rst60 update_interval The interval at which all inputs are updated (in
H A Dina209.rst76 update_interval data conversion time; affects number of samples used
H A Dlm63.rst86 the update_interval sysfs attribute; reading them more often will do no harm,
H A Dsysfs-interface.rst106 `update_interval`
/linux/drivers/hwmon/
H A 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 sysfs_emit(buf, "%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);
H A 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 sysfs_emit(buf, "%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()
H A 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()
H A Dadm1031.c70 unsigned int update_interval; /* In milliseconds */ member
117 + msecs_to_jiffies(data->update_interval); in adm1031_update_device()
854 return sprintf(buf, "%u\n", data->update_interval); in update_interval_show()
888 data->update_interval = update_intervals[i]; in update_interval_store()
894 static DEVICE_ATTR_RW(update_interval);
1021 data->update_interval = update_intervals[i]; in adm1031_init_client()
H A Dlm73.c171 static SENSOR_DEVICE_ATTR_RW(update_interval, convrate, 0);
H A Dstts751.c748 static SENSOR_DEVICE_ATTR_RW(update_interval, interval, 0);
/linux/drivers/staging/greybus/
H A 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 …]
/linux/include/linux/mfd/da9150/
H A Dcore.h50 u32 update_interval; /* msecs */ member
/linux/net/mac80211/
H A Drc80211_minstrel_ht.h81 unsigned int update_interval; member
/linux/drivers/power/supply/
H A Dda9150-fg.c428 &pdata->update_interval); in da9150_fg_dt_pdata()
485 fg->interval = fg_pdata->update_interval; in da9150_fg_probe()
/linux/arch/x86/events/amd/
H A Duncore.c91 static unsigned int update_interval = 60 * MSEC_PER_SEC; variable
92 module_param(update_interval, uint, 0444);
552 curr->hrtimer_duration = (u64)update_interval * NSEC_PER_MSEC; in amd_uncore_ctx_init()
/linux/drivers/rtc/
H A Drtc-rv3029c2.c665 static SENSOR_DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO,
/linux/drivers/scsi/aacraid/
H A Daachba.c299 int update_interval = 30 * 60; variable
300 module_param(update_interval, int, S_IRUGO|S_IWUSR);
301 MODULE_PARM_DESC(update_interval, "Interval in seconds between time sync"
/linux/Documentation/i2c/
H A Di2c-sysfs.rst375 in0_crit in1_crit_alarm power1_crit update_interval

12