Home
last modified time | relevance | path

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

12

/Linux-v6.6/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.rst35 modes, which can be controlled with the update_interval sysfs interface.
36 The allowed update_interval in milliseconds are as follows:
78 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
Dsht4x.rst42 update_interval The minimum interval for polling the sensor,
Dw83773g.rst35 **temp[1-3]_input, temp[2-3]_fault, temp[2-3]_offset, update_interval**
Daht10.rst53 update_interval The minimum interval for polling the sensor,
Dtmp464.rst73 **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
Dnzxt-smart2.rst60 update_interval The interval at which all inputs are updated (in
/Linux-v6.6/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 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);
Dsht4x.c61 long update_interval; /* in milli-seconds */ member
84 msecs_to_jiffies(data->update_interval); in sht4x_read_values()
132 data->update_interval = clamp_val(val, SHT4X_MIN_POLL_INTERVAL, INT_MAX); in sht4x_interval_write()
140 *val = data->update_interval; in sht4x_interval_read()
255 data->update_interval = SHT4X_MIN_POLL_INTERVAL; in sht4x_probe()
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()
Dnzxt-smart2.c205 long update_interval; member
347 *val = drvdata->update_interval; in nzxt_smart2_hwmon_read()
579 drvdata->update_interval = control_byte_to_update_interval(control); in set_update_interval()
583 static int init_device(struct drvdata *drvdata, long update_interval) in init_device() argument
596 return set_update_interval(drvdata, update_interval); in init_device()
721 return init_device(drvdata, drvdata->update_interval); in nzxt_smart2_hid_reset_resume()
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()
Dtmp464.c101 int update_interval; member
139 *val = data->update_interval; in tmp464_chip_read()
176 msecs_to_jiffies(data->update_interval))) { in tmp464_temp_read()
288 data->update_interval = 125 << (7 - rate); in tmp464_set_convrate()
463 data->update_interval = 500; in tmp464_init_client()
Dlm90.c705 unsigned int update_interval; /* in milliseconds */ member
907 unsigned int update_interval; in lm90_set_convrate() local
914 for (i = 0, update_interval = LM90_MAX_CONVRATE_MS << 6; in lm90_set_convrate()
915 i < data->max_convrate; i++, update_interval >>= 1) in lm90_set_convrate()
916 if (interval >= update_interval * 3 / 4) in lm90_set_convrate()
920 data->update_interval = DIV_ROUND_CLOSEST(update_interval, 64); in lm90_set_convrate()
1117 time_after(jiffies, data->alarms_updated + msecs_to_jiffies(data->update_interval))) { in lm90_update_alarms_locked()
1173 max_t(int, HZ, msecs_to_jiffies(data->update_interval))); in lm90_update_alarms_locked()
1219 msecs_to_jiffies(data->update_interval); in lm90_update_device()
1666 *val = data->update_interval; in lm90_chip_read()
[all …]
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()
Dmax6697.c79 int update_interval; /* in milli-seconds */ member
194 + msecs_to_jiffies(data->update_interval))) in max6697_update_device()
683 data->update_interval = factor * MAX6697_CONV_TIME; in max6697_init_chip()
Dlm73.c171 static SENSOR_DEVICE_ATTR_RW(update_interval, convrate, 0);
/Linux-v6.6/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 …]
/Linux-v6.6/include/linux/mfd/da9150/
Dcore.h50 u32 update_interval; /* msecs */ member
/Linux-v6.6/net/mac80211/
Drc80211_minstrel_ht.h81 unsigned int update_interval; member
/Linux-v6.6/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