blob: 91f135c060c29333f81a0b6e50b300a2113702b2 [file] [log] [blame]
Tejas Patel354fe572018-12-14 00:55:37 -08001/*
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 Patelfe0e10a2019-12-08 23:29:44 -080018/* Functions to be implemented by each PU */
19void pm_client_suspend(const struct pm_proc *proc, unsigned int state);
Tejas Patel7029dd82019-02-27 18:44:54 +053020void pm_client_wakeup(const struct pm_proc *proc);
Tejas Patelfe0e10a2019-12-08 23:29:44 -080021void pm_client_abort_suspend(void);
22
Tejas Patel354fe572018-12-14 00:55:37 -080023/* Global variables to be set in pm_client.c */
24extern const struct pm_proc *primary_proc;
25
26#endif /* PM_CLIENT_H */