Lines Matching refs:dma_blk
413 struct dma_block_config dma_blk = { 0 }; in spi_sam0_dma_rx_load() local
422 dma_cfg.head_block = &dma_blk; in spi_sam0_dma_rx_load()
425 dma_blk.block_size = len; in spi_sam0_dma_rx_load()
428 dma_blk.dest_address = (uint32_t)buf; in spi_sam0_dma_rx_load()
432 dma_blk.dest_address = (uint32_t)&dummy; in spi_sam0_dma_rx_load()
433 dma_blk.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_sam0_dma_rx_load()
436 dma_blk.source_address = (uint32_t)(&(regs->DATA.reg)); in spi_sam0_dma_rx_load()
437 dma_blk.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_sam0_dma_rx_load()
454 struct dma_block_config dma_blk = { 0 }; in spi_sam0_dma_tx_load() local
461 dma_cfg.head_block = &dma_blk; in spi_sam0_dma_tx_load()
464 dma_blk.block_size = len; in spi_sam0_dma_tx_load()
467 dma_blk.source_address = (uint32_t)buf; in spi_sam0_dma_tx_load()
471 dma_blk.source_address = (uint32_t)&dummy; in spi_sam0_dma_tx_load()
472 dma_blk.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_sam0_dma_tx_load()
475 dma_blk.dest_address = (uint32_t)(&(regs->DATA.reg)); in spi_sam0_dma_tx_load()
476 dma_blk.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_sam0_dma_tx_load()