Haojian Zhuang | 3846f14 | 2017-05-24 08:49:26 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef HISI_PWRC_H |
| 8 | #define HISI_PWRC_H |
Haojian Zhuang | 3846f14 | 2017-05-24 08:49:26 +0800 | [diff] [blame] | 9 | |
| 10 | #ifndef __ASSEMBLY__ |
| 11 | |
| 12 | void hisi_pwrc_set_cluster_wfi(unsigned int id); |
| 13 | void hisi_pwrc_set_core_bx_addr(unsigned int core, |
| 14 | unsigned int cluster, |
| 15 | uintptr_t entry_point); |
Leo Yan | f471c42 | 2017-09-07 14:56:32 +0800 | [diff] [blame] | 16 | void hisi_pwrc_enable_debug(unsigned int core, |
| 17 | unsigned int cluster); |
Haojian Zhuang | 3846f14 | 2017-05-24 08:49:26 +0800 | [diff] [blame] | 18 | int hisi_pwrc_setup(void); |
| 19 | |
| 20 | #endif /*__ASSEMBLY__*/ |
| 21 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 22 | #endif /* HISI_PWRC_H */ |