Searched refs:ec_ecdt (Results 1 – 1 of 1) sorted by relevance
88 static struct acpi_ec *ec_ecdt; variable593 if (ec_ecdt && ec_ecdt->uid == uid) { in acpi_ec_add()597 acpi_remove_gpe_handler(NULL, ec_ecdt->gpe_bit, &acpi_ec_gpe_handler); in acpi_ec_add()599 kfree(ec_ecdt); in acpi_ec_add()785 ec_ecdt = kmalloc(sizeof(struct acpi_ec), GFP_KERNEL); in acpi_ec_ecdt_probe()786 if (!ec_ecdt) in acpi_ec_ecdt_probe()788 memset(ec_ecdt, 0, sizeof(struct acpi_ec)); in acpi_ec_ecdt_probe()790 ec_ecdt->command_addr = ecdt_ptr->ec_control; in acpi_ec_ecdt_probe()791 ec_ecdt->status_addr = ecdt_ptr->ec_control; in acpi_ec_ecdt_probe()792 ec_ecdt->data_addr = ecdt_ptr->ec_data; in acpi_ec_ecdt_probe()[all …]