Lines Matching refs:dma
64 volatile fsl_dma_t *dma = &dma_base->dma[0]; in dma_check() local
69 status = in_dma32(&dma->sr); in dma_check()
73 out_dma32(&dma->mr, in_dma32(&dma->mr) & ~FSL_DMA_MR_CS); in dma_check()
84 volatile fsl_dma_t *dma = &dma_base->dma[0]; in dma_init() local
86 out_dma32(&dma->satr, FSL_DMA_SATR_SREAD_SNOOP); in dma_init()
87 out_dma32(&dma->datr, FSL_DMA_DATR_DWRITE_SNOOP); in dma_init()
88 out_dma32(&dma->sr, 0xffffffff); /* clear any errors */ in dma_init()
94 volatile fsl_dma_t *dma = &dma_base->dma[0]; in dmacpy() local
100 out_dma32(&dma->dar, (u32) (dest & 0xFFFFFFFF)); in dmacpy()
101 out_dma32(&dma->sar, (u32) (src & 0xFFFFFFFF)); in dmacpy()
103 out_dma32(&dma->satr, in dmacpy()
104 in_dma32(&dma->satr) | (u32)((u64)src >> 32)); in dmacpy()
105 out_dma32(&dma->datr, in dmacpy()
106 in_dma32(&dma->datr) | (u32)((u64)dest >> 32)); in dmacpy()
108 out_dma32(&dma->bcr, xfer_size); in dmacpy()
112 out_dma32(&dma->mr, FSL_DMA_MR_DEFAULT); in dmacpy()
116 out_dma32(&dma->mr, FSL_DMA_MR_DEFAULT | FSL_DMA_MR_CS); in dmacpy()