Lines Matching refs:rxc
1118 struct ste_chain_onefrag *rxc; in ste_dma_alloc() local
1281 rxc = &sc->ste_cdata.ste_rx_chain[i]; in ste_dma_alloc()
1282 rxc->ste_ptr = NULL; in ste_dma_alloc()
1283 rxc->ste_mbuf = NULL; in ste_dma_alloc()
1284 rxc->ste_next = NULL; in ste_dma_alloc()
1285 rxc->ste_map = NULL; in ste_dma_alloc()
1287 &rxc->ste_map); in ste_dma_alloc()
1303 struct ste_chain_onefrag *rxc; in ste_dma_free() local
1322 rxc = &sc->ste_cdata.ste_rx_chain[i]; in ste_dma_free()
1323 if (rxc->ste_map != NULL) { in ste_dma_free()
1325 rxc->ste_map); in ste_dma_free()
1326 rxc->ste_map = NULL; in ste_dma_free()
1372 ste_newbuf(struct ste_softc *sc, struct ste_chain_onefrag *rxc) in ste_newbuf() argument
1392 if (rxc->ste_mbuf != NULL) { in ste_newbuf()
1393 bus_dmamap_sync(sc->ste_cdata.ste_rx_tag, rxc->ste_map, in ste_newbuf()
1395 bus_dmamap_unload(sc->ste_cdata.ste_rx_tag, rxc->ste_map); in ste_newbuf()
1397 map = rxc->ste_map; in ste_newbuf()
1398 rxc->ste_map = sc->ste_cdata.ste_rx_sparemap; in ste_newbuf()
1400 bus_dmamap_sync(sc->ste_cdata.ste_rx_tag, rxc->ste_map, in ste_newbuf()
1402 rxc->ste_mbuf = m; in ste_newbuf()
1403 rxc->ste_ptr->ste_status = 0; in ste_newbuf()
1404 rxc->ste_ptr->ste_frag.ste_addr = htole32(segs[0].ds_addr); in ste_newbuf()
1405 rxc->ste_ptr->ste_frag.ste_len = htole32(segs[0].ds_len | in ste_newbuf()