Lines Matching full:ssi
8 // enable SSI output pins!
12 * The SSI unit has only one physical data line, so full duplex is
14 * other SSI unit for recording; however the SH7780 has only 1 SSI
18 * The SSI features "compressed mode": in this mode it continuously
57 #define CR_MUTE (1 << 3) /* SSI mute */
60 #define CR_EN (1 << 0) /* enable SSI */
62 #define SSIREG(reg) (*(unsigned long *)(ssi->mmio + (reg)))
86 * track usage of the SSI; it is simplex-only so prevent attempts of
92 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_startup() local
93 if (ssi->inuse) { in ssi_startup()
94 pr_debug("ssi: already in use!\n"); in ssi_startup()
97 ssi->inuse = 1; in ssi_startup()
104 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_shutdown() local
106 ssi->inuse = 0; in ssi_shutdown()
112 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_trigger() local
132 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_hw_params() local
152 pr_debug("ssi: invalid number of channels\n"); in ssi_hw_params()
169 pr_debug("ssi: invalid sample width\n"); in ssi_hw_params()
183 bits = 24; /* these are padded by the SSI */ in ssi_hw_params()
198 pr_debug("ssi: invalid system word length computed\n"); in ssi_hw_params()
211 struct ssi_priv *ssi = &ssi_cpu_data[cpu_dai->id]; in ssi_set_sysclk() local
213 ssi->sysclk = freq; in ssi_set_sysclk()
224 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_set_clkdiv() local
238 pr_debug("ssi: invalid sck divider %d\n", div); in ssi_set_clkdiv()
247 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_set_fmt() local
265 pr_debug("ssi: unsupported format\n"); in ssi_set_fmt()
290 pr_debug("ssi: invalid inversion\n"); in ssi_set_fmt()
307 pr_debug("ssi: invalid master/secondary configuration\n"); in ssi_set_fmt()
317 /* the SSI depends on an external clocksource (at HAC_BIT_CLK) even in
318 * Master mode, so really this is board specific; the SSI can do any
324 /* the SSI can do 8-32 bit samples, with 8 possible channels */
344 .name = "ssi-dai.0",
361 .name = "ssi-dai.1",
380 .name = "sh4-ssi",
393 .name = "sh4-ssi-dai",
402 MODULE_DESCRIPTION("SuperH onchip SSI (I2S) audio driver");