Home
last modified time | relevance | path

Searched refs:first_ec (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/acpi/
Dec.c120 struct acpi_ec *boot_ec, *first_ec; variable
121 EXPORT_SYMBOL(first_ec);
388 if (!first_ec) in ec_burst_enable()
390 return acpi_ec_burst_enable(first_ec); in ec_burst_enable()
397 if (!first_ec) in ec_burst_disable()
399 return acpi_ec_burst_disable(first_ec); in ec_burst_disable()
409 if (!first_ec) in ec_read()
412 err = acpi_ec_read(first_ec, addr, &temp_data); in ec_read()
427 if (!first_ec) in ec_write()
430 err = acpi_ec_write(first_ec, addr, val); in ec_write()
[all …]
Dec_sys.c118 if (!debugfs_create_x32("gpe", 0444, dev_dir, (u32 *)&first_ec->gpe)) in acpi_ec_add_debugfs()
121 (u32 *)&first_ec->global_lock)) in acpi_ec_add_debugfs()
139 if (first_ec) in acpi_ec_sys_init()
140 err = acpi_ec_add_debugfs(first_ec, 0); in acpi_ec_sys_init()
Dinternal.h68 extern struct acpi_ec *first_ec;