Lines Matching defs:dma
400 * under the control of a dma descriptor
405 struct rxe_dma_info *dma,
412 struct rxe_sge *sge = &dma->sge[dma->cur_sge];
413 int offset = dma->sge_offset;
414 int resid = dma->resid;
444 dma->cur_sge++;
447 if (dma->cur_sge >= dma->num_sge) {
481 dma->sge_offset = offset;
482 dma->resid = resid;
496 int advance_dma_data(struct rxe_dma_info *dma, unsigned int length)
498 struct rxe_sge *sge = &dma->sge[dma->cur_sge];
499 int offset = dma->sge_offset;
500 int resid = dma->resid;
507 dma->cur_sge++;
509 if (dma->cur_sge >= dma->num_sge)
523 dma->sge_offset = offset;
524 dma->resid = resid;