Lines Matching refs:first_ec
120 struct acpi_ec *boot_ec, *first_ec; variable
121 EXPORT_SYMBOL(first_ec);
388 if (!first_ec) in ec_burst_enable()
390 return acpi_ec_burst_enable(first_ec); in ec_burst_enable()
397 if (!first_ec) in ec_burst_disable()
399 return acpi_ec_burst_disable(first_ec); in ec_burst_disable()
409 if (!first_ec) in ec_read()
412 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read()
427 if (!first_ec) in ec_write()
430 err = acpi_ec_write(first_ec, addr, val); in ec_write()
444 if (!first_ec) in ec_transaction()
447 return acpi_ec_transaction(first_ec, &t); in ec_transaction()
455 if (!first_ec) in ec_get_handle()
457 return first_ec->handle; in ec_get_handle()
464 struct acpi_ec *ec = first_ec; in acpi_ec_block_transactions()
477 struct acpi_ec *ec = first_ec; in acpi_ec_unblock_transactions()
494 if (first_ec) in acpi_ec_unblock_transactions_early()
495 clear_bit(EC_FLAGS_BLOCKED, &first_ec->flags); in acpi_ec_unblock_transactions_early()
825 if (!first_ec) in acpi_ec_add()
826 first_ec = ec; in acpi_ec_add()
863 if (ec == first_ec) in acpi_ec_remove()
864 first_ec = NULL; in acpi_ec_remove()
897 first_ec = boot_ec; in acpi_boot_ec_enable()
1055 first_ec = boot_ec; in acpi_ec_ecdt_probe()