/* arch/arm/mach-msm/acpuclock.h1*2* MSM architecture clock driver header3*4* Copyright (C) 2007 Google, Inc.5* Copyright (c) 2007 QUALCOMM Incorporated6* Author: San Mehat <[email protected]>7*8* This software is licensed under the terms of the GNU General Public9* License version 2, as published by the Free Software Foundation, and10* may be copied, distributed, and modified under those terms.11*12* This program is distributed in the hope that it will be useful,13* but WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15* GNU General Public License for more details.16*17*/1819#ifndef __ARCH_ARM_MACH_MSM_ACPUCLOCK_H20#define __ARCH_ARM_MACH_MSM_ACPUCLOCK_H2122int acpuclk_set_rate(unsigned long rate, int for_power_collapse);23unsigned long acpuclk_get_rate(void);24uint32_t acpuclk_get_switch_time(void);25unsigned long acpuclk_wait_for_irq(void);26unsigned long acpuclk_power_collapse(void);27unsigned long acpuclk_get_wfi_rate(void);282930#endif31323334