summaryrefstree
path: root/kernel/drivers/soc/qcom/rpmh_master_stat.h
blob: 64c4fd03f308904697eb17b7c5168ea9fa64f289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
 */

#ifndef __QCOM_RPM_STATS_LOG_H__
#define __QCOM_RPM_STATS_LOG_H__

#if IS_ENABLED(CONFIG_QTI_RPM_STATS_LOG)

void msm_rpmh_master_stats_update(void);

#else

static inline void msm_rpmh_master_stats_update(void) {}

#endif

#ifdef CONFIG_DSP_SLEEP_RECOVERY
extern void subsystem_update_sleep_time(char *annotation,
	char *rpmh_master_name, uint64_t accumulated_duration);
extern void subsystem_monitor_sleep_issue(void);
#endif
#endif /* __QCOM_RPM_STATS_LOG_H__ */