Lines Matching refs:gpe

343 	(void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status);  in acpi_ec_gpe_status_set()
350 acpi_enable_gpe(NULL, ec->gpe); in acpi_ec_enable_gpe()
353 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_ENABLE); in acpi_ec_enable_gpe()
369 acpi_disable_gpe(NULL, ec->gpe); in acpi_ec_disable_gpe()
372 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_DISABLE); in acpi_ec_disable_gpe()
384 ec->gpe >= 0 && ec->reference_count == 1) in acpi_ec_submit_request()
394 ec->gpe >= 0 && ec->reference_count == 0) in acpi_ec_complete_request()
404 if (ec->gpe >= 0) in acpi_ec_mask_events()
418 if (ec->gpe >= 0) in acpi_ec_unmask_events()
649 if (ec->gpe >= 0 && acpi_ec_gpe_status_set(ec)) in advance_transaction()
650 acpi_clear_gpe(NULL, ec->gpe); in advance_transaction()
1339 ec->gpe = -1; in acpi_ec_alloc()
1383 ec->gpe = boot_ec->gpe; in ec_parse_device()
1389 ec->gpe = tmp; in ec_parse_device()
1408 status = acpi_install_gpe_raw_handler(NULL, ec->gpe, in install_gpe_event_handler()
1464 if (ec->gpe < 0) { in ec_install_handlers()
1487 if (ec->gpe >= 0) in ec_install_handlers()
1530 if (ec->gpe >= 0 && in ec_remove_handlers()
1531 ACPI_FAILURE(acpi_remove_gpe_handler(NULL, ec->gpe, in ec_remove_handlers()
1562 if (ec->gpe >= 0) in acpi_ec_setup()
1563 pr_info("GPE=0x%x\n", ec->gpe); in acpi_ec_setup()
1936 ec->gpe = ecdt_ptr->gpe; in acpi_ec_ecdt_probe()
1979 ec->gpe >= 0 && ec->reference_count >= 1) in acpi_ec_suspend_noirq()
1980 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_DISABLE); in acpi_ec_suspend_noirq()
1994 ec->gpe >= 0 && ec->reference_count >= 1) in acpi_ec_resume_noirq()
1995 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_ENABLE); in acpi_ec_resume_noirq()
2012 acpi_mark_gpe_for_wake(NULL, first_ec->gpe); in acpi_ec_mark_gpe_for_wake()
2019 acpi_set_gpe_wake_mask(NULL, first_ec->gpe, action); in acpi_ec_set_gpe_wake_mask()
2033 if (acpi_any_gpe_status_set(first_ec->gpe)) in acpi_ec_dispatch_gpe()
2040 ret = acpi_dispatch_gpe(NULL, first_ec->gpe); in acpi_ec_dispatch_gpe()