Searched refs:tdr_cmd (Results 1 – 5 of 5) sorted by relevance
393 volatile struct tdr_cmd_struct *tdr_cmd; in init586() local470 tdr_cmd = (struct tdr_cmd_struct *)ptr; in init586()472 tdr_cmd->cmd_status = 0; in init586()473 tdr_cmd->cmd_cmd = swab16(CMD_TDR | CMD_LAST); in init586()474 tdr_cmd->cmd_link = 0xffff; in init586()475 tdr_cmd->status = 0; in init586()477 p->scb->cbl_offset = make16(tdr_cmd); in init586()481 WAIT_4_STAT_COMPL(tdr_cmd); in init586()483 if(!(swab16(tdr_cmd->cmd_status) & STAT_COMPL)) in init586()490 result = swab16(tdr_cmd->status); in init586()
544 volatile struct tdr_cmd_struct *tdr_cmd; in init586() local621 tdr_cmd = (struct tdr_cmd_struct *)ptr; in init586()623 tdr_cmd->cmd_status = 0; in init586()624 tdr_cmd->cmd_cmd = CMD_TDR | CMD_LAST; in init586()625 tdr_cmd->cmd_link = 0xffff; in init586()626 tdr_cmd->status = 0; in init586()628 p->scb->cbl_offset = make16(tdr_cmd); in init586()632 WAIT_4_STAT_COMPL(tdr_cmd); in init586()634 if(!(tdr_cmd->cmd_status & STAT_COMPL)) in init586()641 result = tdr_cmd->status; in init586()
607 volatile struct tdr_cmd_struct *tdr_cmd; in init586() local678 tdr_cmd = (struct tdr_cmd_struct *) ptr; in init586()680 tdr_cmd->cmd_status = 0; in init586()681 tdr_cmd->cmd_cmd = CMD_TDR | CMD_LAST; in init586()682 tdr_cmd->cmd_link = 0xffff; in init586()683 tdr_cmd->status = 0; in init586()685 p->scb->cbl_offset = make16(tdr_cmd); in init586()691 while (!(tdr_cmd->cmd_status & STAT_COMPL)) { in init586()701 result = tdr_cmd->status; in init586()
279 struct tdr_cmd { struct371 struct tdr_cmd tdr_cmd __attribute__((aligned(32))); member703 lp->tdr_cmd.cmd.command = CmdTDR; in init_i596_mem()704 CHECK_WBACK(&(lp->tdr_cmd), sizeof(struct tdr_cmd)); in init_i596_mem()705 i596_add_cmd(dev, &lp->tdr_cmd.cmd); in init_i596_mem()1336 unsigned short status = ((struct tdr_cmd *)ptr)->status; in i596_interrupt()
240 struct tdr_cmd { struct321 struct tdr_cmd tdr_cmd; member742 lp->tdr_cmd.cmd.command = CmdTDR; in init_i596_mem()743 i596_add_cmd(dev, &lp->tdr_cmd.cmd); in init_i596_mem()1332 unsigned short status = ((struct tdr_cmd *)ptr)->status; in i596_interrupt()