Lines Matching defs:tdr_cmd
559 struct tdr_cmd_struct __iomem *tdr_cmd;
639 tdr_cmd = ptr;
641 writew(0, &tdr_cmd->cmd_status);
642 writew(CMD_TDR | CMD_LAST, &tdr_cmd->cmd_cmd);
643 writew(0xffff, &tdr_cmd->cmd_link);
644 writew(0, &tdr_cmd->status);
646 writew(make16(tdr_cmd), &p->scb->cbl_offset);
650 wait_for_stat_compl(tdr_cmd);
652 if (!(readw(&tdr_cmd->cmd_status) & STAT_COMPL))
657 result = readw(&tdr_cmd->status);