Lines Matching refs:packet_length
305 int packet_length) in smc_send_packet() argument
318 length = ETH_ZLEN < packet_length ? packet_length : ETH_ZLEN; in smc_send_packet()
520 word packet_length; in smc_rcv() local
544 packet_length = stat_len >> 16; in smc_rcv()
547 packet_length = SMC_inw(dev, LAN91C96_DATA_HIGH); in smc_rcv()
550 packet_length &= 0x07ff; /* mask off top bits */ in smc_rcv()
552 PRINTK2 ("RCV: STATUS %4x LENGTH %4x\n", status, packet_length); in smc_rcv()
556 packet_length -= 4; /*4; */ in smc_rcv()
566 packet_length >> 2, packet_length & 3); in smc_rcv()
572 packet_length >> 2); in smc_rcv()
574 if (packet_length & 3) { in smc_rcv()
578 (packet_length & ~3)); in smc_rcv()
581 for (i = 0; i < (packet_length & 3); i++) in smc_rcv()
586 (packet_length >> 1), packet_length & 1); in smc_rcv()
588 packet_length >> 1); in smc_rcv()
594 print_packet((byte *)net_rx_packets[0], packet_length); in smc_rcv()
613 net_process_received_packet(net_rx_packets[0], packet_length); in smc_rcv()
614 return packet_length; in smc_rcv()