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
104 #define ACPI_EC_COMMAND_POLL 0x01 /* Available for command byte */
110 MODULE_PARM_DESC(ec_delay, "Timeout(ms) waited until an EC command completes");
156 u8 command;
298 static inline void acpi_ec_write_cmd(struct acpi_ec *ec, u8 command)
300 ec_dbg_raw("EC_SC(W) = 0x%2.2x", command);
301 outb(command, ec->command_addr);
592 (!ec->curr || ec->curr->command != ACPI_EC_COMMAND_QUERY);
625 if (ec->curr->command != ACPI_EC_COMMAND_QUERY)
692 if (t->command == ACPI_EC_COMMAND_QUERY)
704 acpi_ec_write_cmd(ec, t->command);
760 int repeat = 5; /* number of command restarts */
788 /* Enable GPE for command processing (IBF=0/OBF=1) */
793 ec_dbg_ref(ec, "Increase command");
796 ec_dbg_req("Command(%s) started", acpi_ec_cmd_string(t->command));
805 ec_dbg_req("Command(%s) stopped", acpi_ec_cmd_string(t->command));
807 /* Disable GPE for command processing (IBF=0/OBF=1) */
809 ec_dbg_ref(ec, "Decrease command");
846 struct transaction t = {.command = ACPI_EC_BURST_ENABLE,
855 struct transaction t = {.command = ACPI_EC_BURST_DISABLE,
867 struct transaction t = {.command = ACPI_EC_COMMAND_READ,
879 struct transaction t = {.command = ACPI_EC_COMMAND_WRITE,
913 int ec_transaction(u8 command,
917 struct transaction t = {.command = command,
1159 t->command = ACPI_EC_COMMAND_QUERY;
1722 * the second address region returned is the status/command