Lines Matching refs:packet_length
1129 word packet_length; in smc_rcv() local
1147 packet_length = inw( ioaddr + DATA_1 ); in smc_rcv()
1149 packet_length &= 0x07ff; /* mask off top bits */ in smc_rcv()
1151 PRINTK2(("RCV: STATUS %4x LENGTH %4x\n", status, packet_length )); in smc_rcv()
1156 packet_length -= 6; in smc_rcv()
1165 packet_length++; in smc_rcv()
1171 skb = netdev_alloc_skb(dev, packet_length + 5); in smc_rcv()
1184 data = skb_put( skb, packet_length); in smc_rcv()
1192 packet_length >> 2, packet_length & 3 )); in smc_rcv()
1193 insl(ioaddr + DATA_1 , data, packet_length >> 2 ); in smc_rcv()
1195 insb( ioaddr + DATA_1, data + (packet_length & 0xFFFFFC), in smc_rcv()
1196 packet_length & 0x3 ); in smc_rcv()
1199 (packet_length >> 1 ), packet_length & 1 )); in smc_rcv()
1200 insw(ioaddr + DATA_1 , data, packet_length >> 1); in smc_rcv()
1201 if ( packet_length & 1 ) { in smc_rcv()
1202 data += packet_length & ~1; in smc_rcv()
1207 print_packet( data, packet_length ); in smc_rcv()
1213 dev->stats.rx_bytes += packet_length; in smc_rcv()