Searched refs:fcnt_rx (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c550 int new_z2, fcnt_rx, fcnt_tx, maxlen; local
558 fcnt_rx = le16_to_cpu(*z1r) - le16_to_cpu(*z2r);
559 if (!fcnt_rx)
562 if (fcnt_rx <= 0)
563 fcnt_rx += B_FIFO_SIZE; /* bytes actually buffered */
564 new_z2 = le16_to_cpu(*z2r) + fcnt_rx; /* new position in fifo */
568 if (fcnt_rx > MAX_DATA_SIZE) { /* flush, if oversized */
580 bch->rx_skb = mI_alloc_skb(fcnt_rx, GFP_ATOMIC);
582 ptr = skb_put(bch->rx_skb, fcnt_rx);
583 if (le16_to_cpu(*z2r) + fcnt_rx <
[all...]

Completed in 56 milliseconds