/drivers/hwmon/ |
D | ds1621.c | 120 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);
|
D | ina209.c | 73 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()
|
D | tmp401.c | 143 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()
|
D | lm63.c | 149 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()
|
D | sht3x.c | 562 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);
|
D | lm90.c | 460 unsigned int update_interval; /* in milliseconds */ member 612 unsigned int update_interval; in lm90_set_convrate() local 619 for (i = 0, update_interval = LM90_MAX_CONVRATE_MS << 6; in lm90_set_convrate() 620 i < data->max_convrate; i++, update_interval >>= 1) in lm90_set_convrate() 621 if (interval >= update_interval * 3 / 4) in lm90_set_convrate() 625 data->update_interval = DIV_ROUND_CLOSEST(update_interval, 64); in lm90_set_convrate() 739 msecs_to_jiffies(data->update_interval); in lm90_update_device() 1313 *val = data->update_interval; in lm90_chip_read()
|
D | adm1031.c | 70 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()
|
D | max6697.c | 77 int update_interval; /* in milli-seconds */ member 187 + msecs_to_jiffies(data->update_interval))) in max6697_update_device() 591 data->update_interval = factor * MAX6697_CONV_TIME; in max6697_init_chip()
|
D | lm73.c | 171 static SENSOR_DEVICE_ATTR_RW(update_interval, convrate, 0);
|
D | ina2xx.c | 409 static SENSOR_DEVICE_ATTR_RW(update_interval, ina226_interval, 0);
|
D | stts751.c | 749 static SENSOR_DEVICE_ATTR_RW(update_interval, interval, 0);
|
D | lm95234.c | 534 static DEVICE_ATTR_RW(update_interval);
|
/drivers/staging/greybus/ |
D | power_supply.c | 41 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 …]
|
/drivers/power/supply/ |
D | da9150-fg.c | 428 &pdata->update_interval); in da9150_fg_dt_pdata() 485 fg->interval = fg_pdata->update_interval; in da9150_fg_probe()
|
/drivers/rtc/ |
D | rtc-rv3029c2.c | 753 static SENSOR_DEVICE_ATTR(update_interval, S_IWUSR | S_IRUGO,
|
/drivers/scsi/aacraid/ |
D | aachba.c | 299 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"
|
D | aacraid.h | 2757 extern int update_interval;
|
D | commsup.c | 2506 difference = (long)(unsigned)update_interval*HZ; in aac_command_thread()
|