Lines Matching +full:0 +full:x040000
17 #define FSL_DMA_MAX_SIZE (0x3ffffff)
64 volatile fsl_dma_t *dma = &dma_base->dma[0]; in dma_check()
76 if (status != 0) in dma_check()
84 volatile fsl_dma_t *dma = &dma_base->dma[0]; 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()
100 out_dma32(&dma->dar, (u32) (dest & 0xFFFFFFFF)); in dmacpy()
101 out_dma32(&dma->sar, (u32) (src & 0xFFFFFFFF)); in dmacpy()
128 return 0; in dmacpy()
140 uint *p = 0; in dma_meminit()
141 uint i = 0; in dma_meminit()
143 for (*p = 0; p < (uint *)(8 * 1024); p++) { in dma_meminit()
144 if (((uint)p & 0x1f) == 0) in dma_meminit()
149 if (((uint)p & 0x1c) == 0x1c) in dma_meminit()
153 dmacpy(0x002000, 0, 0x002000); /* 8K */ in dma_meminit()
154 dmacpy(0x004000, 0, 0x004000); /* 16K */ in dma_meminit()
155 dmacpy(0x008000, 0, 0x008000); /* 32K */ in dma_meminit()
156 dmacpy(0x010000, 0, 0x010000); /* 64K */ in dma_meminit()
157 dmacpy(0x020000, 0, 0x020000); /* 128K */ in dma_meminit()
158 dmacpy(0x040000, 0, 0x040000); /* 256K */ in dma_meminit()
159 dmacpy(0x080000, 0, 0x080000); /* 512K */ in dma_meminit()
160 dmacpy(0x100000, 0, 0x100000); /* 1M */ in dma_meminit()
161 dmacpy(0x200000, 0, 0x200000); /* 2M */ in dma_meminit()
162 dmacpy(0x400000, 0, 0x400000); /* 4M */ in dma_meminit()
164 for (i = 1; i < size / 0x800000; i++) in dma_meminit()
165 dmacpy((0x800000 * i), 0, 0x800000); in dma_meminit()