Home
last modified time | relevance | path

Searched refs:i2s_base (Results 1 – 6 of 6) sorted by relevance

/linux/sound/soc/intel/keembay/
H A Dkmb_platform.c103 void __iomem *i2s_base = kmb_i2s->i2s_base; in kmb_pcm_tx_fn() local
113 writel(((u16(*)[2])buf)[tx_ptr][0], i2s_base + LRBR_LTHR(0)); in kmb_pcm_tx_fn()
114 writel(((u16(*)[2])buf)[tx_ptr][1], i2s_base + RRBR_RTHR(0)); in kmb_pcm_tx_fn()
116 writel(((u32(*)[2])buf)[tx_ptr][0], i2s_base + LRBR_LTHR(0)); in kmb_pcm_tx_fn()
117 writel(((u32(*)[2])buf)[tx_ptr][1], i2s_base + RRBR_RTHR(0)); in kmb_pcm_tx_fn()
136 void __iomem *i2s_base = kmb_i2s->i2s_base; in kmb_pcm_rx_fn() local
146 readl(i2s_base + LRBR_LTHR(j)); in kmb_pcm_rx_fn()
148 readl(i2s_base + RRBR_RTHR(j)); in kmb_pcm_rx_fn()
151 readl(i2s_base + LRBR_LTHR(j)); in kmb_pcm_rx_fn()
153 readl(i2s_base + RRBR_RTHR(j)); in kmb_pcm_rx_fn()
[all …]
H A Dkmb_platform.h127 void __iomem *i2s_base; member
/linux/sound/soc/dwc/
H A Ddwc-i2s.c47 i2s_write_reg(dev->i2s_base, TER(i), 0); in i2s_disable_channels()
50 i2s_write_reg(dev->i2s_base, RER(i), 0); in i2s_disable_channels()
60 i2s_read_reg(dev->i2s_base, TOR(i)); in i2s_clear_irqs()
63 i2s_read_reg(dev->i2s_base, ROR(i)); in i2s_clear_irqs()
74 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_disable_irqs()
75 i2s_write_reg(dev->i2s_base, IMR(i), irq | 0x30); in i2s_disable_irqs()
79 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_disable_irqs()
80 i2s_write_reg(dev->i2s_base, IMR(i), irq | 0x03); in i2s_disable_irqs()
92 irq = i2s_read_reg(dev->i2s_base, IMR(i)); in i2s_enable_irqs()
93 i2s_write_reg(dev->i2s_base, IMR(i), irq & ~0x30); in i2s_enable_irqs()
[all …]
H A Ddwc-pcm.c34 iowrite32(p[tx_ptr][0], dev->i2s_base + dev->l_reg); \
35 iowrite32(p[tx_ptr][1], dev->i2s_base + dev->r_reg); \
54 p[rx_ptr][0] = ioread32(dev->i2s_base + dev->l_reg); \
55 p[rx_ptr][1] = ioread32(dev->i2s_base + dev->r_reg); \
H A Dlocal.h112 void __iomem *i2s_base; member
/linux/drivers/clk/tegra/
H A Dclk-tegra210.c705 void __iomem *i2s_base; in tegra210_ape_mbist_war() local
716 i2s_base = ahub_base + TEGRA210_I2S_BASE; in tegra210_ape_mbist_war()
721 i2s_ctrl = readl_relaxed(i2s_base + TEGRA210_I2S_CTRL); in tegra210_ape_mbist_war()
723 i2s_base + TEGRA210_I2S_CTRL); in tegra210_ape_mbist_war()
724 writel_relaxed(0, i2s_base + TEGRA210_I2S_CG); in tegra210_ape_mbist_war()
725 readl(i2s_base + TEGRA210_I2S_CG); in tegra210_ape_mbist_war()
726 writel_relaxed(1, i2s_base + TEGRA210_I2S_CG); in tegra210_ape_mbist_war()
727 writel_relaxed(i2s_ctrl, i2s_base + TEGRA210_I2S_CTRL); in tegra210_ape_mbist_war()
728 readl(i2s_base + TEGRA210_I2S_CTRL); in tegra210_ape_mbist_war()
730 i2s_base += TEGRA210_I2S_SIZE; in tegra210_ape_mbist_war()