drivers/cpuidle/governors/gov.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | |
| 3 | /* Common definitions for cpuidle governors. */ |
| 4 | |
| 5 | #ifndef __CPUIDLE_GOVERNOR_H |
| 6 | #define __CPUIDLE_GOVERNOR_H |
| 7 | |
| 8 | /* |
| 9 | * Idle state target residency threshold used for deciding whether or not to |
| 10 | * check the time till the closest expected timer event. |
| 11 | */ |
| 12 | #define RESIDENCY_THRESHOLD_NS (15 * NSEC_PER_USEC) |
| 13 | |
| 14 | #endif /* __CPUIDLE_GOVERNOR_H */ |