Lines Matching defs:tmdp
747 struct tmd *tmdp = p->tmdhead + i;
751 buffer[i] = (u32) isa_bus_to_virt(tmdp->u.buffer);
752 blen[i] = tmdp->blen;
753 tmdp->u.s.status = 0x0;
818 struct tmd *tmdp = p->tmdhead + i;
825 tmdp->u.buffer = 0x0;
826 tmdp->u.s.status = XMIT_START | XMIT_END;
827 tmdp->blen = tmdp->status2 = 0;
986 struct tmd *tmdp = p->tmdhead + p->tmdlast;
987 int tmdstat = tmdp->u.s.status;
995 if(tmdp->status2 & XMIT_TDRMASK && debuglevel > 3)
999 if(tmdp->status2 & XMIT_RTRY)
1001 if(tmdp->status2 & XMIT_LCAR)
1003 if(tmdp->status2 & (XMIT_BUFF | XMIT_UFLO )) {
1009 tmdp->u.s.status = XMIT_OWN | XMIT_START | XMIT_END; /* test: resend this frame */
1017 printk(KERN_ERR "%s: xmit-error: %04x %02x-%04x\n",dev->name,csr0,(int) tmdstat,(int) tmdp->status2);
1020 tmdp->status2 = 0;
1023 dev->stats.tx_bytes -= (short)(tmdp->blen);
1168 struct tmd *tmdp;
1183 tmdp = p->tmdhead + p->tmdnum;
1184 tmdp->u.buffer = (u32) isa_virt_to_bus(p->tmdbounce[p->tmdbouncenum]);
1192 tmdp = p->tmdhead + p->tmdnum;
1193 tmdp->u.buffer = (u32) isa_virt_to_bus(skb->data);
1197 tmdp->blen = -len;
1199 tmdp->u.s.status = XMIT_OWN | XMIT_START | XMIT_END;