Go to the documentation of this file.
27 #define YRAM0_SIZE (0x0040 / 4)
28 #define YRAM1_SIZE (0x0080 / 4)
29 #define YRAM2_SIZE (0x0040 / 4)
30 #define YRAM3_SIZE (0x0080 / 4)
31 #define YRAM4_SIZE (0x0080 / 4)
32 #define YRAM_DEF_SIZE (YRAM0_SIZE + YRAM1_SIZE + YRAM2_SIZE + \
33 YRAM3_SIZE + YRAM4_SIZE)
34 #define YRAM_FIR_SIZE (0x0400 / 4)
35 #define YRAM_IIR_SIZE (0x0200 / 4)
37 #define XRAM0_SIZE (0x0400 / 4)
38 #define XRAM1_SIZE (0x0200 / 4)
39 #define XRAM2_SIZE (0x0200 / 4)
42 #define PRAM0_SIZE (0x0100 / 4)
43 #define PRAM1_SIZE ((0x2000 - 0x0100) / 4)
45 #include <linux/types.h>
80 #define SIU_PERIOD_BYTES_MAX 8192
81 #define SIU_PERIOD_BYTES_MIN 256
82 #define SIU_PERIODS_MAX 64
83 #define SIU_PERIODS_MIN 4
84 #define SIU_BUFFER_BYTES_MAX (SIU_PERIOD_BYTES_MAX * SIU_PERIODS_MAX)
130 unsigned long play_cap;
132 struct siu_stream playback;
133 struct siu_stream capture;
138 extern struct siu_port *
siu_ports[SIU_PORT_NUM];
140 static inline struct siu_port *siu_port_info(
struct snd_pcm_substream *substream)
144 return siu_ports[pdev->
id];
159 #define SIU_IFCTL (0x000 / sizeof(u32))
160 #define SIU_SRCTL (0x004 / sizeof(u32))
161 #define SIU_SFORM (0x008 / sizeof(u32))
162 #define SIU_CKCTL (0x00c / sizeof(u32))
163 #define SIU_TRDAT (0x010 / sizeof(u32))
164 #define SIU_STFIFO (0x014 / sizeof(u32))
165 #define SIU_DPAK (0x01c / sizeof(u32))
166 #define SIU_CKREV (0x020 / sizeof(u32))
167 #define SIU_EVNTC (0x028 / sizeof(u32))
168 #define SIU_SBCTL (0x040 / sizeof(u32))
169 #define SIU_SBPSET (0x044 / sizeof(u32))
170 #define SIU_SBFSTS (0x068 / sizeof(u32))
171 #define SIU_SBDVCA (0x06c / sizeof(u32))
172 #define SIU_SBDVCB (0x070 / sizeof(u32))
173 #define SIU_SBACTIV (0x074 / sizeof(u32))
174 #define SIU_DMAIA (0x090 / sizeof(u32))
175 #define SIU_DMAIB (0x094 / sizeof(u32))
176 #define SIU_DMAOA (0x098 / sizeof(u32))
177 #define SIU_DMAOB (0x09c / sizeof(u32))
178 #define SIU_DMAML (0x0a0 / sizeof(u32))
179 #define SIU_SPSTS (0x0cc / sizeof(u32))
180 #define SIU_SPCTL (0x0d0 / sizeof(u32))
181 #define SIU_BRGASEL (0x100 / sizeof(u32))
182 #define SIU_BRRA (0x104 / sizeof(u32))
183 #define SIU_BRGBSEL (0x108 / sizeof(u32))
184 #define SIU_BRRB (0x10c / sizeof(u32))