• Home
  • Raw
  • Download

Lines Matching refs:chunk

388 		struct rcar_dmac_xfer_chunk *chunk =  in rcar_dmac_chan_start_xfer()  local
398 chunk->src_addr >> 32); in rcar_dmac_chan_start_xfer()
400 chunk->dst_addr >> 32); in rcar_dmac_chan_start_xfer()
419 chunk->dst_addr & 0xffffffff); in rcar_dmac_chan_start_xfer()
449 struct rcar_dmac_xfer_chunk *chunk = desc->running; in rcar_dmac_chan_start_xfer() local
453 chan->index, chunk, chunk->size, &chunk->src_addr, in rcar_dmac_chan_start_xfer()
454 &chunk->dst_addr); in rcar_dmac_chan_start_xfer()
458 chunk->src_addr >> 32); in rcar_dmac_chan_start_xfer()
460 chunk->dst_addr >> 32); in rcar_dmac_chan_start_xfer()
463 chunk->src_addr & 0xffffffff); in rcar_dmac_chan_start_xfer()
465 chunk->dst_addr & 0xffffffff); in rcar_dmac_chan_start_xfer()
467 chunk->size >> desc->xfer_shift); in rcar_dmac_chan_start_xfer()
673 struct rcar_dmac_xfer_chunk *chunk = &page->chunks[i]; in rcar_dmac_xfer_chunk_alloc() local
675 list_add_tail(&chunk->node, &list); in rcar_dmac_xfer_chunk_alloc()
698 struct rcar_dmac_xfer_chunk *chunk; in rcar_dmac_xfer_chunk_get() local
718 chunk = list_first_entry(&chan->desc.chunks_free, in rcar_dmac_xfer_chunk_get()
720 list_del(&chunk->node); in rcar_dmac_xfer_chunk_get()
724 return chunk; in rcar_dmac_xfer_chunk_get()
762 struct rcar_dmac_xfer_chunk *chunk; in rcar_dmac_fill_hwdesc() local
771 list_for_each_entry(chunk, &desc->chunks, node) { in rcar_dmac_fill_hwdesc()
772 hwdesc->sar = chunk->src_addr; in rcar_dmac_fill_hwdesc()
773 hwdesc->dar = chunk->dst_addr; in rcar_dmac_fill_hwdesc()
774 hwdesc->tcr = chunk->size >> desc->xfer_shift; in rcar_dmac_fill_hwdesc()
933 struct rcar_dmac_xfer_chunk *chunk; in rcar_dmac_chan_prep_sg() local
998 chunk = rcar_dmac_xfer_chunk_get(chan); in rcar_dmac_chan_prep_sg()
999 if (!chunk) { in rcar_dmac_chan_prep_sg()
1005 chunk->src_addr = dev_addr; in rcar_dmac_chan_prep_sg()
1006 chunk->dst_addr = mem_addr; in rcar_dmac_chan_prep_sg()
1008 chunk->src_addr = mem_addr; in rcar_dmac_chan_prep_sg()
1009 chunk->dst_addr = dev_addr; in rcar_dmac_chan_prep_sg()
1012 chunk->size = size; in rcar_dmac_chan_prep_sg()
1016 chan->index, chunk, desc, i, sg, size, len, in rcar_dmac_chan_prep_sg()
1017 &chunk->src_addr, &chunk->dst_addr); in rcar_dmac_chan_prep_sg()
1025 list_add_tail(&chunk->node, &desc->chunks); in rcar_dmac_chan_prep_sg()
1320 struct rcar_dmac_xfer_chunk *chunk; in rcar_dmac_chan_get_residue() local
1409 list_for_each_entry_reverse(chunk, &desc->chunks, node) { in rcar_dmac_chan_get_residue()
1410 if (chunk == running || ++dptr == desc->nchunks) in rcar_dmac_chan_get_residue()
1413 residue += chunk->size; in rcar_dmac_chan_get_residue()