diff options
author | Len Brown <len.brown@intel.com> | 2005-07-12 17:21:56 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-12 17:21:56 -0400 |
commit | 5028770a42e7bc4d15791a44c28f0ad539323807 (patch) | |
tree | 74800e35129775413c13ce7caf036ca19e3ce56c /include/acpi/achware.h | |
parent | 9f02d6b7b43d46a74dd385f06090104ecd0fb807 (diff) | |
parent | d8683a0cb5d09cb7f19feefa708424a84577e68f (diff) |
[ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc...
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/achware.h')
-rw-r--r-- | include/acpi/achware.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/include/acpi/achware.h b/include/acpi/achware.h index 28ad1398c159..9d63641b8e7d 100644 --- a/include/acpi/achware.h +++ b/include/acpi/achware.h | |||
@@ -46,22 +46,26 @@ | |||
46 | 46 | ||
47 | 47 | ||
48 | /* PM Timer ticks per second (HZ) */ | 48 | /* PM Timer ticks per second (HZ) */ |
49 | |||
49 | #define PM_TIMER_FREQUENCY 3579545 | 50 | #define PM_TIMER_FREQUENCY 3579545 |
50 | 51 | ||
52 | /* Values for the _SST reserved method */ | ||
51 | 53 | ||
52 | /* Prototypes */ | 54 | #define ACPI_SST_INDICATOR_OFF 0 |
55 | #define ACPI_SST_WORKING 1 | ||
56 | #define ACPI_SST_WAKING 2 | ||
57 | #define ACPI_SST_SLEEPING 3 | ||
58 | #define ACPI_SST_SLEEP_CONTEXT 4 | ||
53 | 59 | ||
54 | 60 | ||
55 | acpi_status | 61 | /* Prototypes */ |
56 | acpi_hw_initialize ( | ||
57 | void); | ||
58 | 62 | ||
59 | acpi_status | ||
60 | acpi_hw_shutdown ( | ||
61 | void); | ||
62 | 63 | ||
64 | /* | ||
65 | * hwacpi - high level functions | ||
66 | */ | ||
63 | acpi_status | 67 | acpi_status |
64 | acpi_hw_initialize_system_info ( | 68 | acpi_hw_initialize ( |
65 | void); | 69 | void); |
66 | 70 | ||
67 | acpi_status | 71 | acpi_status |
@@ -72,12 +76,10 @@ u32 | |||
72 | acpi_hw_get_mode ( | 76 | acpi_hw_get_mode ( |
73 | void); | 77 | void); |
74 | 78 | ||
75 | u32 | ||
76 | acpi_hw_get_mode_capabilities ( | ||
77 | void); | ||
78 | |||
79 | /* Register I/O Prototypes */ | ||
80 | 79 | ||
80 | /* | ||
81 | * hwregs - ACPI Register I/O | ||
82 | */ | ||
81 | struct acpi_bit_register_info * | 83 | struct acpi_bit_register_info * |
82 | acpi_hw_get_bit_register_info ( | 84 | acpi_hw_get_bit_register_info ( |
83 | u32 register_id); | 85 | u32 register_id); |
@@ -111,8 +113,9 @@ acpi_hw_clear_acpi_status ( | |||
111 | u32 flags); | 113 | u32 flags); |
112 | 114 | ||
113 | 115 | ||
114 | /* GPE support */ | 116 | /* |
115 | 117 | * hwgpe - GPE support | |
118 | */ | ||
116 | acpi_status | 119 | acpi_status |
117 | acpi_hw_write_gpe_enable_reg ( | 120 | acpi_hw_write_gpe_enable_reg ( |
118 | struct acpi_gpe_event_info *gpe_event_info); | 121 | struct acpi_gpe_event_info *gpe_event_info); |
@@ -131,12 +134,12 @@ acpi_hw_clear_gpe_block ( | |||
131 | struct acpi_gpe_xrupt_info *gpe_xrupt_info, | 134 | struct acpi_gpe_xrupt_info *gpe_xrupt_info, |
132 | struct acpi_gpe_block_info *gpe_block); | 135 | struct acpi_gpe_block_info *gpe_block); |
133 | 136 | ||
134 | #ifdef ACPI_FUTURE_USAGE | 137 | #ifdef ACPI_FUTURE_USAGE |
135 | acpi_status | 138 | acpi_status |
136 | acpi_hw_get_gpe_status ( | 139 | acpi_hw_get_gpe_status ( |
137 | struct acpi_gpe_event_info *gpe_event_info, | 140 | struct acpi_gpe_event_info *gpe_event_info, |
138 | acpi_event_status *event_status); | 141 | acpi_event_status *event_status); |
139 | #endif | 142 | #endif /* ACPI_FUTURE_USAGE */ |
140 | 143 | ||
141 | acpi_status | 144 | acpi_status |
142 | acpi_hw_disable_all_gpes ( | 145 | acpi_hw_disable_all_gpes ( |
@@ -155,15 +158,11 @@ acpi_hw_enable_runtime_gpe_block ( | |||
155 | struct acpi_gpe_xrupt_info *gpe_xrupt_info, | 158 | struct acpi_gpe_xrupt_info *gpe_xrupt_info, |
156 | struct acpi_gpe_block_info *gpe_block); | 159 | struct acpi_gpe_block_info *gpe_block); |
157 | 160 | ||
158 | acpi_status | ||
159 | acpi_hw_enable_wakeup_gpe_block ( | ||
160 | struct acpi_gpe_xrupt_info *gpe_xrupt_info, | ||
161 | struct acpi_gpe_block_info *gpe_block); | ||
162 | |||
163 | |||
164 | /* ACPI Timer prototypes */ | ||
165 | 161 | ||
166 | #ifdef ACPI_FUTURE_USAGE | 162 | #ifdef ACPI_FUTURE_USAGE |
163 | /* | ||
164 | * hwtimer - ACPI Timer prototypes | ||
165 | */ | ||
167 | acpi_status | 166 | acpi_status |
168 | acpi_get_timer_resolution ( | 167 | acpi_get_timer_resolution ( |
169 | u32 *resolution); | 168 | u32 *resolution); |
@@ -177,6 +176,7 @@ acpi_get_timer_duration ( | |||
177 | u32 start_ticks, | 176 | u32 start_ticks, |
178 | u32 end_ticks, | 177 | u32 end_ticks, |
179 | u32 *time_elapsed); | 178 | u32 *time_elapsed); |
180 | #endif /* ACPI_FUTURE_USAGE */ | 179 | #endif /* ACPI_FUTURE_USAGE */ |
180 | |||
181 | 181 | ||
182 | #endif /* __ACHWARE_H__ */ | 182 | #endif /* __ACHWARE_H__ */ |