Lines Matching refs:first_ec
110 struct acpi_ec *boot_ec, *first_ec;
111 EXPORT_SYMBOL(first_ec);
380 if (!first_ec)
382 return acpi_ec_burst_enable(first_ec);
389 if (!first_ec)
391 return acpi_ec_burst_disable(first_ec);
401 if (!first_ec)
404 err = acpi_ec_read(first_ec, addr, &temp_data);
419 if (!first_ec)
422 err = acpi_ec_write(first_ec, addr, val);
437 if (!first_ec)
440 return acpi_ec_transaction(first_ec, &t);
447 struct acpi_ec *ec = first_ec;
460 struct acpi_ec *ec = first_ec;
477 if (first_ec)
478 clear_bit(EC_FLAGS_BLOCKED, &first_ec->flags);
811 if (!first_ec)
812 first_ec = ec;
849 if (ec == first_ec)
850 first_ec = NULL;
883 first_ec = boot_ec;
1002 first_ec = boot_ec;