Staging: hv: mousevsc: Cleanup alloc_input_device()
[zen-stable.git] / arch / arm / mach-msm / acpuclock.h
blob415de2eb9a5ee55559e0caadab42680e020b080e
1 /* arch/arm/mach-msm/acpuclock.h
3 * MSM architecture clock driver header
5 * Copyright (C) 2007 Google, Inc.
6 * Copyright (c) 2007 QUALCOMM Incorporated
7 * Author: San Mehat <san@android.com>
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.
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.
20 #ifndef __ARCH_ARM_MACH_MSM_ACPUCLOCK_H
21 #define __ARCH_ARM_MACH_MSM_ACPUCLOCK_H
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);
31 #endif