Lines Matching refs:boot_ec
178 static struct acpi_ec *boot_ec; variable
1367 if (boot_ec == ec) in acpi_ec_free()
1368 boot_ec = NULL; in acpi_ec_free()
1627 if (boot_ec && (boot_ec->handle == device->handle || in acpi_ec_add()
1630 ec = boot_ec; in acpi_ec_add()
1644 if (boot_ec && ec->command_addr == boot_ec->command_addr && in acpi_ec_add()
1645 ec->data_addr == boot_ec->data_addr) { in acpi_ec_add()
1652 boot_ec->handle = ec->handle; in acpi_ec_add()
1655 boot_ec->gpe = ec->gpe; in acpi_ec_add()
1659 ec = boot_ec; in acpi_ec_add()
1667 if (ec == boot_ec) in acpi_ec_add()
1668 acpi_handle_info(boot_ec->handle, in acpi_ec_add()
1689 if (ec != boot_ec) in acpi_ec_add()
1706 if (ec != boot_ec) { in acpi_ec_remove()
1758 if (boot_ec) in acpi_ec_dsdt_probe()
1788 boot_ec = ec; in acpi_ec_dsdt_probe()
1814 if (!boot_ec || boot_ec->handle != ACPI_ROOT_OBJECT) in acpi_ec_ecdt_start()
1825 boot_ec->handle = handle; in acpi_ec_ecdt_start()
1993 boot_ec = ec; in acpi_ec_ecdt_probe()