Go to the documentation of this file.
30 #ifndef _ATMEL_SSC_DAI_H
31 #define _ATMEL_SSC_DAI_H
33 #include <linux/types.h>
39 #define ATMEL_SYSCLK_MCK 0
42 #define ATMEL_SSC_CMR_DIV 0
43 #define ATMEL_SSC_TCMR_PERIOD 1
44 #define ATMEL_SSC_RCMR_PERIOD 2
48 #define SSC_DIR_MASK_UNUSED 0
49 #define SSC_DIR_MASK_PLAYBACK 1
50 #define SSC_DIR_MASK_CAPTURE 2
57 #define SSC_START_CONTINUOUS 0
58 #define SSC_START_TX_RX 1
59 #define SSC_START_LOW_RF 2
60 #define SSC_START_HIGH_RF 3
61 #define SSC_START_FALLING_RF 4
62 #define SSC_START_RISING_RF 5
63 #define SSC_START_LEVEL_RF 6
64 #define SSC_START_EDGE_RF 7
65 #define SSS_START_COMPARE_0 8
68 #define SSC_CKI_FALLING 0
69 #define SSC_CKI_RISING 1
72 #define SSC_CKO_NONE 0
73 #define SSC_CKO_CONTINUOUS 1
74 #define SSC_CKO_TRANSFER 2
78 #define SSC_CKS_CLOCK 1
82 #define SSC_FSEDGE_POSITIVE 0
83 #define SSC_FSEDGE_NEGATIVE 1
86 #define SSC_FSOS_NONE 0
87 #define SSC_FSOS_NEGATIVE 1
88 #define SSC_FSOS_POSITIVE 2
89 #define SSC_FSOS_LOW 3
90 #define SSC_FSOS_HIGH 4
91 #define SSC_FSOS_TOGGLE 5