Lines Matching refs:cur_rx
1122 uint16_t cur_rx; in rl_rxeof() local
1131 cur_rx = (CSR_READ_2(sc, RL_CURRXADDR) + 16) % RL_RXBUFLEN; in rl_rxeof()
1136 if (limit < cur_rx) in rl_rxeof()
1137 max_bytes = (RL_RXBUFLEN - cur_rx) + limit; in rl_rxeof()
1139 max_bytes = limit - cur_rx; in rl_rxeof()
1149 rxbufpos = sc->rl_cdata.rl_rx_buf + cur_rx; in rl_rxeof()
1193 ((cur_rx + sizeof(uint32_t)) % RL_RXBUFLEN); in rl_rxeof()
1204 cur_rx = (total_len - wrap + ETHER_CRC_LEN); in rl_rxeof()
1208 cur_rx += total_len + 4 + ETHER_CRC_LEN; in rl_rxeof()
1212 cur_rx = (cur_rx + 3) & ~3; in rl_rxeof()
1213 CSR_WRITE_2(sc, RL_CURRXADDR, cur_rx - 16); in rl_rxeof()