hwgpe.c (8990c1bc4be46473ad19bf2fa612ca57286f3df4) hwgpe.c (3a37898d507794cfc68a092303e02651d3f01308)
1
2/******************************************************************************
3 *
4 * Module Name: hwgpe - Low level GPE enable/disable/clear functions
5 *
6 *****************************************************************************/
7
8/*

--- 104 unchanged lines hidden (view full) ---

113 return (status);
114 }
115
116 /* Set ot clear just the bit that corresponds to this GPE */
117
118 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info,
119 gpe_register_info);
120 switch (action) {
1
2/******************************************************************************
3 *
4 * Module Name: hwgpe - Low level GPE enable/disable/clear functions
5 *
6 *****************************************************************************/
7
8/*

--- 104 unchanged lines hidden (view full) ---

113 return (status);
114 }
115
116 /* Set ot clear just the bit that corresponds to this GPE */
117
118 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info,
119 gpe_register_info);
120 switch (action) {
121 case ACPI_GPE_COND_ENABLE:
121 case ACPI_GPE_CONDITIONAL_ENABLE:
122 if (!(register_bit & gpe_register_info->enable_for_run))
123 return (AE_BAD_PARAMETER);
124
125 case ACPI_GPE_ENABLE:
126 ACPI_SET_BIT(enable_mask, register_bit);
127 break;
128
129 case ACPI_GPE_DISABLE:

--- 346 unchanged lines hidden ---
122 if (!(register_bit & gpe_register_info->enable_for_run))
123 return (AE_BAD_PARAMETER);
124
125 case ACPI_GPE_ENABLE:
126 ACPI_SET_BIT(enable_mask, register_bit);
127 break;
128
129 case ACPI_GPE_DISABLE:

--- 346 unchanged lines hidden ---