Home
last modified time | relevance | path

Searched refs:old_delay (Results 1 – 2 of 2) sorted by relevance

/drivers/base/power/
Druntime.c1600 static void update_autosuspend(struct device *dev, int old_delay, int old_use) in update_autosuspend() argument
1608 if (!old_use || old_delay >= 0) { in update_autosuspend()
1620 if (old_use && old_delay < 0) in update_autosuspend()
1639 int old_delay, old_use; in pm_runtime_set_autosuspend_delay() local
1642 old_delay = dev->power.autosuspend_delay; in pm_runtime_set_autosuspend_delay()
1645 update_autosuspend(dev, old_delay, old_use); in pm_runtime_set_autosuspend_delay()
1660 int old_delay, old_use; in __pm_runtime_use_autosuspend() local
1663 old_delay = dev->power.autosuspend_delay; in __pm_runtime_use_autosuspend()
1666 update_autosuspend(dev, old_delay, old_use); in __pm_runtime_use_autosuspend()
/drivers/md/
Dmd.c3946 unsigned long old_delay = mddev->safemode_delay; in safe_delay_store() local
3952 if (new_delay < old_delay || old_delay == 0) in safe_delay_store()