1 /* 2 * Copyright (c) 2013-2019, Arm Limited and Contributors. All rights reserved. 3 * Copyright (c) 2020-2022, Xilinx, Inc. All rights reserved. 4 * Copyright (c) 2022-2025, Advanced Micro Devices, Inc. All rights reserved. 5 * 6 * SPDX-License-Identifier: BSD-3-Clause 7 */ 8 9 /* 10 * Contains APU specific macros and macros to be defined depending on 11 * the execution environment. 12 */ 13 14 #ifndef PM_CLIENT_H 15 #define PM_CLIENT_H 16 17 #include "pm_common.h" 18 #include "pm_defs.h" 19 20 /* Functions to be implemented by each PU */ 21 void pm_client_suspend(const struct pm_proc *proc, uint32_t state, uint32_t flag); 22 void pm_client_wakeup(const struct pm_proc *proc); 23 24 #if !defined(PLAT_zynqmp) 25 enum pm_device_node_idx irq_to_pm_node_idx(uint32_t irq); 26 #endif 27 28 /* Global variables to be set in pm_client.c */ 29 extern const struct pm_proc *primary_proc; 30 31 #if defined(PLAT_zynqmp) 32 enum pm_ret_status pm_set_suspend_mode(uint32_t mode); 33 #endif /* PLAT_zynqmp */ 34 35 #endif /* PM_CLIENT_H */ 36