Lines Matching refs:dma_blk
281 struct dma_block_config dma_blk = { 0 }; in i2c_sam0_dma_write_start() local
289 dma_cfg.head_block = &dma_blk; in i2c_sam0_dma_write_start()
292 dma_blk.block_size = data->msg.size; in i2c_sam0_dma_write_start()
293 dma_blk.source_address = (uint32_t)data->msg.buffer; in i2c_sam0_dma_write_start()
294 dma_blk.dest_address = (uint32_t)(&(i2c->DATA.reg)); in i2c_sam0_dma_write_start()
295 dma_blk.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in i2c_sam0_dma_write_start()
374 struct dma_block_config dma_blk = { 0 }; in i2c_sam0_dma_read_start() local
382 dma_cfg.head_block = &dma_blk; in i2c_sam0_dma_read_start()
385 dma_blk.block_size = data->msg.size - 1; in i2c_sam0_dma_read_start()
386 dma_blk.dest_address = (uint32_t)data->msg.buffer; in i2c_sam0_dma_read_start()
387 dma_blk.source_address = (uint32_t)(&(i2c->DATA.reg)); in i2c_sam0_dma_read_start()
388 dma_blk.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in i2c_sam0_dma_read_start()