diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
| commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
| tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /arch/arm/mach-msm/acpuclock.h | |
| parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) | |
Diffstat (limited to 'arch/arm/mach-msm/acpuclock.h')
| -rw-r--r-- | arch/arm/mach-msm/acpuclock.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/acpuclock.h b/arch/arm/mach-msm/acpuclock.h new file mode 100644 index 00000000000..415de2eb9a5 --- /dev/null +++ b/arch/arm/mach-msm/acpuclock.h | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | /* arch/arm/mach-msm/acpuclock.h | ||
| 2 | * | ||
| 3 | * MSM architecture clock driver header | ||
| 4 | * | ||
| 5 | * Copyright (C) 2007 Google, Inc. | ||
| 6 | * Copyright (c) 2007 QUALCOMM Incorporated | ||
| 7 | * Author: San Mehat <san@android.com> | ||
| 8 | * | ||
| 9 | * This software is licensed under the terms of the GNU General Public | ||
| 10 | * License version 2, as published by the Free Software Foundation, and | ||
| 11 | * may be copied, distributed, and modified under those terms. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | */ | ||
| 19 | |||
| 20 | #ifndef __ARCH_ARM_MACH_MSM_ACPUCLOCK_H | ||
| 21 | #define __ARCH_ARM_MACH_MSM_ACPUCLOCK_H | ||
| 22 | |||
| 23 | int acpuclk_set_rate(unsigned long rate, int for_power_collapse); | ||
| 24 | unsigned long acpuclk_get_rate(void); | ||
| 25 | uint32_t acpuclk_get_switch_time(void); | ||
| 26 | unsigned long acpuclk_wait_for_irq(void); | ||
| 27 | unsigned long acpuclk_power_collapse(void); | ||
| 28 | unsigned long acpuclk_get_wfi_rate(void); | ||
| 29 | |||
| 30 | |||
| 31 | #endif | ||
| 32 | |||
