162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci/* Common definitions for cpuidle governors. */ 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#ifndef __CPUIDLE_GOVERNOR_H 662306a36Sopenharmony_ci#define __CPUIDLE_GOVERNOR_H 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci/* 962306a36Sopenharmony_ci * Idle state target residency threshold used for deciding whether or not to 1062306a36Sopenharmony_ci * check the time till the closest expected timer event. 1162306a36Sopenharmony_ci */ 1262306a36Sopenharmony_ci#define RESIDENCY_THRESHOLD_NS (15 * NSEC_PER_USEC) 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#endif /* __CPUIDLE_GOVERNOR_H */ 15