Lines Matching defs:command
41 #define ACPI_EC_FLAG_CMD 0x08 /* Input buffer contains a command */
55 * (QR_EC) is written to the command register (EC_CMD). SCI_EVT set
59 * QUERY: After seeing the query request (QR_EC) written to the command
105 #define ACPI_EC_COMMAND_POLL 0x01 /* Available for command byte */
111 MODULE_PARM_DESC(ec_delay, "Timeout(ms) waited until an EC command completes");
157 u8 command;
300 static inline void acpi_ec_write_cmd(struct acpi_ec *ec, u8 command)
302 ec_dbg_raw("EC_SC(W) = 0x%2.2x", command);
303 outb(command, ec->command_addr);
591 (ec->curr && ec->curr->command == ACPI_EC_COMMAND_QUERY))
624 if (ec->curr->command == ACPI_EC_COMMAND_QUERY) {
680 if (t->command == ACPI_EC_COMMAND_QUERY)
694 acpi_ec_write_cmd(ec, t->command);
763 int repeat = 5; /* number of command restarts */
791 /* Enable GPE for command processing (IBF=0/OBF=1) */
796 ec_dbg_ref(ec, "Increase command");
799 ec_dbg_req("Command(%s) started", acpi_ec_cmd_string(t->command));
808 ec_dbg_req("Command(%s) stopped", acpi_ec_cmd_string(t->command));
810 /* Disable GPE for command processing (IBF=0/OBF=1) */
812 ec_dbg_ref(ec, "Decrease command");
849 struct transaction t = {.command = ACPI_EC_BURST_ENABLE,
858 struct transaction t = {.command = ACPI_EC_BURST_DISABLE,
870 struct transaction t = {.command = ACPI_EC_COMMAND_READ,
882 struct transaction t = {.command = ACPI_EC_COMMAND_WRITE,
920 int ec_transaction(u8 command,
924 struct transaction t = {.command = command,
1132 t->command = ACPI_EC_COMMAND_QUERY;
1694 * the second address region returned is the status/command