Searched refs:rx_curr (Results 1 – 4 of 4) sorted by relevance
303 int i, rx_curr; in e1000_refill_rx_ring() local312 rx_curr = ( ( adapter->rx_curr + i ) % NUM_RX_DESC ); in e1000_refill_rx_ring()313 rx_curr_desc = adapter->rx_base + rx_curr; in e1000_refill_rx_ring()318 if ( adapter->rx_iobuf[rx_curr] != NULL ) in e1000_refill_rx_ring()321 DBG2 ( "Refilling rx desc %d\n", rx_curr ); in e1000_refill_rx_ring()324 adapter->rx_iobuf[rx_curr] = iob; in e1000_refill_rx_ring()333 E1000_WRITE_REG ( hw, RDT, rx_curr ); in e1000_refill_rx_ring()398 adapter->rx_curr = 0; in e1000_configure_rx()749 i = adapter->rx_curr; in e1000_poll()787 adapter->rx_curr = ( adapter->rx_curr + 1 ) % NUM_RX_DESC; in e1000_poll()
276 uint32_t rx_curr; member
1700 if ( tp->rx_iobuf[tp->rx_curr] != NULL ) in rtl8169_refill_rx_ring()1739 tp->rx_curr = 0; in rtl8169_setup_rx_resources()1757 rx_curr_desc = tp->rx_base + tp->rx_curr; in rtl8169_process_rx_packets()1768 if ( tp->rx_iobuf[tp->rx_curr] == NULL ) in rtl8169_process_rx_packets()1774 DBG ( "tp->rx_curr = %d\n", tp->rx_curr ); in rtl8169_process_rx_packets()1781 netdev_rx_err ( netdev, tp->rx_iobuf[tp->rx_curr], -EINVAL ); in rtl8169_process_rx_packets()1789 iob_put ( tp->rx_iobuf[tp->rx_curr], rx_len ); in rtl8169_process_rx_packets()1792 netdev_rx ( netdev, tp->rx_iobuf[tp->rx_curr] ); in rtl8169_process_rx_packets()1796 tp->rx_iobuf[tp->rx_curr] = NULL; in rtl8169_process_rx_packets()1800 tp->rx_curr = ( tp->rx_curr + 1 ) % NUM_RX_DESC; in rtl8169_process_rx_packets()
453 uint32_t rx_curr; member