Lines Matching refs:rx_curr
1700 if ( tp->rx_iobuf[tp->rx_curr] != NULL )
1739 tp->rx_curr = 0;
1757 rx_curr_desc = tp->rx_base + tp->rx_curr;
1768 if ( tp->rx_iobuf[tp->rx_curr] == NULL )
1774 DBG ( "tp->rx_curr = %d\n", tp->rx_curr );
1781 netdev_rx_err ( netdev, tp->rx_iobuf[tp->rx_curr], -EINVAL );
1789 iob_put ( tp->rx_iobuf[tp->rx_curr], rx_len );
1792 netdev_rx ( netdev, tp->rx_iobuf[tp->rx_curr] );
1796 tp->rx_iobuf[tp->rx_curr] = NULL;
1800 tp->rx_curr = ( tp->rx_curr + 1 ) % NUM_RX_DESC;