hisi_pwrc.h 500 Bytes
Newer Older
Haojian Zhuang's avatar
Haojian Zhuang committed
1
2
3
4
5
6
/*
 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
8
#ifndef HISI_PWRC_H
#define HISI_PWRC_H
Haojian Zhuang's avatar
Haojian Zhuang committed
9

10
#ifndef __ASSEMBLER__
Haojian Zhuang's avatar
Haojian Zhuang committed
11
12
13
14
15

void hisi_pwrc_set_cluster_wfi(unsigned int id);
void hisi_pwrc_set_core_bx_addr(unsigned int core,
				unsigned int cluster,
				uintptr_t entry_point);
Leo Yan's avatar
Leo Yan committed
16
17
void hisi_pwrc_enable_debug(unsigned int core,
			    unsigned int cluster);
Haojian Zhuang's avatar
Haojian Zhuang committed
18
19
int hisi_pwrc_setup(void);

20
#endif /*__ASSEMBLER__*/
Haojian Zhuang's avatar
Haojian Zhuang committed
21

22
#endif /* HISI_PWRC_H */