Home
last modified time | relevance | path

Searched refs:i2s (Results 1 – 25 of 34) sorted by relevance

12

/linux-2.6.39/sound/soc/samsung/
Di2s.c175 static inline bool is_secondary(struct i2s_dai *i2s) in is_secondary() argument
177 return i2s->pri_dai ? true : false; in is_secondary()
181 static inline bool is_slave(struct i2s_dai *i2s) in is_slave() argument
183 return (readl(i2s->addr + I2SMOD) & MOD_SLAVE) ? true : false; in is_slave()
187 static inline bool tx_active(struct i2s_dai *i2s) in tx_active() argument
191 if (!i2s) in tx_active()
194 active = readl(i2s->addr + I2SMOD); in tx_active()
196 if (is_secondary(i2s)) in tx_active()
205 static inline bool other_tx_active(struct i2s_dai *i2s) in other_tx_active() argument
207 struct i2s_dai *other = i2s->pri_dai ? : i2s->sec_dai; in other_tx_active()
[all …]
Ds3c-i2s-v2.c85 static void s3c2412_snd_txctrl(struct s3c_i2sv2_info *i2s, int on) in s3c2412_snd_txctrl() argument
87 void __iomem *regs = i2s->regs; in s3c2412_snd_txctrl()
115 dev_err(i2s->dev, "TXEN: Invalid MODE %x in IISMOD\n", in s3c2412_snd_txctrl()
144 dev_err(i2s->dev, "TXDIS: Invalid MODE %x in IISMOD\n", in s3c2412_snd_txctrl()
158 static void s3c2412_snd_rxctrl(struct s3c_i2sv2_info *i2s, int on) in s3c2412_snd_rxctrl() argument
160 void __iomem *regs = i2s->regs; in s3c2412_snd_rxctrl()
188 dev_err(i2s->dev, "RXEN: Invalid MODE %x in IISMOD\n", in s3c2412_snd_rxctrl()
213 dev_err(i2s->dev, "RXDIS: Invalid MODE %x in IISMOD\n", in s3c2412_snd_rxctrl()
231 static int s3c2412_snd_lrsync(struct s3c_i2sv2_info *i2s) in s3c2412_snd_lrsync() argument
239 iiscon = readl(i2s->regs + S3C2412_IISCON); in s3c2412_snd_lrsync()
[all …]
DMakefile3 snd-soc-s3c24xx-i2s-objs := s3c24xx-i2s.o
4 snd-soc-s3c2412-i2s-objs := s3c2412-i2s.o
6 snd-soc-s3c-i2s-v2-objs := s3c-i2s-v2.o
9 snd-soc-i2s-objs := i2s.o
12 obj-$(CONFIG_SND_S3C24XX_I2S) += snd-soc-s3c24xx-i2s.o
14 obj-$(CONFIG_SND_S3C2412_SOC_I2S) += snd-soc-s3c2412-i2s.o
15 obj-$(CONFIG_SND_S3C_I2SV2_SOC) += snd-soc-s3c-i2s-v2.o
18 obj-$(CONFIG_SND_SAMSUNG_I2S) += snd-soc-i2s.o
Ds3c2412-i2s.c108 struct s3c_i2sv2_info *i2s = snd_soc_dai_get_drvdata(cpu_dai); in s3c2412_i2s_hw_params() local
115 dma_data = i2s->dma_playback; in s3c2412_i2s_hw_params()
117 dma_data = i2s->dma_capture; in s3c2412_i2s_hw_params()
121 iismod = readl(i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_hw_params()
133 writel(iismod, i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_hw_params()
Ds3c-i2s-v2.h91 struct s3c_i2sv2_info *i2s,
/linux-2.6.39/sound/soc/tegra/
Dtegra_i2s.c50 static inline void tegra_i2s_write(struct tegra_i2s *i2s, u32 reg, u32 val) in tegra_i2s_write() argument
52 __raw_writel(val, i2s->regs + reg); in tegra_i2s_write()
55 static inline u32 tegra_i2s_read(struct tegra_i2s *i2s, u32 reg) in tegra_i2s_read() argument
57 return __raw_readl(i2s->regs + reg); in tegra_i2s_read()
79 struct tegra_i2s *i2s = s->private; in tegra_i2s_show() local
83 u32 val = tegra_i2s_read(i2s, regs[i].offset); in tegra_i2s_show()
102 static void tegra_i2s_debug_add(struct tegra_i2s *i2s, int id) in tegra_i2s_debug_add() argument
107 i2s->debug = debugfs_create_file(name, S_IRUGO, snd_soc_debugfs_root, in tegra_i2s_debug_add()
108 i2s, &tegra_i2s_debug_fops); in tegra_i2s_debug_add()
111 static void tegra_i2s_debug_remove(struct tegra_i2s *i2s) in tegra_i2s_debug_remove() argument
[all …]
DMakefile4 snd-soc-tegra-i2s-objs := tegra_i2s.o
10 obj-$(CONFIG_SND_TEGRA_SOC_I2S) += snd-soc-tegra-i2s.o
/linux-2.6.39/sound/soc/jz4740/
Djz4740-i2s.c96 static inline uint32_t jz4740_i2s_read(const struct jz4740_i2s *i2s, in jz4740_i2s_read() argument
99 return readl(i2s->base + reg); in jz4740_i2s_read()
102 static inline void jz4740_i2s_write(const struct jz4740_i2s *i2s, in jz4740_i2s_write() argument
105 writel(value, i2s->base + reg); in jz4740_i2s_write()
111 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_startup() local
117 ctrl = jz4740_i2s_read(i2s, JZ_REG_AIC_CTRL); in jz4740_i2s_startup()
119 jz4740_i2s_write(i2s, JZ_REG_AIC_CTRL, ctrl); in jz4740_i2s_startup()
121 clk_enable(i2s->clk_i2s); in jz4740_i2s_startup()
123 conf = jz4740_i2s_read(i2s, JZ_REG_AIC_CONF); in jz4740_i2s_startup()
125 jz4740_i2s_write(i2s, JZ_REG_AIC_CONF, conf); in jz4740_i2s_startup()
[all …]
DMakefile5 snd-soc-jz4740-i2s-objs := jz4740-i2s.o
8 obj-$(CONFIG_SND_JZ4740_SOC_I2S) += snd-soc-jz4740-i2s.o
/linux-2.6.39/sound/soc/blackfin/
DMakefile3 snd-bf5xx-i2s-objs := bf5xx-i2s-pcm.o
7 snd-soc-bf5xx-i2s-objs := bf5xx-i2s.o
11 obj-$(CONFIG_SND_BF5XX_I2S) += snd-bf5xx-i2s.o
15 obj-$(CONFIG_SND_BF5XX_SOC_I2S) += snd-soc-bf5xx-i2s.o
/linux-2.6.39/drivers/macintosh/
Drack-meter.c61 struct device_node *i2s; member
106 pmac_call_feature(PMAC_FTR_SOUND_CHIP_ENABLE, rm->i2s, 0, 1); in rackmeter_setup_i2s()
370 struct device_node *i2s = NULL, *np = NULL; in rackmeter_probe() local
378 while ((i2s = of_get_next_child(mdev->ofdev.dev.of_node, i2s)) != NULL) in rackmeter_probe()
379 if (strcmp(i2s->name, "i2s-a") == 0) in rackmeter_probe()
381 if (i2s == NULL) { in rackmeter_probe()
386 while ((np = of_get_next_child(i2s, np)) != NULL) { in rackmeter_probe()
406 rm->i2s = i2s; in rackmeter_probe()
428 rm->irq = irq_of_parse_and_map(i2s, 1); in rackmeter_probe()
430 of_address_to_resource(i2s, 0, &ri2s) || in rackmeter_probe()
[all …]
/linux-2.6.39/sound/soc/s6000/
DMakefile3 snd-soc-s6000-i2s-objs := s6000-i2s.o
6 obj-$(CONFIG_SND_S6000_SOC_I2S) += snd-soc-s6000-i2s.o
/linux-2.6.39/sound/soc/kirkwood/
DMakefile2 snd-soc-kirkwood-i2s-objs := kirkwood-i2s.o
5 obj-$(CONFIG_SND_KIRKWOOD_SOC_I2S) += snd-soc-kirkwood-i2s.o
/linux-2.6.39/sound/soc/au1x/
DMakefile3 snd-soc-au1xpsc-i2s-objs := psc-i2s.o
7 obj-$(CONFIG_SND_SOC_AU1XPSC_I2S) += snd-soc-au1xpsc-i2s.o
/linux-2.6.39/sound/soc/ep93xx/
DMakefile3 snd-soc-ep93xx-i2s-objs := ep93xx-i2s.o
7 obj-$(CONFIG_SND_EP93XX_SOC_I2S) += snd-soc-ep93xx-i2s.o
/linux-2.6.39/sound/soc/davinci/
DMakefile3 snd-soc-davinci-i2s-objs := davinci-i2s.o
8 obj-$(CONFIG_SND_DAVINCI_SOC_I2S) += snd-soc-davinci-i2s.o
/linux-2.6.39/arch/arm/mach-s5p64x0/
Ddev-audio.c46 .i2s = {
106 .i2s = {
126 .i2s = {
/linux-2.6.39/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5200.txt38 end of the compatible field. ie. A PSC in i2s mode would specify
39 "fsl,mpc5200-psc-i2s", not "fsl,mpc5200-i2s". This convention is chosen to
91 i2s@<addr> fsl,mpc5200-psc-i2s PSC in i2s mode
146 PSC in i2s mode: The mpc5200 and mpc5200b PSCs are not compatible when in
147 i2s mode. An 'mpc5200b-psc-i2s' node cannot include 'mpc5200-psc-i2s' in the
/linux-2.6.39/sound/soc/pxa/
DMakefile4 snd-soc-pxa2xx-i2s-objs := pxa2xx-i2s.o
9 obj-$(CONFIG_SND_PXA2XX_SOC_I2S) += snd-soc-pxa2xx-i2s.o
/linux-2.6.39/arch/arm/mach-s5p6442/
Ddev-audio.c53 .i2s = {
101 .i2s = {
/linux-2.6.39/sound/soc/sh/
Dsiu_dai.c63 u32 i2s; member
79 .i2s = 0x50000000,
85 .i2s = 0x05000000,
93 .i2s = 0x00500000,
99 .i2s = 0x00050000,
623 ifctl = siu_flags[info->port_id].playback.i2s | in siu_dai_set_fmt()
624 siu_flags[info->port_id].capture.i2s; in siu_dai_set_fmt()
/linux-2.6.39/arch/arm/plat-samsung/include/plat/
Daudio.h56 struct samsung_i2s i2s; member
/linux-2.6.39/arch/powerpc/boot/dts/
Dlite5200b.dts60 //i2s@2400 { // PSC3
61 // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible
/linux-2.6.39/arch/arm/mach-s3c64xx/
Ddev-audio.c79 .i2s = {
146 .i2s = {
/linux-2.6.39/arch/arm/mach-s5pc100/
Ddev-audio.c50 .i2s = {
99 .i2s = {

12