Lines Matching refs:command

95 	// interrupt trigger on them (we get a "command complete" interrupt on
153 SdhciBus::ExecuteCommand(uint8_t command, uint32_t argument, uint32_t* response)
155 TRACE("ExecuteCommand(%d, %x)\n", command, argument);
160 // Check if it's possible to send a command right now.
161 // It is not possible to send a command as long as the command line is busy.
165 // Note that this should normally never happen: the command line is busy
166 // only during command execution, and we don't leave this function with ac
167 // command running.
169 panic("Command execution impossible, command inhibit\n");
179 switch (command) {
206 case SD_SET_BUS_WIDTH: // SD Application command
209 case SD_SEND_OP_COND: // SD Application command
213 ERROR("Unknown command %x\n", command);
219 && command != SD_STOP_TRANSMISSION && command != SD_IO_ABORT) {
227 panic("Command line busy at start of execute command\n");
233 fRegisters->command.SendCommand(command, replyType);
235 // Wait for command response to be available ("command complete" interrupt)
236 TRACE("Wait for command complete...");
240 TRACE("command complete sem acquired, status: %x\n", fCommandResult);
241 TRACE("real status = %x command line busy: %d\n",
303 ERROR("Command execution %d complete\n", command);
365 SdhciBus::DoIO(uint8_t command, IOOperation* operation, bool offsetAsSectors)
437 result = ExecuteCommand(command,
586 // handling command interrupt
778 execute_command(void* controller, uint8_t command, uint32_t argument,
782 return bus->ExecuteCommand(command, argument, response);
787 do_io(void* controller, uint8_t command, IOOperation* operation,
791 return bus->DoIO(command, operation, offsetAsSectors);