Home
last modified time | relevance | path

Searched refs:dst_ch (Results 1 – 1 of 1) sorted by relevance

/arch/blackfin/kernel/
Dbfin_dma.c260 struct dma_register *dst_ch, *src_ch; in early_dma_memcpy() local
275 dst_ch = (struct dma_register *)MDMA_D1_NEXT_DESC_PTR; in early_dma_memcpy()
278 dst_ch = (struct dma_register *)MDMA_D0_NEXT_DESC_PTR; in early_dma_memcpy()
284 else if (bfin_read16(&dst_ch->irq_status) & DMA_DONE) { in early_dma_memcpy()
297 bfin_write32(&dst_ch->start_addr, dst); in early_dma_memcpy()
298 bfin_write16(&dst_ch->x_count, size >> 2); in early_dma_memcpy()
299 bfin_write16(&dst_ch->x_modify, 1 << 2); in early_dma_memcpy()
300 bfin_write16(&dst_ch->irq_status, DMA_DONE | DMA_ERR); in early_dma_memcpy()
310 bfin_write16(&dst_ch->cfg, WNR | DI_EN | DMAEN | WDSIZE_32); in early_dma_memcpy()