DEVICED_POWER_ATTR_UINT64_3_CPU_LOCK
: Takes 3 parameter and controls cpulock.
- int : acquire(1) or release(1) cpulock
- pid_t: pid of requester
- int : timeout of cpulock, only effective when the first
parameter is acquire(1)
DEVICED_POWER_ATTR_INT_CPU_LOCK_COUNT
: Gets cpulock count
Change-Id: I8bc43727dfd8104b35d754865879b9a7ffa58b27
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
#define DEVICED_POWER_ATTR_INT_ADD_DOZE_SOURCE (1ULL << 6)
#define DEVICED_POWER_ATTR_INT_REMOVE_DOZE_SOURCE (1ULL << 7)
#define DEVICED_POWER_ATTR_INT_DOZE_MODE (1ULL << 8)
+#define DEVICED_POWER_ATTR_UINT64_3_CPU_LOCK (1ULL << 9)
+#define DEVICED_POWER_ATTR_INT_CPU_LOCK_COUNT (1ULL << 10)
enum {
DEVICED_POWER_STATE_MIN_INDEX,