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); |
| 20 | void pm_client_abort_suspend(void); |
| 21 | |
Tejas Patel | 354fe57 | 2018-12-14 00:55:37 -0800 | [diff] [blame] | 22 | /* Global variables to be set in pm_client.c */ |
| 23 | extern const struct pm_proc *primary_proc; |
| 24 | |
| 25 | #endif /* PM_CLIENT_H */ |