summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/qcom/core_ctl.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/soc/qcom/core_ctl.h b/include/soc/qcom/core_ctl.h
new file mode 100644
index 000000000000..01f55e53cd47
--- /dev/null
+++ b/include/soc/qcom/core_ctl.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2014, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __SOC_QCOM_CORE_CTL_H
+#define __SOC_QCOM_CORE_CTL_H
+
+extern void core_ctl_block_hotplug(void);
+extern void core_ctl_unblock_hotplug(void);
+extern s64 core_ctl_get_time(void);
+extern struct cpufreq_policy *core_ctl_get_policy(int cpu);
+extern void core_ctl_put_policy(struct cpufreq_policy *policy);
+extern struct device *core_ctl_find_cpu_device(unsigned cpu);
+extern int core_ctl_online_core(unsigned int cpu);
+
+#endif