Lines Matching refs:pktlen
976 unsigned rsr, pktlen; in xirc2ps_interrupt() local
1028 pktlen = GetWord(XIRCREG0_RBC); in xirc2ps_interrupt()
1029 bytes_rcvd += pktlen; in xirc2ps_interrupt()
1031 pr_debug("rsr=%#02x packet_length=%u\n", rsr, pktlen); in xirc2ps_interrupt()
1034 skb = netdev_alloc_skb(dev, pktlen + 3); in xirc2ps_interrupt()
1048 if (rhsa + pktlen > 0x8000) { in xirc2ps_interrupt()
1050 u_char *buf = skb_put(skb, pktlen); in xirc2ps_interrupt()
1051 for (i=0; i < pktlen ; i++, rhsa++) { in xirc2ps_interrupt()
1060 skb_put(skb, pktlen), (pktlen+1)>>1); in xirc2ps_interrupt()
1074 u_long *p = skb_put(skb, pktlen); in xirc2ps_interrupt()
1087 insw(ioaddr+XIRCREG_EDP, skb_put(skb, pktlen), in xirc2ps_interrupt()
1088 (pktlen+1)>>1); in xirc2ps_interrupt()
1093 dev->stats.rx_bytes += pktlen; in xirc2ps_interrupt()
1215 unsigned pktlen = skb->len; in do_start_xmit() local
1218 skb, dev, pktlen); in do_start_xmit()
1228 if (pktlen < ETH_ZLEN) in do_start_xmit()
1232 pktlen = ETH_ZLEN; in do_start_xmit()
1237 PutWord(XIRCREG0_TRS, (u_short)pktlen+2); in do_start_xmit()
1242 okay = pktlen +2 < freespace; in do_start_xmit()
1249 PutWord(XIRCREG_EDP, (u_short)pktlen); in do_start_xmit()
1250 outsw(ioaddr+XIRCREG_EDP, skb->data, pktlen>>1); in do_start_xmit()
1251 if (pktlen & 1) in do_start_xmit()
1252 PutByte(XIRCREG_EDP, skb->data[pktlen-1]); in do_start_xmit()
1258 dev->stats.tx_bytes += pktlen; in do_start_xmit()