kernel-brax3-ubuntu-touch/drivers/misc/mediatek/lpm/modules/debug/mt6985/lpm_logger.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

30 lines
603 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2021 MediaTek Inc.
*/
#ifndef _LPM_LOGGER_H_
#define _LPM_LOGGER_H_
struct spm_req_sta_item {
char name[16];
unsigned int req_sta_num;
unsigned int mask;
unsigned int on;
};
struct spm_req_sta_list {
struct spm_req_sta_item *spm_req;
unsigned int spm_req_num;
unsigned int lp_scenario_sta;
unsigned int is_blocked;
struct rtc_time *suspend_tm;
};
int dbg_ops_register(void);
struct spm_req_sta_list *spm_get_req_sta_list(void);
char *get_spm_scenario_str(unsigned int index);
extern unsigned int is_lp_blocked_threshold;
#endif