Lines Matching refs:last_cmd
137 static struct targ_cdb_handlers *last_cmd;
150 if (last_cmd == NULL || last_cmd->cmd != a_descr->cdb[0]) {
157 last_cmd = h;
162 if (last_cmd->done != NULL)
163 last_cmd->done(atio, ctio, event);
169 if (last_cmd->cmd == ILLEGAL_CDB) {
217 if (last_cmd->cmd != ILLEGAL_CDB) {
218 ret = last_cmd->start(atio, ctio);
220 if (last_cmd->start != tcmd_rdwr) {