sq_common.h 725 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
/*
 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef __SQ_COMMON_H__
#define __SQ_COMMON_H__

#include <sys/types.h>
11
#include <xlat_tables_v2.h>
12

Sumit Garg's avatar
Sumit Garg committed
13
14
void plat_sq_pwrc_setup(void);

15
16
17
18
void plat_sq_interconnect_init(void);
void plat_sq_interconnect_enter_coherency(void);
void plat_sq_interconnect_exit_coherency(void);

19
20
unsigned int sq_calc_core_pos(u_register_t mpidr);

Sumit Garg's avatar
Sumit Garg committed
21
22
23
24
25
26
void sq_gic_driver_init(void);
void sq_gic_init(void);
void sq_gic_cpuif_enable(void);
void sq_gic_cpuif_disable(void);
void sq_gic_pcpu_init(void);

27
28
29
void sq_mmap_setup(uintptr_t total_base, size_t total_size,
		   const struct mmap_region *mmap);

30
#endif /* __SQ_COMMON_H__ */