Lines Matching refs:hwdescs
88 } hwdescs; member
387 if (desc->hwdescs.use) { in rcar_dmac_chan_start_xfer()
394 chan->index, desc, desc->nchunks, &desc->hwdescs.dma); in rcar_dmac_chan_start_xfer()
402 desc->hwdescs.dma >> 32); in rcar_dmac_chan_start_xfer()
405 (desc->hwdescs.dma & 0xfffffff0) | in rcar_dmac_chan_start_xfer()
738 if (desc->hwdescs.size == size) in rcar_dmac_realloc_hwdesc()
741 if (desc->hwdescs.mem) { in rcar_dmac_realloc_hwdesc()
742 dma_free_coherent(chan->chan.device->dev, desc->hwdescs.size, in rcar_dmac_realloc_hwdesc()
743 desc->hwdescs.mem, desc->hwdescs.dma); in rcar_dmac_realloc_hwdesc()
744 desc->hwdescs.mem = NULL; in rcar_dmac_realloc_hwdesc()
745 desc->hwdescs.size = 0; in rcar_dmac_realloc_hwdesc()
751 desc->hwdescs.mem = dma_alloc_coherent(chan->chan.device->dev, size, in rcar_dmac_realloc_hwdesc()
752 &desc->hwdescs.dma, GFP_NOWAIT); in rcar_dmac_realloc_hwdesc()
753 if (!desc->hwdescs.mem) in rcar_dmac_realloc_hwdesc()
756 desc->hwdescs.size = size; in rcar_dmac_realloc_hwdesc()
767 hwdesc = desc->hwdescs.mem; in rcar_dmac_fill_hwdesc()
1041 desc->hwdescs.use = !cross_boundary && nchunks > 1; in rcar_dmac_chan_prep_sg()
1042 if (desc->hwdescs.use) { in rcar_dmac_chan_prep_sg()
1044 desc->hwdescs.use = false; in rcar_dmac_chan_prep_sg()
1398 if (desc->hwdescs.use) { in rcar_dmac_chan_get_residue()
1533 if (!desc->hwdescs.use) { in rcar_dmac_isr_transfer_end()