You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
614 B
25 lines
614 B
4 months ago
|
/*
|
||
|
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
*/
|
||
|
|
||
|
#ifndef HISI_IPC_H
|
||
|
#define HISI_IPC_H
|
||
|
|
||
|
enum pm_mode {
|
||
|
PM_ON = 0,
|
||
|
PM_OFF,
|
||
|
};
|
||
|
|
||
|
void hisi_ipc_pm_on_off(unsigned int core, unsigned int cluster,
|
||
|
enum pm_mode mode);
|
||
|
void hisi_ipc_pm_suspend(unsigned int core, unsigned int cluster,
|
||
|
unsigned int affinity_level);
|
||
|
void hisi_ipc_psci_system_off(unsigned int core, unsigned int cluster);
|
||
|
void hisi_ipc_psci_system_reset(unsigned int core, unsigned int cluster,
|
||
|
unsigned int cmd_id);
|
||
|
int hisi_ipc_init(void);
|
||
|
|
||
|
#endif /* HISI_IPC_H */
|