Lines Matching refs:boot_ec
180 static struct acpi_ec *boot_ec; variable
1349 if (boot_ec == ec) in acpi_ec_free()
1350 boot_ec = NULL; in acpi_ec_free()
1600 if (boot_ec && (boot_ec->handle == device->handle || in acpi_ec_add()
1603 ec = boot_ec; in acpi_ec_add()
1617 if (boot_ec && ec->command_addr == boot_ec->command_addr && in acpi_ec_add()
1618 ec->data_addr == boot_ec->data_addr && in acpi_ec_add()
1626 boot_ec->handle = ec->handle; in acpi_ec_add()
1629 ec = boot_ec; in acpi_ec_add()
1637 if (ec == boot_ec) in acpi_ec_add()
1638 acpi_handle_info(boot_ec->handle, in acpi_ec_add()
1659 if (ec != boot_ec) in acpi_ec_add()
1676 if (ec != boot_ec) { in acpi_ec_remove()
1729 if (boot_ec) in acpi_ec_dsdt_probe()
1759 boot_ec = ec; in acpi_ec_dsdt_probe()
1785 if (!boot_ec || boot_ec->handle != ACPI_ROOT_OBJECT) in acpi_ec_ecdt_start()
1796 boot_ec->handle = handle; in acpi_ec_ecdt_start()
1923 boot_ec = ec; in acpi_ec_ecdt_probe()