Lines Matching defs:tdr_cmd
409 volatile struct tdr_cmd_struct *tdr_cmd;
483 tdr_cmd = (struct tdr_cmd_struct *)ptr;
485 tdr_cmd->cmd_status = 0;
486 tdr_cmd->cmd_cmd = swab16(CMD_TDR | CMD_LAST);
487 tdr_cmd->cmd_link = 0xffff;
488 tdr_cmd->status = 0;
490 p->scb->cbl_offset = make16(tdr_cmd);
494 WAIT_4_STAT_COMPL(tdr_cmd);
496 if(!(swab16(tdr_cmd->cmd_status) & STAT_COMPL))
503 result = swab16(tdr_cmd->status);