Lines Matching full:burst
56 struct dw_edma_burst *burst; in dw_edma_alloc_burst() local
58 burst = kzalloc(sizeof(*burst), GFP_NOWAIT); in dw_edma_alloc_burst()
59 if (unlikely(!burst)) in dw_edma_alloc_burst()
62 INIT_LIST_HEAD(&burst->list); in dw_edma_alloc_burst()
63 if (chunk->burst) { in dw_edma_alloc_burst()
66 list_add_tail(&burst->list, &chunk->burst->list); in dw_edma_alloc_burst()
70 chunk->burst = burst; in dw_edma_alloc_burst()
73 return burst; in dw_edma_alloc_burst()
113 chunk->burst = NULL; in dw_edma_alloc_chunk()
143 list_for_each_entry_safe(child, _next, &chunk->burst->list, list) { in dw_edma_free_burst()
151 chunk->burst = NULL; in dw_edma_free_burst()
368 struct dw_edma_burst *burst; in dw_edma_device_transfer() local
470 burst = dw_edma_alloc_burst(chunk); in dw_edma_device_transfer()
471 if (unlikely(!burst)) in dw_edma_device_transfer()
475 burst->sz = xfer->xfer.cyclic.len; in dw_edma_device_transfer()
477 burst->sz = sg_dma_len(sg); in dw_edma_device_transfer()
479 burst->sz = xfer->xfer.il->sgl[i % fsz].size; in dw_edma_device_transfer()
481 chunk->ll_region.sz += burst->sz; in dw_edma_device_transfer()
482 desc->alloc_sz += burst->sz; in dw_edma_device_transfer()
485 burst->sar = src_addr; in dw_edma_device_transfer()
487 burst->dar = xfer->xfer.cyclic.paddr; in dw_edma_device_transfer()
490 burst->dar = sg_dma_address(sg); in dw_edma_device_transfer()
499 burst->dar = dst_addr; in dw_edma_device_transfer()
502 burst->dar = dst_addr; in dw_edma_device_transfer()
504 burst->sar = xfer->xfer.cyclic.paddr; in dw_edma_device_transfer()
507 burst->sar = sg_dma_address(sg); in dw_edma_device_transfer()
516 burst->sar = src_addr; in dw_edma_device_transfer()
526 src_addr += burst->sz; in dw_edma_device_transfer()
530 dst_addr += burst->sz; in dw_edma_device_transfer()