Lines Matching refs:packet_length
304 int packet_length) in smc_send_packet() argument
317 length = ETH_ZLEN < packet_length ? packet_length : ETH_ZLEN; in smc_send_packet()
519 word packet_length; in smc_rcv() local
543 packet_length = stat_len >> 16; in smc_rcv()
546 packet_length = SMC_inw(dev, LAN91C96_DATA_HIGH); in smc_rcv()
549 packet_length &= 0x07ff; /* mask off top bits */ in smc_rcv()
551 PRINTK2 ("RCV: STATUS %4x LENGTH %4x\n", status, packet_length); in smc_rcv()
555 packet_length -= 4; /*4; */ in smc_rcv()
565 packet_length >> 2, packet_length & 3); in smc_rcv()
571 packet_length >> 2); in smc_rcv()
573 if (packet_length & 3) { in smc_rcv()
577 (packet_length & ~3)); in smc_rcv()
580 for (i = 0; i < (packet_length & 3); i++) in smc_rcv()
585 (packet_length >> 1), packet_length & 1); in smc_rcv()
587 packet_length >> 1); in smc_rcv()
593 print_packet((byte *)net_rx_packets[0], packet_length); in smc_rcv()
612 net_process_received_packet(net_rx_packets[0], packet_length); in smc_rcv()
613 return packet_length; in smc_rcv()