Searched refs:current_read (Results 1 – 1 of 1) sorted by relevance
119 u32 current_read; in dc_intr_rx() local127 current_read = sc->ether.rx_ring_current_read; in dc_intr_rx()128 dev_dbg(&sc->pdev->dev, "intr_rx current_read = %d\n", current_read); in dc_intr_rx()132 while (!(sc->ether.rx_ring[current_read].rdes0 & in dc_intr_rx()134 current_desc = &sc->ether.rx_ring[current_read]; in dc_intr_rx()139 current_read = (current_read + 1) % SBE_2T3E3_RX_DESC_RING_SIZE; in dc_intr_rx()141 sc->ether.rx_ring_current_read = current_read; in dc_intr_rx()145 while (!(sc->ether.rx_ring[current_read].rdes0 & in dc_intr_rx()147 current_desc = &sc->ether.rx_ring[current_read]; in dc_intr_rx()152 m = sc->ether.rx_data[current_read]; in dc_intr_rx()[all …]