diff options
-rw-r--r-- | drivers/acpi/acpica/evevent.c | 12 | ||||
-rw-r--r-- | drivers/acpi/acpica/evmisc.c | 4 | ||||
-rw-r--r-- | drivers/acpi/acpica/evxfevnt.c | 24 | ||||
-rw-r--r-- | drivers/acpi/acpica/hwacpi.c | 2 | ||||
-rw-r--r-- | drivers/acpi/acpica/hwsleep.c | 15 | ||||
-rw-r--r-- | drivers/acpi/acpica/hwxface.c | 16 | ||||
-rw-r--r-- | drivers/acpi/processor_idle.c | 10 | ||||
-rw-r--r-- | drivers/acpi/sleep.c | 2 | ||||
-rw-r--r-- | include/acpi/acpixf.h | 4 |
9 files changed, 45 insertions, 44 deletions
diff --git a/drivers/acpi/acpica/evevent.c b/drivers/acpi/acpica/evevent.c index 803edd9e3f6a..246f8775ec13 100644 --- a/drivers/acpi/acpica/evevent.c +++ b/drivers/acpi/acpica/evevent.c | |||
@@ -204,8 +204,8 @@ static acpi_status acpi_ev_fixed_event_initialize(void) | |||
204 | 204 | ||
205 | if (acpi_gbl_fixed_event_info[i].enable_register_id != 0xFF) { | 205 | if (acpi_gbl_fixed_event_info[i].enable_register_id != 0xFF) { |
206 | status = | 206 | status = |
207 | acpi_set_register(acpi_gbl_fixed_event_info[i]. | 207 | acpi_write_bit_register(acpi_gbl_fixed_event_info |
208 | enable_register_id, 0); | 208 | [i].enable_register_id, 0); |
209 | if (ACPI_FAILURE(status)) { | 209 | if (ACPI_FAILURE(status)) { |
210 | return (status); | 210 | return (status); |
211 | } | 211 | } |
@@ -288,16 +288,16 @@ static u32 acpi_ev_fixed_event_dispatch(u32 event) | |||
288 | 288 | ||
289 | /* Clear the status bit */ | 289 | /* Clear the status bit */ |
290 | 290 | ||
291 | (void)acpi_set_register(acpi_gbl_fixed_event_info[event]. | 291 | (void)acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. |
292 | status_register_id, 1); | 292 | status_register_id, 1); |
293 | 293 | ||
294 | /* | 294 | /* |
295 | * Make sure we've got a handler. If not, report an error. The event is | 295 | * Make sure we've got a handler. If not, report an error. The event is |
296 | * disabled to prevent further interrupts. | 296 | * disabled to prevent further interrupts. |
297 | */ | 297 | */ |
298 | if (NULL == acpi_gbl_fixed_event_handlers[event].handler) { | 298 | if (NULL == acpi_gbl_fixed_event_handlers[event].handler) { |
299 | (void)acpi_set_register(acpi_gbl_fixed_event_info[event]. | 299 | (void)acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. |
300 | enable_register_id, 0); | 300 | enable_register_id, 0); |
301 | 301 | ||
302 | ACPI_ERROR((AE_INFO, | 302 | ACPI_ERROR((AE_INFO, |
303 | "No installed handler for fixed event [%08X]", | 303 | "No installed handler for fixed event [%08X]", |
diff --git a/drivers/acpi/acpica/evmisc.c b/drivers/acpi/acpica/evmisc.c index 5f893057bcc6..0e9e12b2f2bb 100644 --- a/drivers/acpi/acpica/evmisc.c +++ b/drivers/acpi/acpica/evmisc.c | |||
@@ -534,8 +534,8 @@ acpi_status acpi_ev_release_global_lock(void) | |||
534 | */ | 534 | */ |
535 | if (pending) { | 535 | if (pending) { |
536 | status = | 536 | status = |
537 | acpi_set_register(ACPI_BITREG_GLOBAL_LOCK_RELEASE, | 537 | acpi_write_bit_register |
538 | 1); | 538 | (ACPI_BITREG_GLOBAL_LOCK_RELEASE, 1); |
539 | } | 539 | } |
540 | 540 | ||
541 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, | 541 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, |
diff --git a/drivers/acpi/acpica/evxfevnt.c b/drivers/acpi/acpica/evxfevnt.c index 35485e4b60a6..484c9793ca06 100644 --- a/drivers/acpi/acpica/evxfevnt.c +++ b/drivers/acpi/acpica/evxfevnt.c | |||
@@ -172,8 +172,8 @@ acpi_status acpi_enable_event(u32 event, u32 flags) | |||
172 | * register bit) | 172 | * register bit) |
173 | */ | 173 | */ |
174 | status = | 174 | status = |
175 | acpi_set_register(acpi_gbl_fixed_event_info[event]. | 175 | acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. |
176 | enable_register_id, 1); | 176 | enable_register_id, 1); |
177 | if (ACPI_FAILURE(status)) { | 177 | if (ACPI_FAILURE(status)) { |
178 | return_ACPI_STATUS(status); | 178 | return_ACPI_STATUS(status); |
179 | } | 179 | } |
@@ -181,8 +181,8 @@ acpi_status acpi_enable_event(u32 event, u32 flags) | |||
181 | /* Make sure that the hardware responded */ | 181 | /* Make sure that the hardware responded */ |
182 | 182 | ||
183 | status = | 183 | status = |
184 | acpi_get_register(acpi_gbl_fixed_event_info[event]. | 184 | acpi_read_bit_register(acpi_gbl_fixed_event_info[event]. |
185 | enable_register_id, &value); | 185 | enable_register_id, &value); |
186 | if (ACPI_FAILURE(status)) { | 186 | if (ACPI_FAILURE(status)) { |
187 | return_ACPI_STATUS(status); | 187 | return_ACPI_STATUS(status); |
188 | } | 188 | } |
@@ -354,15 +354,15 @@ acpi_status acpi_disable_event(u32 event, u32 flags) | |||
354 | * register bit) | 354 | * register bit) |
355 | */ | 355 | */ |
356 | status = | 356 | status = |
357 | acpi_set_register(acpi_gbl_fixed_event_info[event]. | 357 | acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. |
358 | enable_register_id, 0); | 358 | enable_register_id, 0); |
359 | if (ACPI_FAILURE(status)) { | 359 | if (ACPI_FAILURE(status)) { |
360 | return_ACPI_STATUS(status); | 360 | return_ACPI_STATUS(status); |
361 | } | 361 | } |
362 | 362 | ||
363 | status = | 363 | status = |
364 | acpi_get_register(acpi_gbl_fixed_event_info[event]. | 364 | acpi_read_bit_register(acpi_gbl_fixed_event_info[event]. |
365 | enable_register_id, &value); | 365 | enable_register_id, &value); |
366 | if (ACPI_FAILURE(status)) { | 366 | if (ACPI_FAILURE(status)) { |
367 | return_ACPI_STATUS(status); | 367 | return_ACPI_STATUS(status); |
368 | } | 368 | } |
@@ -407,8 +407,8 @@ acpi_status acpi_clear_event(u32 event) | |||
407 | * register bit) | 407 | * register bit) |
408 | */ | 408 | */ |
409 | status = | 409 | status = |
410 | acpi_set_register(acpi_gbl_fixed_event_info[event]. | 410 | acpi_write_bit_register(acpi_gbl_fixed_event_info[event]. |
411 | status_register_id, 1); | 411 | status_register_id, 1); |
412 | 412 | ||
413 | return_ACPI_STATUS(status); | 413 | return_ACPI_STATUS(status); |
414 | } | 414 | } |
@@ -495,7 +495,7 @@ acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status) | |||
495 | /* Get the status of the requested fixed event */ | 495 | /* Get the status of the requested fixed event */ |
496 | 496 | ||
497 | status = | 497 | status = |
498 | acpi_get_register(acpi_gbl_fixed_event_info[event]. | 498 | acpi_read_bit_register(acpi_gbl_fixed_event_info[event]. |
499 | enable_register_id, &value); | 499 | enable_register_id, &value); |
500 | if (ACPI_FAILURE(status)) | 500 | if (ACPI_FAILURE(status)) |
501 | return_ACPI_STATUS(status); | 501 | return_ACPI_STATUS(status); |
@@ -503,7 +503,7 @@ acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status) | |||
503 | *event_status = value; | 503 | *event_status = value; |
504 | 504 | ||
505 | status = | 505 | status = |
506 | acpi_get_register(acpi_gbl_fixed_event_info[event]. | 506 | acpi_read_bit_register(acpi_gbl_fixed_event_info[event]. |
507 | status_register_id, &value); | 507 | status_register_id, &value); |
508 | if (ACPI_FAILURE(status)) | 508 | if (ACPI_FAILURE(status)) |
509 | return_ACPI_STATUS(status); | 509 | return_ACPI_STATUS(status); |
diff --git a/drivers/acpi/acpica/hwacpi.c b/drivers/acpi/acpica/hwacpi.c index a9d4fea4167f..8902db8c670f 100644 --- a/drivers/acpi/acpica/hwacpi.c +++ b/drivers/acpi/acpica/hwacpi.c | |||
@@ -172,7 +172,7 @@ u32 acpi_hw_get_mode(void) | |||
172 | return_UINT32(ACPI_SYS_MODE_ACPI); | 172 | return_UINT32(ACPI_SYS_MODE_ACPI); |
173 | } | 173 | } |
174 | 174 | ||
175 | status = acpi_get_register(ACPI_BITREG_SCI_ENABLE, &value); | 175 | status = acpi_read_bit_register(ACPI_BITREG_SCI_ENABLE, &value); |
176 | if (ACPI_FAILURE(status)) { | 176 | if (ACPI_FAILURE(status)) { |
177 | return_UINT32(ACPI_SYS_MODE_LEGACY); | 177 | return_UINT32(ACPI_SYS_MODE_LEGACY); |
178 | } | 178 | } |
diff --git a/drivers/acpi/acpica/hwsleep.c b/drivers/acpi/acpica/hwsleep.c index 677ccb6bceea..78d62b8a5c31 100644 --- a/drivers/acpi/acpica/hwsleep.c +++ b/drivers/acpi/acpica/hwsleep.c | |||
@@ -250,7 +250,7 @@ acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state) | |||
250 | 250 | ||
251 | /* Clear wake status */ | 251 | /* Clear wake status */ |
252 | 252 | ||
253 | status = acpi_set_register(ACPI_BITREG_WAKE_STATUS, 1); | 253 | status = acpi_write_bit_register(ACPI_BITREG_WAKE_STATUS, 1); |
254 | if (ACPI_FAILURE(status)) { | 254 | if (ACPI_FAILURE(status)) { |
255 | return_ACPI_STATUS(status); | 255 | return_ACPI_STATUS(status); |
256 | } | 256 | } |
@@ -365,7 +365,7 @@ acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state) | |||
365 | /* Wait until we enter sleep state */ | 365 | /* Wait until we enter sleep state */ |
366 | 366 | ||
367 | do { | 367 | do { |
368 | status = acpi_get_register(ACPI_BITREG_WAKE_STATUS, | 368 | status = acpi_read_bit_register(ACPI_BITREG_WAKE_STATUS, |
369 | &in_value); | 369 | &in_value); |
370 | if (ACPI_FAILURE(status)) { | 370 | if (ACPI_FAILURE(status)) { |
371 | return_ACPI_STATUS(status); | 371 | return_ACPI_STATUS(status); |
@@ -399,7 +399,7 @@ acpi_status asmlinkage acpi_enter_sleep_state_s4bios(void) | |||
399 | 399 | ||
400 | ACPI_FUNCTION_TRACE(acpi_enter_sleep_state_s4bios); | 400 | ACPI_FUNCTION_TRACE(acpi_enter_sleep_state_s4bios); |
401 | 401 | ||
402 | status = acpi_set_register(ACPI_BITREG_WAKE_STATUS, 1); | 402 | status = acpi_write_bit_register(ACPI_BITREG_WAKE_STATUS, 1); |
403 | if (ACPI_FAILURE(status)) { | 403 | if (ACPI_FAILURE(status)) { |
404 | return_ACPI_STATUS(status); | 404 | return_ACPI_STATUS(status); |
405 | } | 405 | } |
@@ -431,7 +431,8 @@ acpi_status asmlinkage acpi_enter_sleep_state_s4bios(void) | |||
431 | 431 | ||
432 | do { | 432 | do { |
433 | acpi_os_stall(1000); | 433 | acpi_os_stall(1000); |
434 | status = acpi_get_register(ACPI_BITREG_WAKE_STATUS, &in_value); | 434 | status = |
435 | acpi_read_bit_register(ACPI_BITREG_WAKE_STATUS, &in_value); | ||
435 | if (ACPI_FAILURE(status)) { | 436 | if (ACPI_FAILURE(status)) { |
436 | return_ACPI_STATUS(status); | 437 | return_ACPI_STATUS(status); |
437 | } | 438 | } |
@@ -592,18 +593,18 @@ acpi_status acpi_leave_sleep_state(u8 sleep_state) | |||
592 | * it to determine whether the system is rebooting or resuming. Clear | 593 | * it to determine whether the system is rebooting or resuming. Clear |
593 | * it for compatibility. | 594 | * it for compatibility. |
594 | */ | 595 | */ |
595 | acpi_set_register(ACPI_BITREG_WAKE_STATUS, 1); | 596 | acpi_write_bit_register(ACPI_BITREG_WAKE_STATUS, 1); |
596 | 597 | ||
597 | acpi_gbl_system_awake_and_running = TRUE; | 598 | acpi_gbl_system_awake_and_running = TRUE; |
598 | 599 | ||
599 | /* Enable power button */ | 600 | /* Enable power button */ |
600 | 601 | ||
601 | (void) | 602 | (void) |
602 | acpi_set_register(acpi_gbl_fixed_event_info | 603 | acpi_write_bit_register(acpi_gbl_fixed_event_info |
603 | [ACPI_EVENT_POWER_BUTTON].enable_register_id, 1); | 604 | [ACPI_EVENT_POWER_BUTTON].enable_register_id, 1); |
604 | 605 | ||
605 | (void) | 606 | (void) |
606 | acpi_set_register(acpi_gbl_fixed_event_info | 607 | acpi_write_bit_register(acpi_gbl_fixed_event_info |
607 | [ACPI_EVENT_POWER_BUTTON].status_register_id, 1); | 608 | [ACPI_EVENT_POWER_BUTTON].status_register_id, 1); |
608 | 609 | ||
609 | arg.integer.value = ACPI_SST_WORKING; | 610 | arg.integer.value = ACPI_SST_WORKING; |
diff --git a/drivers/acpi/acpica/hwxface.c b/drivers/acpi/acpica/hwxface.c index c8100199634b..529251c7f911 100644 --- a/drivers/acpi/acpica/hwxface.c +++ b/drivers/acpi/acpica/hwxface.c | |||
@@ -242,7 +242,7 @@ ACPI_EXPORT_SYMBOL(acpi_write) | |||
242 | 242 | ||
243 | /******************************************************************************* | 243 | /******************************************************************************* |
244 | * | 244 | * |
245 | * FUNCTION: acpi_get_register | 245 | * FUNCTION: acpi_read_bit_register |
246 | * | 246 | * |
247 | * PARAMETERS: register_id - ID of ACPI Bit Register to access | 247 | * PARAMETERS: register_id - ID of ACPI Bit Register to access |
248 | * return_value - Value that was read from the register, | 248 | * return_value - Value that was read from the register, |
@@ -264,13 +264,13 @@ ACPI_EXPORT_SYMBOL(acpi_write) | |||
264 | * it make much sense to actually read this field.) | 264 | * it make much sense to actually read this field.) |
265 | * | 265 | * |
266 | ******************************************************************************/ | 266 | ******************************************************************************/ |
267 | acpi_status acpi_get_register(u32 register_id, u32 *return_value) | 267 | acpi_status acpi_read_bit_register(u32 register_id, u32 *return_value) |
268 | { | 268 | { |
269 | u32 register_value = 0; | 269 | u32 register_value = 0; |
270 | struct acpi_bit_register_info *bit_reg_info; | 270 | struct acpi_bit_register_info *bit_reg_info; |
271 | acpi_status status; | 271 | acpi_status status; |
272 | 272 | ||
273 | ACPI_FUNCTION_TRACE(acpi_get_register); | 273 | ACPI_FUNCTION_TRACE(acpi_read_bit_register); |
274 | 274 | ||
275 | /* Get the info structure corresponding to the requested ACPI Register */ | 275 | /* Get the info structure corresponding to the requested ACPI Register */ |
276 | 276 | ||
@@ -302,11 +302,11 @@ acpi_status acpi_get_register(u32 register_id, u32 *return_value) | |||
302 | return_ACPI_STATUS(status); | 302 | return_ACPI_STATUS(status); |
303 | } | 303 | } |
304 | 304 | ||
305 | ACPI_EXPORT_SYMBOL(acpi_get_register) | 305 | ACPI_EXPORT_SYMBOL(acpi_read_bit_register) |
306 | 306 | ||
307 | /******************************************************************************* | 307 | /******************************************************************************* |
308 | * | 308 | * |
309 | * FUNCTION: acpi_set_register | 309 | * FUNCTION: acpi_write_bit_register |
310 | * | 310 | * |
311 | * PARAMETERS: register_id - ID of ACPI Bit Register to access | 311 | * PARAMETERS: register_id - ID of ACPI Bit Register to access |
312 | * Value - Value to write to the register, in bit | 312 | * Value - Value to write to the register, in bit |
@@ -322,14 +322,14 @@ ACPI_EXPORT_SYMBOL(acpi_get_register) | |||
322 | * PM2 Control. | 322 | * PM2 Control. |
323 | * | 323 | * |
324 | ******************************************************************************/ | 324 | ******************************************************************************/ |
325 | acpi_status acpi_set_register(u32 register_id, u32 value) | 325 | acpi_status acpi_write_bit_register(u32 register_id, u32 value) |
326 | { | 326 | { |
327 | u32 register_value = 0; | 327 | u32 register_value = 0; |
328 | struct acpi_bit_register_info *bit_reg_info; | 328 | struct acpi_bit_register_info *bit_reg_info; |
329 | acpi_status status; | 329 | acpi_status status; |
330 | acpi_cpu_flags lock_flags; | 330 | acpi_cpu_flags lock_flags; |
331 | 331 | ||
332 | ACPI_FUNCTION_TRACE_U32(acpi_set_register, register_id); | 332 | ACPI_FUNCTION_TRACE_U32(acpi_write_bit_register, register_id); |
333 | 333 | ||
334 | /* Get the info structure corresponding to the requested ACPI Register */ | 334 | /* Get the info structure corresponding to the requested ACPI Register */ |
335 | 335 | ||
@@ -459,7 +459,7 @@ acpi_status acpi_set_register(u32 register_id, u32 value) | |||
459 | return_ACPI_STATUS(status); | 459 | return_ACPI_STATUS(status); |
460 | } | 460 | } |
461 | 461 | ||
462 | ACPI_EXPORT_SYMBOL(acpi_set_register) | 462 | ACPI_EXPORT_SYMBOL(acpi_write_bit_register) |
463 | 463 | ||
464 | /******************************************************************************* | 464 | /******************************************************************************* |
465 | * | 465 | * |
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 6946047d0096..5c69e85c1e4d 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -630,7 +630,7 @@ static void acpi_processor_power_verify_c3(struct acpi_processor *pr, | |||
630 | * In either case, the proper way to | 630 | * In either case, the proper way to |
631 | * handle BM_RLD is to set it and leave it set. | 631 | * handle BM_RLD is to set it and leave it set. |
632 | */ | 632 | */ |
633 | acpi_set_register(ACPI_BITREG_BUS_MASTER_RLD, 1); | 633 | acpi_write_bit_register(ACPI_BITREG_BUS_MASTER_RLD, 1); |
634 | 634 | ||
635 | return; | 635 | return; |
636 | } | 636 | } |
@@ -800,9 +800,9 @@ static int acpi_idle_bm_check(void) | |||
800 | { | 800 | { |
801 | u32 bm_status = 0; | 801 | u32 bm_status = 0; |
802 | 802 | ||
803 | acpi_get_register(ACPI_BITREG_BUS_MASTER_STATUS, &bm_status); | 803 | acpi_read_bit_register(ACPI_BITREG_BUS_MASTER_STATUS, &bm_status); |
804 | if (bm_status) | 804 | if (bm_status) |
805 | acpi_set_register(ACPI_BITREG_BUS_MASTER_STATUS, 1); | 805 | acpi_write_bit_register(ACPI_BITREG_BUS_MASTER_STATUS, 1); |
806 | /* | 806 | /* |
807 | * PIIX4 Erratum #18: Note that BM_STS doesn't always reflect | 807 | * PIIX4 Erratum #18: Note that BM_STS doesn't always reflect |
808 | * the true state of bus mastering activity; forcing us to | 808 | * the true state of bus mastering activity; forcing us to |
@@ -1028,7 +1028,7 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev, | |||
1028 | c3_cpu_count++; | 1028 | c3_cpu_count++; |
1029 | /* Disable bus master arbitration when all CPUs are in C3 */ | 1029 | /* Disable bus master arbitration when all CPUs are in C3 */ |
1030 | if (c3_cpu_count == num_online_cpus()) | 1030 | if (c3_cpu_count == num_online_cpus()) |
1031 | acpi_set_register(ACPI_BITREG_ARB_DISABLE, 1); | 1031 | acpi_write_bit_register(ACPI_BITREG_ARB_DISABLE, 1); |
1032 | spin_unlock(&c3_lock); | 1032 | spin_unlock(&c3_lock); |
1033 | } else if (!pr->flags.bm_check) { | 1033 | } else if (!pr->flags.bm_check) { |
1034 | ACPI_FLUSH_CPU_CACHE(); | 1034 | ACPI_FLUSH_CPU_CACHE(); |
@@ -1041,7 +1041,7 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev, | |||
1041 | /* Re-enable bus master arbitration */ | 1041 | /* Re-enable bus master arbitration */ |
1042 | if (pr->flags.bm_check && pr->flags.bm_control) { | 1042 | if (pr->flags.bm_check && pr->flags.bm_control) { |
1043 | spin_lock(&c3_lock); | 1043 | spin_lock(&c3_lock); |
1044 | acpi_set_register(ACPI_BITREG_ARB_DISABLE, 0); | 1044 | acpi_write_bit_register(ACPI_BITREG_ARB_DISABLE, 0); |
1045 | c3_cpu_count--; | 1045 | c3_cpu_count--; |
1046 | spin_unlock(&c3_lock); | 1046 | spin_unlock(&c3_lock); |
1047 | } | 1047 | } |
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 00456fccfa38..837ac7d5801b 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -248,7 +248,7 @@ static int acpi_suspend_enter(suspend_state_t pm_state) | |||
248 | 248 | ||
249 | /* If ACPI is not enabled by the BIOS, we need to enable it here. */ | 249 | /* If ACPI is not enabled by the BIOS, we need to enable it here. */ |
250 | if (set_sci_en_on_resume) | 250 | if (set_sci_en_on_resume) |
251 | acpi_set_register(ACPI_BITREG_SCI_ENABLE, 1); | 251 | acpi_write_bit_register(ACPI_BITREG_SCI_ENABLE, 1); |
252 | else | 252 | else |
253 | acpi_enable(); | 253 | acpi_enable(); |
254 | 254 | ||
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 325d4b073aca..a5525a5518a9 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -345,9 +345,9 @@ acpi_resource_to_address64(struct acpi_resource *resource, | |||
345 | */ | 345 | */ |
346 | acpi_status acpi_reset(void); | 346 | acpi_status acpi_reset(void); |
347 | 347 | ||
348 | acpi_status acpi_get_register(u32 register_id, u32 * return_value); | 348 | acpi_status acpi_read_bit_register(u32 register_id, u32 *return_value); |
349 | 349 | ||
350 | acpi_status acpi_set_register(u32 register_id, u32 value); | 350 | acpi_status acpi_write_bit_register(u32 register_id, u32 value); |
351 | 351 | ||
352 | acpi_status acpi_set_firmware_waking_vector(u32 physical_address); | 352 | acpi_status acpi_set_firmware_waking_vector(u32 physical_address); |
353 | 353 | ||