Home
last modified time | relevance | path

Searched refs:malo_rxdma (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/malo/
H A Dif_malo.h442 bus_dmamap_sync((sc)->malo_rxdma.dd_dmat, \
443 (sc)->malo_rxdma.dd_dmamap, how); \
548 struct malo_descdma malo_rxdma; /* rx bus dma resources */ member
H A Dif_malo.c508 error = malo_desc_setup(sc, "rx", &sc->malo_rxdma, in malo_rxdma_setup()
524 sc->malo_rxdma.dd_bufptr = bf; in malo_rxdma_setup()
527 ds = sc->malo_rxdma.dd_desc; in malo_rxdma_setup()
530 bf->bf_daddr = DS2PHYS(&sc->malo_rxdma, ds); in malo_rxdma_setup()
615 if (sc->malo_rxdma.dd_bufptr != NULL) { in malo_rxdma_cleanup()
616 free(sc->malo_rxdma.dd_bufptr, M_MALODEV); in malo_rxdma_cleanup()
617 sc->malo_rxdma.dd_bufptr = NULL; in malo_rxdma_cleanup()
619 if (sc->malo_rxdma.dd_desc_len != 0) in malo_rxdma_cleanup()
620 malo_desc_cleanup(sc, &sc->malo_rxdma); in malo_rxdma_cleanup()
720 sc->malo_hwdma.rxdesc_read = sc->malo_rxdma.dd_desc_paddr; in malo_setup_hwdma()