Searched refs:next_packet (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/net/ |
D | seeq8005.c | 496 int next_packet; in seeq8005_rx() local 505 next_packet = ntohs(inw(SEEQ_BUFFER)); in seeq8005_rx() 509 … printk("%s: 0x%04x recv next=0x%04x, hdr=0x%04x\n",dev->name,lp->receive_ptr,next_packet,pkt_hdr); in seeq8005_rx() 512 if ((next_packet == 0) || ((pkt_hdr & SEEQPKTH_CHAIN)==0)) { /* Read all the frames? */ in seeq8005_rx() 519 if (next_packet < lp->receive_ptr) { in seeq8005_rx() 520 pkt_len = (next_packet + 0x10000 - ((DEFAULT_TEA+1)<<8)) - lp->receive_ptr - 4; in seeq8005_rx() 522 pkt_len = next_packet - lp->receive_ptr - 4; in seeq8005_rx() 525 if (next_packet < ((DEFAULT_TEA+1)<<8)) { /* is the next_packet address sane? */ in seeq8005_rx() 531 lp->receive_ptr = next_packet; in seeq8005_rx()
|
D | enc28j60.c | 903 u16 erxrdpt, next_packet, rxstat; in enc28j60_hw_rx() local 931 next_packet = rsv[1]; in enc28j60_hw_rx() 932 next_packet <<= 8; in enc28j60_hw_rx() 933 next_packet |= rsv[0]; in enc28j60_hw_rx() 944 enc28j60_dump_rsv(priv, __func__, next_packet, len, rxstat); in enc28j60_hw_rx() 984 erxrdpt = erxrdpt_workaround(next_packet, RXSTART_INIT, RXEND_INIT); in enc28j60_hw_rx() 1001 priv->next_pk_ptr = next_packet; in enc28j60_hw_rx()
|