pm_client.h 752 Bytes
Newer Older
1
2
3
/*
 * Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved.
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
7
8
9
10
11
12
13
14
15
 */

/*
 * Contains APU specific macros and macros to be defined depending on
 * the execution environment.
 */

#ifndef _PM_CLIENT_H_
#define _PM_CLIENT_H_

#include "pm_common.h"
16
#include "pm_defs.h"
17
18

/* Functions to be implemented by each PU */
19
void pm_client_suspend(const struct pm_proc *proc, unsigned int state);
20
21
22
void pm_client_abort_suspend(void);
void pm_client_wakeup(const struct pm_proc *proc);
enum pm_ret_status set_ocm_retention(void);
23
enum pm_ret_status pm_set_suspend_mode(uint32_t mode);
24
25
26
27
28

/* Global variables to be set in pm_client.c */
extern const struct pm_proc *primary_proc;

#endif /* _PM_CLIENT_H_ */