Home | History | Annotate | Download | only in vsa

Lines Matching defs:dh

255 	struct si_dma_handle *dh;
284 dh = &sc->ncr_dma[i];
285 dh->dh_flags = SIDH_BUSY;
286 dh->dh_addr = ncr_sc->sc_dataptr;
287 dh->dh_len = xlen;
291 dh->dh_proc = xs->bp->b_proc;
296 dh->dh_flags |= SIDH_OUT;
298 sr->sr_dma_hand = dh;
305 struct si_dma_handle *dh = sr->sr_dma_hand;
307 if (dh->dh_flags & SIDH_BUSY)
308 dh->dh_flags = 0;
342 struct si_dma_handle *dh = sr->sr_dma_hand;
348 if (dh->dh_flags & SIDH_OUT) {
349 vsbus_copyfromproc(dh->dh_proc, dh->dh_addr,
350 (char *)sc->ncr_addr + sc->ncr_off, dh->dh_len);
358 sc->ncr_dmacount, -dh->dh_len);
364 if (dh->dh_flags & SIDH_OUT) {
403 struct si_dma_handle *dh = sr->sr_dma_hand;
422 if (((dh->dh_flags & SIDH_OUT) == 0)) {
423 vsbus_copytoproc(dh->dh_proc,
425 dh->dh_addr, dh->dh_len);
427 ncr_sc->sc_dataptr += dh->dh_len;
428 ncr_sc->sc_datalen -= dh->dh_len;