Lines Matching refs:boot_ec
177 static struct acpi_ec *boot_ec; variable
1347 if (boot_ec == ec) in acpi_ec_free()
1348 boot_ec = NULL; in acpi_ec_free()
1598 if (boot_ec && (boot_ec->handle == device->handle || in acpi_ec_add()
1601 ec = boot_ec; in acpi_ec_add()
1615 if (boot_ec && ec->command_addr == boot_ec->command_addr && in acpi_ec_add()
1616 ec->data_addr == boot_ec->data_addr) { in acpi_ec_add()
1623 boot_ec->handle = ec->handle; in acpi_ec_add()
1626 boot_ec->gpe = ec->gpe; in acpi_ec_add()
1630 ec = boot_ec; in acpi_ec_add()
1638 if (ec == boot_ec) in acpi_ec_add()
1639 acpi_handle_info(boot_ec->handle, in acpi_ec_add()
1660 if (ec != boot_ec) in acpi_ec_add()
1677 if (ec != boot_ec) { in acpi_ec_remove()
1730 if (boot_ec) in acpi_ec_dsdt_probe()
1760 boot_ec = ec; in acpi_ec_dsdt_probe()
1786 if (!boot_ec || boot_ec->handle != ACPI_ROOT_OBJECT) in acpi_ec_ecdt_start()
1797 boot_ec->handle = handle; in acpi_ec_ecdt_start()
1944 boot_ec = ec; in acpi_ec_ecdt_probe()