first_ec 177 drivers/acpi/ec.c struct acpi_ec *first_ec; first_ec 178 drivers/acpi/ec.c EXPORT_SYMBOL(first_ec); first_ec 896 drivers/acpi/ec.c if (!first_ec) first_ec 899 drivers/acpi/ec.c err = acpi_ec_read(first_ec, addr, &temp_data); first_ec 913 drivers/acpi/ec.c if (!first_ec) first_ec 916 drivers/acpi/ec.c err = acpi_ec_write(first_ec, addr, val); first_ec 930 drivers/acpi/ec.c if (!first_ec) first_ec 933 drivers/acpi/ec.c return acpi_ec_transaction(first_ec, &t); first_ec 940 drivers/acpi/ec.c if (!first_ec) first_ec 942 drivers/acpi/ec.c return first_ec->handle; first_ec 1022 drivers/acpi/ec.c struct acpi_ec *ec = first_ec; first_ec 1039 drivers/acpi/ec.c if (first_ec) first_ec 1040 drivers/acpi/ec.c acpi_ec_start(first_ec, true); first_ec 1332 drivers/acpi/ec.c if (first_ec == ec) first_ec 1333 drivers/acpi/ec.c first_ec = NULL; first_ec 1519 drivers/acpi/ec.c if (!first_ec) { first_ec 1520 drivers/acpi/ec.c first_ec = ec; first_ec 1521 drivers/acpi/ec.c acpi_handle_info(first_ec->handle, "Used as first EC\n"); first_ec 1954 drivers/acpi/ec.c if (first_ec && !ec_no_wakeup) first_ec 1955 drivers/acpi/ec.c acpi_mark_gpe_for_wake(NULL, first_ec->gpe); first_ec 1961 drivers/acpi/ec.c if (pm_suspend_no_platform() && first_ec && !ec_no_wakeup) first_ec 1962 drivers/acpi/ec.c acpi_set_gpe_wake_mask(NULL, first_ec->gpe, action); first_ec 1969 drivers/acpi/ec.c if (!first_ec) first_ec 1976 drivers/acpi/ec.c if (acpi_any_gpe_status_set(first_ec->gpe)) first_ec 1986 drivers/acpi/ec.c ret = acpi_dispatch_gpe(NULL, first_ec->gpe); first_ec 122 drivers/acpi/ec_sys.c debugfs_create_x32("gpe", 0444, dev_dir, &first_ec->gpe); first_ec 124 drivers/acpi/ec_sys.c &first_ec->global_lock); first_ec 133 drivers/acpi/ec_sys.c if (first_ec) first_ec 134 drivers/acpi/ec_sys.c acpi_ec_add_debugfs(first_ec, 0); first_ec 186 drivers/acpi/internal.h extern struct acpi_ec *first_ec;