/* * Copyright (C) 2022 Huawei Technologies Co., Ltd. * Decription: suspend or freeze func declaration for tzdriver. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef TZ_PM_H #define TZ_PM_H #include #define TSP_S4_SUSPEND 0xB200000C #define TSP_S4_RESUME 0xB200000D #define TSP_S4_ENCRYPT_AND_COPY 0xB2000010 #define TSP_S4_DECRYPT_AND_COPY 0xB2000011 int tc_s4_pm_suspend(struct device *dev); int tc_s4_pm_resume(struct device *dev); #endif