Searched refs:old_delay (Results 1 – 2 of 2) sorted by relevance
1600 static void update_autosuspend(struct device *dev, int old_delay, int old_use) in update_autosuspend() argument1608 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() local1642 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() local1663 old_delay = dev->power.autosuspend_delay; in __pm_runtime_use_autosuspend()1666 update_autosuspend(dev, old_delay, old_use); in __pm_runtime_use_autosuspend()
3946 unsigned long old_delay = mddev->safemode_delay; in safe_delay_store() local3952 if (new_delay < old_delay || old_delay == 0) in safe_delay_store()