| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Module Name: evgpe - General Purpose Event handling and dispatch |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 656 | 656 | |
|---|
| 657 | 657 | /* GPE currently enabled (enable bit == 1)? */ |
|---|
| 658 | 658 | |
|---|
| 659 | | - status = acpi_hw_read(&enable_reg, &gpe_register_info->enable_address); |
|---|
| 659 | + status = acpi_hw_gpe_read(&enable_reg, &gpe_register_info->enable_address); |
|---|
| 660 | 660 | if (ACPI_FAILURE(status)) { |
|---|
| 661 | 661 | goto error_exit; |
|---|
| 662 | 662 | } |
|---|
| 663 | 663 | |
|---|
| 664 | 664 | /* GPE currently active (status bit == 1)? */ |
|---|
| 665 | 665 | |
|---|
| 666 | | - status = acpi_hw_read(&status_reg, &gpe_register_info->status_address); |
|---|
| 666 | + status = acpi_hw_gpe_read(&status_reg, &gpe_register_info->status_address); |
|---|
| 667 | 667 | if (ACPI_FAILURE(status)) { |
|---|
| 668 | 668 | goto error_exit; |
|---|
| 669 | 669 | } |
|---|
| .. | .. |
|---|
| 807 | 807 | dispatch.handler-> |
|---|
| 808 | 808 | context); |
|---|
| 809 | 809 | |
|---|
| 810 | | - /* If requested, clear (if level-triggered) and reenable the GPE */ |
|---|
| 810 | + /* If requested, clear (if level-triggered) and re-enable the GPE */ |
|---|
| 811 | 811 | |
|---|
| 812 | 812 | if (return_value & ACPI_REENABLE_GPE) { |
|---|
| 813 | 813 | (void)acpi_ev_finish_gpe(gpe_event_info); |
|---|