Lines Matching refs:gpe
341 (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); in acpi_ec_gpe_status_set()
348 acpi_enable_gpe(NULL, ec->gpe); in acpi_ec_enable_gpe()
351 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_ENABLE); in acpi_ec_enable_gpe()
367 acpi_disable_gpe(NULL, ec->gpe); in acpi_ec_disable_gpe()
370 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_DISABLE); in acpi_ec_disable_gpe()
382 ec->gpe >= 0 && ec->reference_count == 1) in acpi_ec_submit_request()
392 ec->gpe >= 0 && ec->reference_count == 0) in acpi_ec_complete_request()
402 if (ec->gpe >= 0) in acpi_ec_mask_events()
416 if (ec->gpe >= 0) in acpi_ec_unmask_events()
1308 if (ec->gpe >= 0 && acpi_ec_gpe_status_set(ec)) in clear_gpe_and_advance_transaction()
1309 acpi_clear_gpe(NULL, ec->gpe); in clear_gpe_and_advance_transaction()
1434 ec->gpe = -1; in acpi_ec_alloc()
1477 ec->gpe = tmp; in ec_parse_device()
1495 status = acpi_install_gpe_raw_handler(NULL, ec->gpe, in install_gpe_event_handler()
1560 if (ec->gpe < 0) { in ec_install_handlers()
1583 if (ec->gpe >= 0) in ec_install_handlers()
1630 if (ec->gpe >= 0 && in ec_remove_handlers()
1631 ACPI_FAILURE(acpi_remove_gpe_handler(NULL, ec->gpe, in ec_remove_handlers()
1666 if (ec->gpe >= 0) in acpi_ec_setup()
1667 pr_info("GPE=0x%x\n", ec->gpe); in acpi_ec_setup()
1711 boot_ec->gpe = ec->gpe; in acpi_ec_add()
2051 ec->gpe = ecdt_ptr->gpe; in acpi_ec_ecdt_probe()
2094 ec->gpe >= 0 && ec->reference_count >= 1) in acpi_ec_suspend_noirq()
2095 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_DISABLE); in acpi_ec_suspend_noirq()
2109 ec->gpe >= 0 && ec->reference_count >= 1) in acpi_ec_resume_noirq()
2110 acpi_set_gpe(NULL, ec->gpe, ACPI_GPE_ENABLE); in acpi_ec_resume_noirq()
2127 acpi_mark_gpe_for_wake(NULL, first_ec->gpe); in acpi_ec_mark_gpe_for_wake()
2134 acpi_set_gpe_wake_mask(NULL, first_ec->gpe, action); in acpi_ec_set_gpe_wake_mask()
2153 if (acpi_any_gpe_status_set(first_ec->gpe)) in acpi_ec_dispatch_gpe()