Lines Matching refs:first_ec
176 struct acpi_ec *first_ec; variable
177 EXPORT_SYMBOL(first_ec);
880 if (!first_ec) in ec_read()
883 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read()
897 if (!first_ec) in ec_write()
900 err = acpi_ec_write(first_ec, addr, val); in ec_write()
914 if (!first_ec) in ec_transaction()
917 return acpi_ec_transaction(first_ec, &t); in ec_transaction()
924 if (!first_ec) in ec_get_handle()
926 return first_ec->handle; in ec_get_handle()
1006 struct acpi_ec *ec = first_ec; in acpi_ec_block_transactions()
1023 if (first_ec) in acpi_ec_unblock_transactions()
1024 acpi_ec_start(first_ec, true); in acpi_ec_unblock_transactions()
1318 if (first_ec == ec) in acpi_ec_free()
1319 first_ec = NULL; in acpi_ec_free()
1555 if (!first_ec) in acpi_ec_setup()
1556 first_ec = ec; in acpi_ec_setup()
2011 if (first_ec && !ec_no_wakeup) in acpi_ec_mark_gpe_for_wake()
2012 acpi_mark_gpe_for_wake(NULL, first_ec->gpe); in acpi_ec_mark_gpe_for_wake()
2018 if (pm_suspend_no_platform() && first_ec && !ec_no_wakeup) in acpi_ec_set_gpe_wake_mask()
2019 acpi_set_gpe_wake_mask(NULL, first_ec->gpe, action); in acpi_ec_set_gpe_wake_mask()
2026 if (!first_ec) in acpi_ec_dispatch_gpe()
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()