Home
last modified time | relevance | path

Searched refs:tdr_cmd (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dsun3_82586.c393 volatile struct tdr_cmd_struct *tdr_cmd; in init586() local
470 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()
Dni52.c544 volatile struct tdr_cmd_struct *tdr_cmd; in init586() local
621 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()
D3c523.c607 volatile struct tdr_cmd_struct *tdr_cmd; in init586() local
678 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()
Dlasi_82596.c279 struct tdr_cmd { struct
371 struct tdr_cmd tdr_cmd __attribute__((aligned(32))); member
703 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()
D82596.c240 struct tdr_cmd { struct
321 struct tdr_cmd tdr_cmd; member
742 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()