Home | History | Annotate | Download | only in dev

Lines Matching defs:dh

262 	struct si_dma_handle *dh;
305 dh = &sc->sc_dma[i];
306 dh->dh_flags = SIDH_BUSY;
311 dh->dh_dmaaddr = sc->sc_dmap->dm_segs[0].ds_addr;
312 dh->dh_dmalen = xlen;
316 dh->dh_flags |= SIDH_OUT;
318 bus_dmamap_sync(sc->sc_dmat, sc->sc_dmap, 0, dh->dh_dmalen,
319 (dh->dh_flags & SIDH_OUT) == 0 ?
331 dh->dh_flags |= SIDH_PHYS;
335 sr->sr_dma_hand = dh;
346 struct si_dma_handle *dh = sr->sr_dma_hand;
349 if (dh == NULL)
356 if (dh->dh_flags & SIDH_BUSY) {
357 bus_dmamap_sync(sc->sc_dmat, sc->sc_dmap, 0, dh->dh_dmalen,
358 (dh->dh_flags & SIDH_OUT) == 0 ?
361 dh->dh_dmaaddr = 0;
362 dh->dh_flags = 0;