diff options
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/achware.h | 4 | ||||
-rw-r--r-- | include/acpi/acpi_bus.h | 2 | ||||
-rw-r--r-- | include/acpi/acpixf.h | 2 | ||||
-rw-r--r-- | include/acpi/processor.h | 5 |
4 files changed, 10 insertions, 3 deletions
diff --git a/include/acpi/achware.h b/include/acpi/achware.h index 9df275cf7bc1..4053df943453 100644 --- a/include/acpi/achware.h +++ b/include/acpi/achware.h | |||
@@ -71,9 +71,9 @@ u32 acpi_hw_get_mode(void); | |||
71 | struct acpi_bit_register_info *acpi_hw_get_bit_register_info(u32 register_id); | 71 | struct acpi_bit_register_info *acpi_hw_get_bit_register_info(u32 register_id); |
72 | 72 | ||
73 | acpi_status | 73 | acpi_status |
74 | acpi_hw_register_read(u8 use_lock, u32 register_id, u32 * return_value); | 74 | acpi_hw_register_read(u32 register_id, u32 * return_value); |
75 | 75 | ||
76 | acpi_status acpi_hw_register_write(u8 use_lock, u32 register_id, u32 value); | 76 | acpi_status acpi_hw_register_write(u32 register_id, u32 value); |
77 | 77 | ||
78 | acpi_status | 78 | acpi_status |
79 | acpi_hw_low_level_read(u32 width, | 79 | acpi_hw_low_level_read(u32 width, |
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 86aea44ce6d4..7b74b60a68a4 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -264,7 +264,6 @@ struct acpi_device_wakeup_flags { | |||
264 | 264 | ||
265 | struct acpi_device_wakeup_state { | 265 | struct acpi_device_wakeup_state { |
266 | u8 enabled:1; | 266 | u8 enabled:1; |
267 | u8 active:1; | ||
268 | }; | 267 | }; |
269 | 268 | ||
270 | struct acpi_device_wakeup { | 269 | struct acpi_device_wakeup { |
@@ -333,6 +332,7 @@ int acpi_bus_get_power(acpi_handle handle, int *state); | |||
333 | int acpi_bus_set_power(acpi_handle handle, int state); | 332 | int acpi_bus_set_power(acpi_handle handle, int state); |
334 | #ifdef CONFIG_ACPI_PROC_EVENT | 333 | #ifdef CONFIG_ACPI_PROC_EVENT |
335 | int acpi_bus_generate_proc_event(struct acpi_device *device, u8 type, int data); | 334 | int acpi_bus_generate_proc_event(struct acpi_device *device, u8 type, int data); |
335 | int acpi_bus_generate_proc_event4(const char *class, const char *bid, u8 type, int data); | ||
336 | int acpi_bus_receive_event(struct acpi_bus_event *event); | 336 | int acpi_bus_receive_event(struct acpi_bus_event *event); |
337 | #else | 337 | #else |
338 | static inline int acpi_bus_generate_proc_event(struct acpi_device *device, u8 type, int data) | 338 | static inline int acpi_bus_generate_proc_event(struct acpi_device *device, u8 type, int data) |
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 3d7ab9e0c9fe..9512f0456ad1 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -314,6 +314,8 @@ acpi_resource_to_address64(struct acpi_resource *resource, | |||
314 | */ | 314 | */ |
315 | acpi_status acpi_get_register(u32 register_id, u32 * return_value); | 315 | acpi_status acpi_get_register(u32 register_id, u32 * return_value); |
316 | 316 | ||
317 | acpi_status acpi_get_register_unlocked(u32 register_id, u32 *return_value); | ||
318 | |||
317 | acpi_status acpi_set_register(u32 register_id, u32 value); | 319 | acpi_status acpi_set_register(u32 register_id, u32 value); |
318 | 320 | ||
319 | acpi_status | 321 | acpi_status |
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 99934a999e66..26d79f6db8a0 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | #include <linux/cpu.h> | 5 | #include <linux/cpu.h> |
6 | #include <linux/cpuidle.h> | ||
6 | 7 | ||
7 | #include <asm/acpi.h> | 8 | #include <asm/acpi.h> |
8 | 9 | ||
@@ -75,7 +76,9 @@ struct acpi_processor_cx { | |||
75 | }; | 76 | }; |
76 | 77 | ||
77 | struct acpi_processor_power { | 78 | struct acpi_processor_power { |
79 | struct cpuidle_device dev; | ||
78 | struct acpi_processor_cx *state; | 80 | struct acpi_processor_cx *state; |
81 | struct acpi_processor_cx *bm_state; | ||
79 | unsigned long bm_check_timestamp; | 82 | unsigned long bm_check_timestamp; |
80 | u32 default_state; | 83 | u32 default_state; |
81 | u32 bm_activity; | 84 | u32 bm_activity; |
@@ -199,6 +202,7 @@ struct acpi_processor_flags { | |||
199 | u8 bm_check:1; | 202 | u8 bm_check:1; |
200 | u8 has_cst:1; | 203 | u8 has_cst:1; |
201 | u8 power_setup_done:1; | 204 | u8 power_setup_done:1; |
205 | u8 bm_rld_set:1; | ||
202 | }; | 206 | }; |
203 | 207 | ||
204 | struct acpi_processor { | 208 | struct acpi_processor { |
@@ -322,6 +326,7 @@ int acpi_processor_power_exit(struct acpi_processor *pr, | |||
322 | struct acpi_device *device); | 326 | struct acpi_device *device); |
323 | int acpi_processor_suspend(struct acpi_device * device, pm_message_t state); | 327 | int acpi_processor_suspend(struct acpi_device * device, pm_message_t state); |
324 | int acpi_processor_resume(struct acpi_device * device); | 328 | int acpi_processor_resume(struct acpi_device * device); |
329 | extern struct cpuidle_driver acpi_idle_driver; | ||
325 | 330 | ||
326 | /* in processor_thermal.c */ | 331 | /* in processor_thermal.c */ |
327 | int acpi_processor_get_limit_info(struct acpi_processor *pr); | 332 | int acpi_processor_get_limit_info(struct acpi_processor *pr); |