Home | History | Annotate | Download | only in xscale

Lines Matching defs:dreq

510 	struct dmover_request *dreq;
524 while ((dreq = TAILQ_FIRST(&dmb->dmb_pendreqs)) != NULL &&
530 dmover_backend_remque(dmb, dreq);
531 dreq->dreq_flags |= DMOVER_REQ_RUNNING;
533 ds->ds_current = dreq;
535 switch (dreq->dreq_outbuf_type) {
537 len_dst = dreq->dreq_outbuf.dmbuf_linear.l_len;
540 len_dst = dreq->dreq_outbuf.dmbuf_uio->uio_resid;
549 if (dreq->dreq_assignment->das_algdesc->dad_ninputs) {
555 switch (dreq->dreq_inbuf_type) {
557 len_src= dreq->dreq_inbuf[0].dmbuf_linear.l_len;
561 dreq->dreq_inbuf[0].dmbuf_linear.l_addr,
569 uio = dreq->dreq_inbuf[0].dmbuf_uio;
587 if (dreq->dreq_assignment->das_algdesc->dad_name ==
600 if (dreq->dreq_assignment->das_algdesc->dad_name ==
610 memset(ds->ds_fill_va, dreq->dreq_immediate[0],
626 switch (dreq->dreq_outbuf_type) {
629 dreq->dreq_outbuf.dmbuf_linear.l_addr,
636 if (dreq->dreq_outbuf.dmbuf_uio->uio_rw != UIO_READ)
639 dreq->dreq_outbuf.dmbuf_uio,
648 dreq->dreq_error = EINVAL;
649 dreq->dreq_flags |= DMOVER_REQ_ERROR;
652 dmover_done(dreq);
676 dreq->dreq_error = rv;
677 dreq->dreq_flags |= DMOVER_REQ_ERROR;
680 dmover_done(dreq);
693 struct dmover_request *dreq = ds->ds_current;
699 KDASSERT(dreq != NULL);
719 dreq->dreq_error = error;
720 dreq->dreq_flags |= DMOVER_REQ_ERROR;
722 if (dreq->dreq_outbuf_type == DMOVER_BUF_UIO)
723 dreq->dreq_outbuf.dmbuf_uio->uio_resid = 0;
724 if (dreq->dreq_assignment->das_algdesc->dad_ninputs &&
725 dreq->dreq_inbuf_type == DMOVER_BUF_UIO)
726 dreq->dreq_inbuf[0].dmbuf_uio->uio_resid = 0;
732 dmover_done(dreq);