Lines Matching refs:status
114 acpi_status status; in acpi_ev_enable_gpe() local
120 status = acpi_hw_clear_gpe(gpe_event_info); in acpi_ev_enable_gpe()
121 if (ACPI_FAILURE(status)) { in acpi_ev_enable_gpe()
122 return_ACPI_STATUS(status); in acpi_ev_enable_gpe()
127 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE); in acpi_ev_enable_gpe()
128 return_ACPI_STATUS(status); in acpi_ev_enable_gpe()
147 acpi_status status = AE_OK; in acpi_ev_add_gpe_reference() local
160 status = acpi_ev_update_gpe_enable_mask(gpe_event_info); in acpi_ev_add_gpe_reference()
161 if (ACPI_SUCCESS(status)) { in acpi_ev_add_gpe_reference()
162 status = acpi_ev_enable_gpe(gpe_event_info); in acpi_ev_add_gpe_reference()
165 if (ACPI_FAILURE(status)) { in acpi_ev_add_gpe_reference()
170 return_ACPI_STATUS(status); in acpi_ev_add_gpe_reference()
189 acpi_status status = AE_OK; in acpi_ev_remove_gpe_reference() local
202 status = acpi_ev_update_gpe_enable_mask(gpe_event_info); in acpi_ev_remove_gpe_reference()
203 if (ACPI_SUCCESS(status)) { in acpi_ev_remove_gpe_reference()
204 status = in acpi_ev_remove_gpe_reference()
209 if (ACPI_FAILURE(status)) { in acpi_ev_remove_gpe_reference()
214 return_ACPI_STATUS(status); in acpi_ev_remove_gpe_reference()
330 acpi_status status; in acpi_ev_gpe_detect() local
399 status = in acpi_ev_gpe_detect()
402 if (ACPI_FAILURE(status)) { in acpi_ev_gpe_detect()
408 status = in acpi_ev_gpe_detect()
411 if (ACPI_FAILURE(status)) { in acpi_ev_gpe_detect()
535 acpi_status status = AE_OK; in acpi_ev_asynch_execute_gpe_method() local
557 while (ACPI_SUCCESS(status) && notify) { in acpi_ev_asynch_execute_gpe_method()
558 status = in acpi_ev_asynch_execute_gpe_method()
573 status = AE_NO_MEMORY; in acpi_ev_asynch_execute_gpe_method()
583 status = acpi_ns_evaluate(info); in acpi_ev_asynch_execute_gpe_method()
587 if (ACPI_FAILURE(status)) { in acpi_ev_asynch_execute_gpe_method()
588 ACPI_EXCEPTION((AE_INFO, status, in acpi_ev_asynch_execute_gpe_method()
603 status = acpi_os_execute(OSL_NOTIFY_HANDLER, in acpi_ev_asynch_execute_gpe_method()
605 if (ACPI_SUCCESS(status)) { in acpi_ev_asynch_execute_gpe_method()
657 acpi_status status; in acpi_ev_finish_gpe() local
665 status = acpi_hw_clear_gpe(gpe_event_info); in acpi_ev_finish_gpe()
666 if (ACPI_FAILURE(status)) { in acpi_ev_finish_gpe()
667 return (status); in acpi_ev_finish_gpe()
702 acpi_status status; in acpi_ev_gpe_dispatch() local
716 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE); in acpi_ev_gpe_dispatch()
717 if (ACPI_FAILURE(status)) { in acpi_ev_gpe_dispatch()
718 ACPI_EXCEPTION((AE_INFO, status, in acpi_ev_gpe_dispatch()
729 status = acpi_hw_clear_gpe(gpe_event_info); in acpi_ev_gpe_dispatch()
730 if (ACPI_FAILURE(status)) { in acpi_ev_gpe_dispatch()
731 ACPI_EXCEPTION((AE_INFO, status, in acpi_ev_gpe_dispatch()
772 status = acpi_os_execute(OSL_GPE_HANDLER, in acpi_ev_gpe_dispatch()
775 if (ACPI_FAILURE(status)) { in acpi_ev_gpe_dispatch()
776 ACPI_EXCEPTION((AE_INFO, status, in acpi_ev_gpe_dispatch()