Lines Matching full:rxc
1120 struct ste_chain_onefrag *rxc; in ste_dma_alloc() local
1283 rxc = &sc->ste_cdata.ste_rx_chain[i]; in ste_dma_alloc()
1284 rxc->ste_ptr = NULL; in ste_dma_alloc()
1285 rxc->ste_mbuf = NULL; in ste_dma_alloc()
1286 rxc->ste_next = NULL; in ste_dma_alloc()
1287 rxc->ste_map = NULL; in ste_dma_alloc()
1289 &rxc->ste_map); in ste_dma_alloc()
1305 struct ste_chain_onefrag *rxc; in ste_dma_free() local
1324 rxc = &sc->ste_cdata.ste_rx_chain[i]; in ste_dma_free()
1325 if (rxc->ste_map != NULL) { in ste_dma_free()
1327 rxc->ste_map); in ste_dma_free()
1328 rxc->ste_map = NULL; in ste_dma_free()
1374 ste_newbuf(struct ste_softc *sc, struct ste_chain_onefrag *rxc) in ste_newbuf() argument
1394 if (rxc->ste_mbuf != NULL) { in ste_newbuf()
1395 bus_dmamap_sync(sc->ste_cdata.ste_rx_tag, rxc->ste_map, in ste_newbuf()
1397 bus_dmamap_unload(sc->ste_cdata.ste_rx_tag, rxc->ste_map); in ste_newbuf()
1399 map = rxc->ste_map; in ste_newbuf()
1400 rxc->ste_map = sc->ste_cdata.ste_rx_sparemap; in ste_newbuf()
1402 bus_dmamap_sync(sc->ste_cdata.ste_rx_tag, rxc->ste_map, in ste_newbuf()
1404 rxc->ste_mbuf = m; in ste_newbuf()
1405 rxc->ste_ptr->ste_status = 0; in ste_newbuf()
1406 rxc->ste_ptr->ste_frag.ste_addr = htole32(segs[0].ds_addr); in ste_newbuf()
1407 rxc->ste_ptr->ste_frag.ste_len = htole32(segs[0].ds_len | in ste_newbuf()