Lines Matching refs:boot_ec

130 struct acpi_ec *boot_ec, *first_ec;  variable
1116 if (boot_ec && in acpi_ec_add()
1117 (boot_ec->handle == device->handle || in acpi_ec_add()
1118 boot_ec->handle == ACPI_ROOT_OBJECT)) { in acpi_ec_add()
1119 ec = boot_ec; in acpi_ec_add()
1120 boot_ec = NULL; in acpi_ec_add()
1212 if (!boot_ec || test_bit(EC_FLAGS_HANDLERS_INSTALLED, &boot_ec->flags)) in acpi_boot_ec_enable()
1214 if (!ec_install_handlers(boot_ec)) { in acpi_boot_ec_enable()
1215 first_ec = boot_ec; in acpi_boot_ec_enable()
1358 boot_ec = make_acpi_ec(); in acpi_ec_ecdt_probe()
1359 if (!boot_ec) in acpi_ec_ecdt_probe()
1369 boot_ec->command_addr = ecdt_ptr->control.address; in acpi_ec_ecdt_probe()
1370 boot_ec->data_addr = ecdt_ptr->data.address; in acpi_ec_ecdt_probe()
1371 boot_ec->gpe = ecdt_ptr->gpe; in acpi_ec_ecdt_probe()
1372 boot_ec->handle = ACPI_ROOT_OBJECT; in acpi_ec_ecdt_probe()
1374 &boot_ec->handle); in acpi_ec_ecdt_probe()
1378 saved_ec = kmemdup(boot_ec, sizeof(struct acpi_ec), GFP_KERNEL); in acpi_ec_ecdt_probe()
1393 boot_ec, NULL); in acpi_ec_ecdt_probe()
1395 if (ACPI_FAILURE(status) || !boot_ec->handle) in acpi_ec_ecdt_probe()
1399 if (saved_ec->command_addr != boot_ec->command_addr || in acpi_ec_ecdt_probe()
1400 saved_ec->data_addr != boot_ec->data_addr || in acpi_ec_ecdt_probe()
1401 saved_ec->gpe != boot_ec->gpe || in acpi_ec_ecdt_probe()
1402 saved_ec->handle != boot_ec->handle) in acpi_ec_ecdt_probe()
1415 !acpi_has_method(boot_ec->handle, "_INI")) in acpi_ec_ecdt_probe()
1419 if (!ec_install_handlers(boot_ec)) { in acpi_ec_ecdt_probe()
1420 first_ec = boot_ec; in acpi_ec_ecdt_probe()
1424 kfree(boot_ec); in acpi_ec_ecdt_probe()
1426 boot_ec = NULL; in acpi_ec_ecdt_probe()