1399dd09d6
This change provides two APIs to check system and subsystem has entered sleep or not. These can be used to know after kernel resume which subsystem may have blocked AOSD/CXSD/DDR sleep. Change-Id: I19d56c1415116ff82b206b931092ed123e8d4a69 Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
13 lines
350 B
C
13 lines
350 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __SUBSYSTEM_SLEEP_STATS_H__
|
|
#define __SUBSYSTEM_SLEEP_STATS_H__
|
|
|
|
bool has_system_slept(void);
|
|
bool has_subsystem_slept(void);
|
|
void subsystem_sleep_debug_enable(bool enable);
|
|
#endif /*__SUBSYSTEM_SLEEP_STATS_H__ */
|