Priyanka Mathur | 49c6080 | 2012-12-13 12:53:58 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2010, 2013, The Linux Foundation. All rights reserved. |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 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_LOG_H |
| 15 | #define __ARCH_ARM_MACH_MSM_RPM_LOG_H |
| 16 | |
| 17 | #include <linux/types.h> |
| 18 | |
| 19 | enum { |
| 20 | MSM_RPM_LOG_PAGE_INDICES, |
| 21 | MSM_RPM_LOG_PAGE_BUFFER, |
| 22 | MSM_RPM_LOG_PAGE_COUNT |
| 23 | }; |
| 24 | |
| 25 | struct msm_rpm_log_platform_data { |
| 26 | u32 reg_offsets[MSM_RPM_LOG_PAGE_COUNT]; |
| 27 | u32 log_len; |
| 28 | u32 log_len_mask; |
| 29 | phys_addr_t phys_addr_base; |
| 30 | u32 phys_size; |
Priyanka Mathur | 49c6080 | 2012-12-13 12:53:58 -0800 | [diff] [blame] | 31 | u32 version; |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 32 | void __iomem *reg_base; |
| 33 | }; |
| 34 | |
| 35 | #endif /* __ARCH_ARM_MACH_MSM_RPM_LOG_H */ |