Home
last modified time | relevance | path

Searched refs:ssi (Results 1 – 9 of 9) sorted by relevance

/sound/soc/fsl/
Dfsl_ssi.c358 static bool fsl_ssi_is_ac97(struct fsl_ssi *ssi) in fsl_ssi_is_ac97() argument
360 return (ssi->dai_fmt & SND_SOC_DAIFMT_FORMAT_MASK) == in fsl_ssi_is_ac97()
364 static bool fsl_ssi_is_i2s_master(struct fsl_ssi *ssi) in fsl_ssi_is_i2s_master() argument
366 return (ssi->dai_fmt & SND_SOC_DAIFMT_MASTER_MASK) == in fsl_ssi_is_i2s_master()
370 static bool fsl_ssi_is_i2s_cbm_cfs(struct fsl_ssi *ssi) in fsl_ssi_is_i2s_cbm_cfs() argument
372 return (ssi->dai_fmt & SND_SOC_DAIFMT_MASTER_MASK) == in fsl_ssi_is_i2s_cbm_cfs()
381 struct fsl_ssi *ssi = dev_id; in fsl_ssi_isr() local
382 struct regmap *regs = ssi->regs; in fsl_ssi_isr()
387 sisr2 = sisr & ssi->soc->sisr_write_mask; in fsl_ssi_isr()
392 fsl_ssi_dbg_isr(&ssi->dbg_stats, sisr); in fsl_ssi_isr()
[all …]
Dimx-ssi.c57 struct imx_ssi *ssi = snd_soc_dai_get_drvdata(cpu_dai); in imx_ssi_set_dai_tdm_slot() local
60 sccr = readl(ssi->base + SSI_STCCR); in imx_ssi_set_dai_tdm_slot()
63 writel(sccr, ssi->base + SSI_STCCR); in imx_ssi_set_dai_tdm_slot()
65 sccr = readl(ssi->base + SSI_SRCCR); in imx_ssi_set_dai_tdm_slot()
68 writel(sccr, ssi->base + SSI_SRCCR); in imx_ssi_set_dai_tdm_slot()
70 writel(~tx_mask, ssi->base + SSI_STMSK); in imx_ssi_set_dai_tdm_slot()
71 writel(~rx_mask, ssi->base + SSI_SRMSK); in imx_ssi_set_dai_tdm_slot()
82 struct imx_ssi *ssi = snd_soc_dai_get_drvdata(cpu_dai); in imx_ssi_set_dai_fmt() local
85 scr = readl(ssi->base + SSI_SCR) & ~(SSI_SCR_SYN | SSI_SCR_NET); in imx_ssi_set_dai_fmt()
94 if (ssi->flags & IMX_SSI_USE_I2S_SLAVE) { in imx_ssi_set_dai_fmt()
[all …]
DMakefile19 snd-soc-fsl-ssi-y := fsl_ssi.o
20 snd-soc-fsl-ssi-$(CONFIG_DEBUG_FS) += fsl_ssi_dbg.o
31 obj-$(CONFIG_SND_SOC_FSL_SSI) += snd-soc-fsl-ssi.o
48 snd-soc-imx-ssi-objs := imx-ssi.o
50 obj-$(CONFIG_SND_SOC_IMX_SSI) += snd-soc-imx-ssi.o
/sound/soc/sh/rcar/
Dssi.c107 ((pos) = ((struct rsnd_ssi *)(priv)->ssi + i)); \
110 #define rsnd_ssi_get(priv, id) ((struct rsnd_ssi *)(priv->ssi) + id)
113 #define rsnd_ssi_is_parent(ssi, io) ((ssi) == rsnd_io_to_mod_ssip(io)) argument
125 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_use_busif() local
131 if (!(rsnd_flags_has(ssi, RSND_SSI_NO_BUSIF))) in rsnd_ssi_use_busif()
272 struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod); in rsnd_ssi_master_clk_start() local
294 if (ssi->usrcnt > 0) { in rsnd_ssi_master_clk_start()
295 if (ssi->rate != rate) { in rsnd_ssi_master_clk_start()
300 if (ssi->chan != chan) { in rsnd_ssi_master_clk_start()
328 ssi->cr_clk = FORCE | rsnd_rdai_width_to_swl(rdai) | in rsnd_ssi_master_clk_start()
[all …]
Ddma.c346 struct rsnd_mod *ssi = rsnd_io_to_mod_ssi(io); in rsnd_dmapp_get_id() local
354 if ((mod == ssi) || in rsnd_dmapp_get_id()
559 {{{ RDMA_SSI_O_N(ssi, id), 0 }, in rsnd_gen2_dma_addr()
560 { RDMA_SSIU_O_P(ssi, id, busif), 0 }, in rsnd_gen2_dma_addr()
561 { RDMA_SSIU_O_P(ssi, id, busif), 0 } }, in rsnd_gen2_dma_addr()
563 {{ 0, RDMA_SSI_I_N(ssi, id) }, in rsnd_gen2_dma_addr()
564 { 0, RDMA_SSIU_I_P(ssi, id, busif) }, in rsnd_gen2_dma_addr()
565 { 0, RDMA_SSIU_I_P(ssi, id, busif) } } in rsnd_gen2_dma_addr()
569 {{{ RDMA_SSIU_O_N(ssi, id, busif), 0 }, in rsnd_gen2_dma_addr()
570 { RDMA_SSIU_O_P(ssi, id, busif), 0 }, in rsnd_gen2_dma_addr()
[all …]
DMakefile2 snd-soc-rcar-objs := core.o gen.o dma.o adg.o ssi.o ssiu.o src.o ctu.o mix.o dvc.o cmd.o
Drsnd.h638 void *ssi; member
/sound/soc/sh/
Dssi.c62 #define SSIREG(reg) (*(unsigned long *)(ssi->mmio + (reg)))
92 struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; in ssi_startup() local
93 if (ssi->inuse) { 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
211 struct ssi_priv *ssi = &ssi_cpu_data[cpu_dai->id]; in ssi_set_sysclk() local
213 ssi->sysclk = freq; in ssi_set_sysclk()
[all …]
DMakefile8 snd-soc-ssi-objs := ssi.o
12 obj-$(CONFIG_SND_SOC_SH4_SSI) += snd-soc-ssi.o