blob: 30ce59d3bbdf6d14b93cc48aaecc65141084e5f6 [file] [log] [blame]
Dimitris Papastamos525c37a2017-11-13 09:49:45 +00001/*
Alexei Fedorov7e6306b2020-07-14 08:17:56 +01002 * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved.
Dimitris Papastamos525c37a2017-11-13 09:49:45 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz033b4bb2018-10-25 16:52:26 +01007#ifndef AMU_PRIVATE_H
8#define AMU_PRIVATE_H
Dimitris Papastamos525c37a2017-11-13 09:49:45 +00009
10#include <stdint.h>
11
Alexei Fedorov7e6306b2020-07-14 08:17:56 +010012uint64_t amu_group0_cnt_read_internal(unsigned int idx);
13void amu_group0_cnt_write_internal(unsigned int idx, uint64_t val);
Dimitris Papastamos525c37a2017-11-13 09:49:45 +000014
Alexei Fedorov7e6306b2020-07-14 08:17:56 +010015uint64_t amu_group1_cnt_read_internal(unsigned int idx);
16void amu_group1_cnt_write_internal(unsigned int idx, uint64_t val);
17void amu_group1_set_evtype_internal(unsigned int idx, unsigned int val);
Dimitris Papastamos525c37a2017-11-13 09:49:45 +000018
Antonio Nino Diaz033b4bb2018-10-25 16:52:26 +010019#endif /* AMU_PRIVATE_H */