summaryrefstree
path: root/kernel/drivers/devfreq/exynos5422_ppmu.h
blob: d2bcde41eda2dc780ad7e0d446982a93b13fa938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com/
 *
 * EXYNOS5422 - PPMU support
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __DEVFREQ_EXYNOS5422_PPMU_H
#define __DEVFREQ_EXYNOS5422_PPMU_H __FILE__

enum exynos_ppmu_sets {
	PPMU_SET_DDR,
	PPMU_SET_TOP,
};

struct exynos5_ppmu_handle;

struct exynos5_ppmu_handle *exynos5_ppmu_get(void);
void exynos5_ppmu_put(struct exynos5_ppmu_handle *handle);
int exynos5_ppmu_get_busy(struct exynos5_ppmu_handle *handle,
	enum exynos_ppmu_sets filter, unsigned long long *ccnt,
	unsigned long long *pmcnt);
void exynos5_ppmu_trace(void);

#endif /* __DEVFREQ_EXYNOS5422_PPMU_H */