Searched refs:cache_time (Results 1 – 4 of 4) sorted by relevance
| /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()
|
| H A 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()
|
| /linux/drivers/acpi/ |
| H A D | sbs.c | 40 static unsigned int cache_time = 1000; variable 41 module_param(cache_time, uint, 0644); 42 MODULE_PARM_DESC(cache_time, "cache time in milliseconds"); 360 msecs_to_jiffies(cache_time))) in acpi_battery_get_state()
|
| H A D | battery.c | 61 static unsigned int cache_time = 1000; variable 62 module_param(cache_time, uint, 0644); 63 MODULE_PARM_DESC(cache_time, "cache time in milliseconds"); 624 msecs_to_jiffies(cache_time))) in acpi_battery_get_state()
|