Tejas Patel | 354fe57 | 2018-12-14 00:55:37 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2019, Xilinx, Inc. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | /* |
| 8 | * Contains APU specific macros and macros to be defined depending on |
| 9 | * the execution environment. |
| 10 | */ |
| 11 | |
| 12 | #ifndef PM_CLIENT_H |
| 13 | #define PM_CLIENT_H |
| 14 | |
| 15 | #include "pm_common.h" |
| 16 | #include "pm_defs.h" |
| 17 | |
Tejas Patel | fe0e10a | 2019-12-08 23:29:44 -0800 | [diff] [blame] | 18 | /* Functions to be implemented by each PU */ |
| 19 | void pm_client_suspend(const struct pm_proc *proc, unsigned int state); |
Tejas Patel | 7029dd8 | 2019-02-27 18:44:54 +0530 | [diff] [blame^] | 20 | void pm_client_wakeup(const struct pm_proc *proc); |
Tejas Patel | fe0e10a | 2019-12-08 23:29:44 -0800 | [diff] [blame] | 21 | void pm_client_abort_suspend(void); |
| 22 | |
Tejas Patel | 354fe57 | 2018-12-14 00:55:37 -0800 | [diff] [blame] | 23 | /* Global variables to be set in pm_client.c */ |
| 24 | extern const struct pm_proc *primary_proc; |
| 25 | |
| 26 | #endif /* PM_CLIENT_H */ |