tag | line | file | source code |
packet_length | 1432 | drivers/net/smc9194.c | word packet_length; |
packet_length | 1450 | drivers/net/smc9194.c | packet_length = inw( ioaddr + DATA_1 ); |
packet_length | 1452 | drivers/net/smc9194.c | packet_length &= 0x07ff; /* mask off top bits */ |
packet_length | 1454 | drivers/net/smc9194.c | PRINTK2(("RCV: STATUS %4x LENGTH %4x\n", status, packet_length )); |
packet_length | 1459 | drivers/net/smc9194.c | packet_length -= 6; |
packet_length | 1468 | drivers/net/smc9194.c | packet_length++; |
packet_length | 1475 | drivers/net/smc9194.c | skb = alloc_skb( packet_length + 5, GFP_ATOMIC ); |
packet_length | 1477 | drivers/net/smc9194.c | skb = dev_alloc_skb( packet_length + 5); |
packet_length | 1497 | drivers/net/smc9194.c | skb->len = packet_length; |
packet_length | 1500 | drivers/net/smc9194.c | data = skb_put( skb, packet_length); |
packet_length | 1508 | drivers/net/smc9194.c | packet_length >> 2, packet_length & 3 )); |
packet_length | 1509 | drivers/net/smc9194.c | insl(ioaddr + DATA_1 , data, packet_length >> 2 ); |
packet_length | 1511 | drivers/net/smc9194.c | insb( ioaddr + DATA_1, data + (packet_length & 0xFFFFFC), |
packet_length | 1512 | drivers/net/smc9194.c | packet_length & 0x3 ); |
packet_length | 1515 | drivers/net/smc9194.c | (packet_length >> 1 ), packet_length & 1 ); |
packet_length | 1516 | drivers/net/smc9194.c | if ( packet_length & 1 ) |
packet_length | 1518 | drivers/net/smc9194.c | insw(ioaddr + DATA_1 , data, (packet_length + 1 ) >> 1); |
packet_length | 1519 | drivers/net/smc9194.c | if ( packet_length & 1 ) { |
packet_length | 1520 | drivers/net/smc9194.c | data += packet_length & ~1; |
packet_length | 1525 | drivers/net/smc9194.c | print_packet( data, packet_length ); |