Home | History | Annotate | Download | only in MMCHSDxe

Lines Matching full:dma4

748   OMAP_DMA4             Dma4;

764 Dma4.DataType = 2; // DMA4_CSDPi[1:0] 32-bit elements from MMCHS_DATA
766 Dma4.SourceEndiansim = 0; // DMA4_CSDPi[21]
768 Dma4.DestinationEndianism = 0; // DMA4_CSDPi[19]
770 Dma4.SourcePacked = 0; // DMA4_CSDPi[6]
772 Dma4.DestinationPacked = 0; // DMA4_CSDPi[13]
774 Dma4.NumberOfElementPerFrame = This->Media->BlockSize/4; // DMA4_CENi (TRM 4K is optimum value)
776 Dma4.NumberOfFramePerTransferBlock = BlockCount; // DMA4_CFNi
778 Dma4.ReadPriority = 0; // DMA4_CCRi[6] Low priority read
780 Dma4.WritePriority = 0; // DMA4_CCRi[23] Prefetech disabled
789 Dma4.ReadPortAccessType =0 ; // DMA4_CSDPi[8:7] Can not burst MMCHS_DATA reg
791 Dma4.WritePortAccessType = 3; // DMA4_CSDPi[15:14] Memory burst 16x32
793 Dma4.WriteMode = 1; // DMA4_CSDPi[17:16] Write posted
797 Dma4.SourceStartAddress = MMCHS_DATA; // DMA4_CSSAi
799 Dma4.DestinationStartAddress = (UINT32)BufferAddress; // DMA4_CDSAi
801 Dma4.SourceElementIndex = 1; // DMA4_CSEi
803 Dma4.SourceFrameIndex = 0x200; // DMA4_CSFi
805 Dma4.DestinationElementIndex = 1; // DMA4_CDEi
807 Dma4.DestinationFrameIndex = 0; // DMA4_CDFi
811 Dma4.ReadPortAccessMode = 0; // DMA4_CCRi[13:12] Always read MMCHS_DATA
813 Dma4.WritePortAccessMode = 1; // DMA4_CCRi[15:14] Post increment memory address
815 Dma4.ReadRequestNumber = 0x1e; // DMA4_CCRi[4:0] Syncro with MMCA_DMA_RX (61)
817 Dma4.WriteRequestNumber = 1; // DMA4_CCRi[20:19] Syncro upper 0x3e == 62 (one based)
824 Dma4.ReadPortAccessType = 3; // DMA4_CSDPi[8:7] Memory burst 16x32
826 Dma4.WritePortAccessType = 0; // DMA4_CSDPi[15:14] Can not burst MMCHS_DATA reg
828 Dma4.WriteMode = 1; // DMA4_CSDPi[17:16] Write posted ???
832 Dma4.SourceStartAddress = (UINT32)BufferAddress; // DMA4_CSSAi
834 Dma4.DestinationStartAddress = MMCHS_DATA; // DMA4_CDSAi
836 Dma4.SourceElementIndex = 1; // DMA4_CSEi
838 Dma4.SourceFrameIndex = 0x200; // DMA4_CSFi
840 Dma4.DestinationElementIndex = 1; // DMA4_CDEi
842 Dma4.DestinationFrameIndex = 0; // DMA4_CDFi
846 Dma4.ReadPortAccessMode = 1; // DMA4_CCRi[13:12] Post increment memory address
848 Dma4.WritePortAccessMode = 0; // DMA4_CCRi[15:14] Always write MMCHS_DATA
850 Dma4.ReadRequestNumber = 0x1d; // DMA4_CCRi[4:0] Syncro with MMCA_DMA_TX (60)
852 Dma4.WriteRequestNumber = 1; // DMA4_CCRi[20:19] Syncro upper 0x3d == 61 (one based)
859 EnableDmaChannel (2, &Dma4);