1 /* 2 * Copyright (C) 2022 Huawei Technologies Co., Ltd. 3 * Decription: suspend or freeze func declaration for tzdriver. 4 * 5 * This software is licensed under the terms of the GNU General Public 6 * License version 2, as published by the Free Software Foundation, and 7 * may be copied, distributed, and modified under those terms. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 */ 14 15 #ifndef TZ_PM_H 16 #define TZ_PM_H 17 #include <linux/platform_device.h> 18 19 #define TSP_S4_SUSPEND 0xB200000C 20 #define TSP_S4_RESUME 0xB200000D 21 #define TSP_S4_ENCRYPT_AND_COPY 0xB2000010 22 #define TSP_S4_DECRYPT_AND_COPY 0xB2000011 23 24 int tc_s4_pm_suspend(struct device *dev); 25 26 int tc_s4_pm_resume(struct device *dev); 27 28 #endif 29