RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-msm / acpuclock.h
blobe7342661a2f3998f14eef55bde524ff11add530c
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