Lines Matching refs:cur_rx
1114 uint16_t cur_rx; in rl_rxeof() local
1123 cur_rx = (CSR_READ_2(sc, RL_CURRXADDR) + 16) % RL_RXBUFLEN; in rl_rxeof()
1128 if (limit < cur_rx) in rl_rxeof()
1129 max_bytes = (RL_RXBUFLEN - cur_rx) + limit; in rl_rxeof()
1131 max_bytes = limit - cur_rx; in rl_rxeof()
1141 rxbufpos = sc->rl_cdata.rl_rx_buf + cur_rx; in rl_rxeof()
1185 ((cur_rx + sizeof(uint32_t)) % RL_RXBUFLEN); in rl_rxeof()
1196 cur_rx = (total_len - wrap + ETHER_CRC_LEN); in rl_rxeof()
1200 cur_rx += total_len + 4 + ETHER_CRC_LEN; in rl_rxeof()
1204 cur_rx = (cur_rx + 3) & ~3; in rl_rxeof()
1205 CSR_WRITE_2(sc, RL_CURRXADDR, cur_rx - 16); in rl_rxeof()