Lines Matching refs:pktlen
981 unsigned rsr, pktlen; in xirc2ps_interrupt() local
1033 pktlen = GetWord(XIRCREG0_RBC); in xirc2ps_interrupt()
1034 bytes_rcvd += pktlen; in xirc2ps_interrupt()
1036 pr_debug("rsr=%#02x packet_length=%u\n", rsr, pktlen); in xirc2ps_interrupt()
1039 skb = netdev_alloc_skb(dev, pktlen + 3); in xirc2ps_interrupt()
1053 if (rhsa + pktlen > 0x8000) { in xirc2ps_interrupt()
1055 u_char *buf = skb_put(skb, pktlen); in xirc2ps_interrupt()
1056 for (i=0; i < pktlen ; i++, rhsa++) { in xirc2ps_interrupt()
1065 skb_put(skb, pktlen), (pktlen+1)>>1); in xirc2ps_interrupt()
1079 u_long *p = skb_put(skb, pktlen); in xirc2ps_interrupt()
1092 insw(ioaddr+XIRCREG_EDP, skb_put(skb, pktlen), in xirc2ps_interrupt()
1093 (pktlen+1)>>1); in xirc2ps_interrupt()
1098 dev->stats.rx_bytes += pktlen; in xirc2ps_interrupt()
1220 unsigned pktlen = skb->len; in do_start_xmit() local
1223 skb, dev, pktlen); in do_start_xmit()
1233 if (pktlen < ETH_ZLEN) in do_start_xmit()
1237 pktlen = ETH_ZLEN; in do_start_xmit()
1242 PutWord(XIRCREG0_TRS, (u_short)pktlen+2); in do_start_xmit()
1247 okay = pktlen +2 < freespace; in do_start_xmit()
1254 PutWord(XIRCREG_EDP, (u_short)pktlen); in do_start_xmit()
1255 outsw(ioaddr+XIRCREG_EDP, skb->data, pktlen>>1); in do_start_xmit()
1256 if (pktlen & 1) in do_start_xmit()
1257 PutByte(XIRCREG_EDP, skb->data[pktlen-1]); in do_start_xmit()
1263 dev->stats.tx_bytes += pktlen; in do_start_xmit()