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 23int acpuclk_set_rate(unsigned long rate, int for_power_collapse); 24unsigned long acpuclk_get_rate(void); 25uint32_t acpuclk_get_switch_time(void); 26unsigned long acpuclk_wait_for_irq(void); 27unsigned long acpuclk_power_collapse(void); 28unsigned long acpuclk_get_wfi_rate(void); 29 30 31#endif 32