Go to the documentation of this file. 1 #ifndef _ASM_CRIS_SVINTO_H
2 #define _ASM_CRIS_SVINTO_H
42 #define RESET_DMA_NUM( n ) \
43 *R_DMA_CH##n##_CMD = IO_STATE( R_DMA_CH0_CMD, cmd, reset )
48 #define RESET_DMA( n ) RESET_DMA_NUM( n )
52 #define WAIT_DMA_NUM( n ) \
53 while( (*R_DMA_CH##n##_CMD & IO_MASK( R_DMA_CH0_CMD, cmd )) != \
54 IO_STATE( R_DMA_CH0_CMD, cmd, hold ) )
59 #define WAIT_DMA( n ) WAIT_DMA_NUM( n )