Searched refs:tdr_cmd (Results 1 – 3 of 3) sorted by relevance
408 volatile struct tdr_cmd_struct *tdr_cmd; in init586() local482 tdr_cmd = (struct tdr_cmd_struct *)ptr; in init586()484 tdr_cmd->cmd_status = 0; in init586()485 tdr_cmd->cmd_cmd = swab16(CMD_TDR | CMD_LAST); in init586()486 tdr_cmd->cmd_link = 0xffff; in init586()487 tdr_cmd->status = 0; in init586()489 p->scb->cbl_offset = make16(tdr_cmd); in init586()493 WAIT_4_STAT_COMPL(tdr_cmd); in init586()495 if(!(swab16(tdr_cmd->cmd_status) & STAT_COMPL)) in init586()502 result = swab16(tdr_cmd->status); in init586()
213 struct tdr_cmd { struct305 struct tdr_cmd tdr_cmd __attribute__((aligned(32))); member642 dma->tdr_cmd.cmd.command = SWAP16(CmdTDR); in init_i596_mem()643 dma_sync_dev(dev, &(dma->tdr_cmd), sizeof(struct tdr_cmd)); in init_i596_mem()644 i596_add_cmd(dev, &dma->tdr_cmd.cmd); in init_i596_mem()1217 unsigned short status = SWAP16(((struct tdr_cmd *)ptr)->status); in i596_interrupt()
240 struct tdr_cmd { struct321 struct tdr_cmd tdr_cmd; member718 lp->tdr_cmd.cmd.command = CmdTDR; in init_i596_mem()719 i596_add_cmd(dev, &lp->tdr_cmd.cmd); in init_i596_mem()1309 unsigned short status = ((struct tdr_cmd *)ptr)->status; in i596_interrupt()