summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2004-12-21 12:51:57 -0500
committerLen Brown <len.brown@intel.com>2004-12-21 12:51:57 -0500
commitcf3d0acd6492396c6fccdd8ea62dc81d9aa1071c (patch)
tree62e06b39b3cec4d1599ca920f0271f3a9781e453 /include
parent2571db783c957aa5dba426048aa3c0fcb24c1297 (diff)
[ACPI] Split the ACPI Processor T-States handling into a different file
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/acpi/processor.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index 1978e37703c8..6e3465d3b2cc 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -134,6 +134,16 @@ struct acpi_processor {
struct acpi_processor_limit limit;
};
+struct acpi_processor_errata {
+ u8 smp;
+ struct {
+ u8 throttle:1;
+ u8 fdma:1;
+ u8 reserved:6;
+ u32 bmisx;
+ } piix4;
+};
+
extern int acpi_processor_register_performance (
struct acpi_processor_performance * performance,
unsigned int cpu);
@@ -149,6 +159,7 @@ int acpi_processor_notify_smm(struct module *calling_module);
/* for communication between multiple parts of the processor kernel module */
extern struct acpi_processor *processors[NR_CPUS];
+extern struct acpi_processor_errata errata;
/* in processor_perflib.c */
#ifdef CONFIG_CPU_FREQ
@@ -169,4 +180,15 @@ static inline int acpi_processor_ppc_has_changed(struct acpi_processor *pr) {
}
#endif /* CONFIG_CPU_FREQ */
+/* in processor_throttling.c */
+int acpi_processor_get_throttling_info (struct acpi_processor *pr);
+int acpi_processor_set_throttling (struct acpi_processor *pr, int state);
+int acpi_processor_throttling_open_fs(struct inode *inode, struct file *file);
+ssize_t acpi_processor_write_throttling (
+ struct file *file,
+ const char __user *buffer,
+ size_t count,
+ loff_t *data);
+extern struct file_operations acpi_processor_throttling_fops;
+
#endif