Lines Matching refs:first_ec
176 struct acpi_ec *first_ec; variable
177 EXPORT_SYMBOL(first_ec);
892 if (!first_ec) in ec_read()
895 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read()
909 if (!first_ec) in ec_write()
912 err = acpi_ec_write(first_ec, addr, val); in ec_write()
926 if (!first_ec) in ec_transaction()
929 return acpi_ec_transaction(first_ec, &t); in ec_transaction()
936 if (!first_ec) in ec_get_handle()
938 return first_ec->handle; in ec_get_handle()
1018 struct acpi_ec *ec = first_ec; in acpi_ec_block_transactions()
1035 if (first_ec) in acpi_ec_unblock_transactions()
1036 acpi_ec_start(first_ec, true); in acpi_ec_unblock_transactions()
1330 if (first_ec == ec) in acpi_ec_free()
1331 first_ec = NULL; in acpi_ec_free()
1567 if (!first_ec) in acpi_ec_setup()
1568 first_ec = ec; in acpi_ec_setup()
1989 if (first_ec && !ec_no_wakeup) in acpi_ec_mark_gpe_for_wake()
1990 acpi_mark_gpe_for_wake(NULL, first_ec->gpe); in acpi_ec_mark_gpe_for_wake()
1996 if (pm_suspend_no_platform() && first_ec && !ec_no_wakeup) in acpi_ec_set_gpe_wake_mask()
1997 acpi_set_gpe_wake_mask(NULL, first_ec->gpe, action); in acpi_ec_set_gpe_wake_mask()
2004 if (!first_ec) in acpi_ec_dispatch_gpe()
2011 if (acpi_any_gpe_status_set(first_ec->gpe)) in acpi_ec_dispatch_gpe()
2018 ret = acpi_dispatch_gpe(NULL, first_ec->gpe); in acpi_ec_dispatch_gpe()