blob: a3beaa4938b4febcd2308ed83ea19e3eaba5676d [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13
14#ifndef __ARCH_ARM_MACH_MSM_RPM_STATS_H
15#define __ARCH_ARM_MACH_MSM_RPM_STATS_H
16
17#include <linux/types.h>
18
19struct msm_rpmstats_platform_data {
20 phys_addr_t phys_addr_base;
21 u32 phys_size;
22};
Anji Jonnala2a8bd312012-11-01 13:11:42 +053023
24struct msm_rpm_master_stats_platform_data {
25 phys_addr_t phys_addr_base;
26 u32 phys_size;
27 char **masters;
28 /*
29 * RPM maintains PC stats for each master in MSG RAM,
30 * it allocates 256 bytes for this use.
31 * No of masters differs for different targets.
32 * Based on the number of masters, linux rpm stat
33 * driver reads (32 * nomasters) bytes to display
34 * master stats.
35 */
36 u32 nomasters;
37};
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070038#endif