Home
last modified time | relevance | path

Searched refs:cache_time (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/hwmon/
Dstts751.c273 int cache_time = msecs_to_jiffies(stts751_intervals[priv->interval]); in stts751_update_alert() local
279 cache_time += cache_time / 10; in stts751_update_alert()
299 if (time_after(jiffies, priv->last_alert_update + cache_time) || in stts751_update_alert()
367 int cache_time = msecs_to_jiffies(stts751_intervals[priv->interval]); in stts751_update() local
369 if (time_after(jiffies, priv->last_update + cache_time) || in stts751_update()
/Linux-v4.19/drivers/power/supply/
Dds2760_battery.c34 static unsigned int cache_time = 1000; variable
35 module_param(cache_time, uint, 0644);
36 MODULE_PARM_DESC(cache_time, "cache time in milliseconds");
268 msecs_to_jiffies(cache_time))) in ds2760_battery_read_status()
719 cache_time = tmp; in w1_ds2760_add_slave()
/Linux-v4.19/drivers/acpi/
Dsbs.c57 static unsigned int cache_time = 1000; variable
58 module_param(cache_time, uint, 0644);
59 MODULE_PARM_DESC(cache_time, "cache time in milliseconds");
378 msecs_to_jiffies(cache_time))) in acpi_battery_get_state()
Dbattery.c79 static unsigned int cache_time = 1000; variable
80 module_param(cache_time, uint, 0644);
81 MODULE_PARM_DESC(cache_time, "cache time in milliseconds");
568 msecs_to_jiffies(cache_time))) in acpi_battery_get_state()
/Linux-v4.19/drivers/staging/greybus/
Dpower_supply.c74 static unsigned int cache_time = 1000; variable
690 msecs_to_jiffies(cache_time))) in is_cache_valid()