Lines Matching refs:local_block

155 	struct dma_block_config local_block;  in dma_mcux_lpc_queue_descriptors()  local
158 memcpy(&local_block, block, sizeof(struct dma_block_config)); in dma_mcux_lpc_queue_descriptors()
172 if ((local_block.block_size > max_xfer_bytes) || in dma_mcux_lpc_queue_descriptors()
173 (local_block.next_block != NULL)) { in dma_mcux_lpc_queue_descriptors()
179 if (local_block.next_block == NULL) { in dma_mcux_lpc_queue_descriptors()
184 if (!local_block.source_reload_en) { in dma_mcux_lpc_queue_descriptors()
213 if ((local_block.source_addr_adj == DMA_ADDR_ADJ_NO_CHANGE) && in dma_mcux_lpc_queue_descriptors()
214 (local_block.dest_addr_adj == DMA_ADDR_ADJ_NO_CHANGE)) { in dma_mcux_lpc_queue_descriptors()
221 if (local_block.block_size > max_xfer_bytes) { in dma_mcux_lpc_queue_descriptors()
251 MIN(local_block.block_size, max_xfer_bytes)); in dma_mcux_lpc_queue_descriptors()
254 rw6xx_dma_addr_fixup(&local_block); in dma_mcux_lpc_queue_descriptors()
258 (void *)local_block.source_address, in dma_mcux_lpc_queue_descriptors()
259 (void *)local_block.dest_address, in dma_mcux_lpc_queue_descriptors()
264 if (local_block.block_size > max_xfer_bytes) { in dma_mcux_lpc_queue_descriptors()
265 local_block.block_size -= max_xfer_bytes; in dma_mcux_lpc_queue_descriptors()
267 local_block.source_address += max_xfer_bytes; in dma_mcux_lpc_queue_descriptors()
270 local_block.dest_address += max_xfer_bytes; in dma_mcux_lpc_queue_descriptors()
273 local_block.block_size = 0; in dma_mcux_lpc_queue_descriptors()
275 } while (local_block.block_size > 0); in dma_mcux_lpc_queue_descriptors()
296 MIN(local_block.block_size, max_xfer_bytes)); in dma_mcux_lpc_queue_descriptors()
300 rw6xx_dma_addr_fixup(&local_block); in dma_mcux_lpc_queue_descriptors()
304 (void *)local_block.source_address, in dma_mcux_lpc_queue_descriptors()
305 (void *)local_block.dest_address, in dma_mcux_lpc_queue_descriptors()
633 struct dma_block_config local_block = { 0 }; in dma_mcux_lpc_configure() local
636 local_block.source_address = block_config->source_address in dma_mcux_lpc_configure()
639 local_block.source_address = block_config->source_address; in dma_mcux_lpc_configure()
642 local_block.dest_address = block_config->dest_address in dma_mcux_lpc_configure()
645 local_block.dest_address = block_config->dest_address; in dma_mcux_lpc_configure()
647 local_block.block_size = block_config->block_size - max_xfer_bytes; in dma_mcux_lpc_configure()
648 local_block.next_block = block_config->next_block; in dma_mcux_lpc_configure()
649 local_block.source_reload_en = reload; in dma_mcux_lpc_configure()
656 if (dma_mcux_lpc_queue_descriptors(data, &local_block, in dma_mcux_lpc_configure()
788 struct dma_block_config local_block = { 0 }; in dma_mcux_lpc_reload() local
790 local_block.source_address = src; in dma_mcux_lpc_reload()
791 local_block.dest_address = dst; in dma_mcux_lpc_reload()
792 local_block.block_size = size; in dma_mcux_lpc_reload()
793 local_block.source_reload_en = 1; in dma_mcux_lpc_reload()
794 dma_mcux_lpc_queue_descriptors(data, &local_block, in dma_mcux_lpc_reload()