Searched refs:cache_time (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/hwmon/ |
| H A D | stts751.c | 263 int cache_time = msecs_to_jiffies(stts751_intervals[priv->interval]); in stts751_update_alert() local 269 cache_time += cache_time / 10; in stts751_update_alert() 289 if (time_after(jiffies, priv->last_alert_update + cache_time) || in stts751_update_alert() 357 int cache_time = msecs_to_jiffies(stts751_intervals[priv->interval]); in stts751_update() local 359 if (time_after(jiffies, priv->last_update + cache_time) || in stts751_update()
|
| /linux/drivers/power/supply/ |
| H A D | ds2760_battery.c | 34 static unsigned int cache_time = 1000; variable 35 module_param(cache_time, uint, 0644); 36 MODULE_PARM_DESC(cache_time, "cache time in milliseconds"); 259 msecs_to_jiffies(cache_time))) in ds2760_battery_read_status() 664 cache_time = tmp; in w1_ds2760_add_slave()
|
| /linux/drivers/acpi/ |
| H A D | sbs.c | 42 static unsigned int cache_time = 1000; variable 43 module_param(cache_time, uint, 0644); 44 MODULE_PARM_DESC(cache_time, "cache time in milliseconds"); 362 msecs_to_jiffies(cache_time))) in acpi_battery_get_state()
|
| H A D | battery.c | 56 static unsigned int cache_time = 1000; variable 57 module_param(cache_time, uint, 0644); 58 MODULE_PARM_DESC(cache_time, "cache time in milliseconds"); 581 msecs_to_jiffies(cache_time))) in acpi_battery_get_state()
|
| /linux/drivers/staging/greybus/ |
| H A D | power_supply.c | 73 static unsigned int cache_time = 1000; variable 688 msecs_to_jiffies(cache_time))) in is_cache_valid()
|