Home | History | Annotate | Download | only in ic

Lines Matching defs:cur_rx

917 	uint16_t cur_rx, new_rx;
923 cur_rx = (CSR_READ_2(sc, RTK_CURRXADDR) + 16) % RTK_RXBUFLEN;
928 if (limit < cur_rx)
929 max_bytes = (RTK_RXBUFLEN - cur_rx) + limit;
931 max_bytes = limit - cur_rx;
935 rxbufpos = sc->rtk_rx_buf + cur_rx;
936 bus_dmamap_sync(sc->sc_dmat, sc->recv_dmamap, cur_rx,
939 bus_dmamap_sync(sc->sc_dmat, sc->recv_dmamap, cur_rx,
976 cur_rx = 0;
999 cur_rx = (cur_rx + RTK_RXSTAT_LEN) % RTK_RXBUFLEN;
1000 rxbufpos = sc->rtk_rx_buf + cur_rx;
1006 wrap = RTK_RXBUFLEN - cur_rx;
1014 new_rx = cur_rx + total_len;
1058 cur_rx, wrap, BUS_DMASYNC_POSTREAD);
1061 cur_rx, wrap, BUS_DMASYNC_PREREAD);
1062 cur_rx = 0;
1072 cur_rx, total_len, BUS_DMASYNC_POSTREAD);
1075 cur_rx, total_len, BUS_DMASYNC_PREREAD);
1079 cur_rx = new_rx;