blob: 165226d287f848391cf9e7c70e8e5cb3f5605273 [file] [log] [blame]
Dan Handley9df48042015-03-19 18:58:55 +00001/*
Soby Mathew200fffd2016-10-21 11:34:59 +01002 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
Dan Handley9df48042015-03-19 18:58:55 +00003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Dan Handley9df48042015-03-19 18:58:55 +00005 */
6
Soby Mathew200fffd2016-10-21 11:34:59 +01007#ifndef __CSS_SCP_H__
8#define __CSS_SCP_H__
Dan Handley9df48042015-03-19 18:58:55 +00009
Soby Mathew200fffd2016-10-21 11:34:59 +010010#include <psci.h>
Dan Handley9df48042015-03-19 18:58:55 +000011
Soby Mathew200fffd2016-10-21 11:34:59 +010012void css_scp_suspend(const psci_power_state_t *target_state);
13void css_scp_off(const psci_power_state_t *target_state);
14void css_scp_on(u_register_t mpidr);
15int css_scp_get_power_state(u_register_t mpidr, unsigned int power_level);
16void __dead2 css_scp_sys_shutdown(void);
17void __dead2 css_scp_sys_reboot(void);
Dan Handley9df48042015-03-19 18:58:55 +000018
Soby Mathew200fffd2016-10-21 11:34:59 +010019#endif /* __CSS_SCP_H__ */