Searched refs:cache_time (Results 1 – 6 of 6) sorted by relevance
/drivers/hwmon/ |
D | stts751.c | 264 int cache_time = msecs_to_jiffies(stts751_intervals[priv->interval]); in stts751_update_alert() local 270 cache_time += cache_time / 10; in stts751_update_alert() 290 if (time_after(jiffies, priv->last_alert_update + cache_time) || in stts751_update_alert() 358 int cache_time = msecs_to_jiffies(stts751_intervals[priv->interval]); in stts751_update() local 360 if (time_after(jiffies, priv->last_update + cache_time) || in stts751_update()
|
/drivers/power/supply/ |
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"); 260 msecs_to_jiffies(cache_time))) in ds2760_battery_read_status() 711 cache_time = tmp; in w1_ds2760_add_slave()
|
D | surface_battery.c | 142 static unsigned int cache_time = 1000; variable 143 module_param(cache_time, uint, 0644); 144 MODULE_PARM_DESC(cache_time, "battery state caching time in milliseconds [default: 1000]"); 211 unsigned long cache_deadline = bat->timestamp + msecs_to_jiffies(cache_time); in spwr_battery_update_bst_unlocked()
|
/drivers/acpi/ |
D | sbs.c | 41 static unsigned int cache_time = 1000; variable 42 module_param(cache_time, uint, 0644); 43 MODULE_PARM_DESC(cache_time, "cache time in milliseconds"); 361 msecs_to_jiffies(cache_time))) in acpi_battery_get_state()
|
D | battery.c | 57 static unsigned int cache_time = 1000; variable 58 module_param(cache_time, uint, 0644); 59 MODULE_PARM_DESC(cache_time, "cache time in milliseconds"); 576 msecs_to_jiffies(cache_time))) in acpi_battery_get_state()
|
/drivers/staging/greybus/ |
D | power_supply.c | 73 static unsigned int cache_time = 1000; variable 689 msecs_to_jiffies(cache_time))) in is_cache_valid()
|