/sound/soc/samsung/ |
D | s3c24xx-i2s.c | 55 void __iomem *regs; member 72 iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON); in s3c24xx_snd_txctrl() 73 iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON); in s3c24xx_snd_txctrl() 74 iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); in s3c24xx_snd_txctrl() 84 writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD); in s3c24xx_snd_txctrl() 85 writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON); in s3c24xx_snd_txctrl() 86 writel(iiscon, s3c24xx_i2s.regs + S3C2410_IISCON); in s3c24xx_snd_txctrl() 101 writel(iiscon, s3c24xx_i2s.regs + S3C2410_IISCON); in s3c24xx_snd_txctrl() 102 writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON); in s3c24xx_snd_txctrl() 103 writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD); in s3c24xx_snd_txctrl() [all …]
|
D | s3c-i2s-v2.c | 88 void __iomem *regs = i2s->regs; in s3c2412_snd_txctrl() local 93 fic = readl(regs + S3C2412_IISFIC); in s3c2412_snd_txctrl() 94 con = readl(regs + S3C2412_IISCON); in s3c2412_snd_txctrl() 95 mod = readl(regs + S3C2412_IISMOD); in s3c2412_snd_txctrl() 121 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_txctrl() 122 writel(mod, regs + S3C2412_IISMOD); in s3c2412_snd_txctrl() 150 writel(mod, regs + S3C2412_IISMOD); in s3c2412_snd_txctrl() 151 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_txctrl() 154 fic = readl(regs + S3C2412_IISFIC); in s3c2412_snd_txctrl() 161 void __iomem *regs = i2s->regs; in s3c2412_snd_rxctrl() local [all …]
|
D | ac97.c | 36 void __iomem *regs; member 73 stat = readl(s3c_ac97.regs + S3C_AC97_GLBSTAT) & 0x7; in s3c_ac97_activate() 79 ac_glbctrl = readl(s3c_ac97.regs + S3C_AC97_GLBCTRL); in s3c_ac97_activate() 81 writel(ac_glbctrl, s3c_ac97.regs + S3C_AC97_GLBCTRL); in s3c_ac97_activate() 85 writel(ac_glbctrl, s3c_ac97.regs + S3C_AC97_GLBCTRL); in s3c_ac97_activate() 88 ac_glbctrl = readl(s3c_ac97.regs + S3C_AC97_GLBCTRL); in s3c_ac97_activate() 90 writel(ac_glbctrl, s3c_ac97.regs + S3C_AC97_GLBCTRL); in s3c_ac97_activate() 108 ac_codec_cmd = readl(s3c_ac97.regs + S3C_AC97_CODEC_CMD); in s3c_ac97_read() 110 writel(ac_codec_cmd, s3c_ac97.regs + S3C_AC97_CODEC_CMD); in s3c_ac97_read() 114 ac_glbctrl = readl(s3c_ac97.regs + S3C_AC97_GLBCTRL); in s3c_ac97_read() [all …]
|
D | spdif.c | 87 void __iomem *regs; member 111 void __iomem *regs = spdif->regs; in spdif_snd_txctrl() local 116 clkcon = readl(regs + CLKCON) & CLKCTL_MASK; in spdif_snd_txctrl() 118 writel(clkcon | CLKCTL_PWR_ON, regs + CLKCON); in spdif_snd_txctrl() 120 writel(clkcon & ~CLKCTL_PWR_ON, regs + CLKCON); in spdif_snd_txctrl() 131 clkcon = readl(spdif->regs + CLKCON); in spdif_set_sysclk() 138 writel(clkcon, spdif->regs + CLKCON); in spdif_set_sysclk() 186 void __iomem *regs = spdif->regs; in spdif_hw_params() local 205 con = readl(regs + CON) & CON_MASK; in spdif_hw_params() 206 cstas = readl(regs + CSTAS) & CSTAS_MASK; in spdif_hw_params() [all …]
|
D | pcm.c | 121 void __iomem *regs; member 169 void __iomem *regs = pcm->regs; in s3c_pcm_snd_txctrl() local 172 clkctl = readl(regs + S3C_PCM_CLKCTL); in s3c_pcm_snd_txctrl() 173 ctl = readl(regs + S3C_PCM_CTL); in s3c_pcm_snd_txctrl() 194 writel(clkctl, regs + S3C_PCM_CLKCTL); in s3c_pcm_snd_txctrl() 195 writel(ctl, regs + S3C_PCM_CTL); in s3c_pcm_snd_txctrl() 200 void __iomem *regs = pcm->regs; in s3c_pcm_snd_rxctrl() local 203 ctl = readl(regs + S3C_PCM_CTL); in s3c_pcm_snd_rxctrl() 204 clkctl = readl(regs + S3C_PCM_CLKCTL); in s3c_pcm_snd_rxctrl() 225 writel(clkctl, regs + S3C_PCM_CLKCTL); in s3c_pcm_snd_rxctrl() [all …]
|
D | idma.c | 67 void __iomem *regs; member 76 (readl(idma.regs + I2STRNCNT) & 0xffffff) * 4; in idma_getpos() 91 writel(val, idma.regs + I2SLVL0ADDR); in idma_enqueue() 95 writel(val, idma.regs + I2SSTR0); in idma_enqueue() 101 val = readl(idma.regs + I2SSIZE); in idma_enqueue() 105 writel(val, idma.regs + I2SSIZE); in idma_enqueue() 107 val = readl(idma.regs + I2SAHB); in idma_enqueue() 109 writel(val, idma.regs + I2SAHB); in idma_enqueue() 126 u32 val = readl(idma.regs + I2SAHB); in idma_control() 142 writel(val, idma.regs + I2SAHB); in idma_control() [all …]
|
/sound/soc/omap/ |
D | omap-mcbsp.c | 226 struct omap_mcbsp_reg_cfg *regs = &mcbsp->cfg_regs; in omap_mcbsp_dai_hw_params() local 286 regs->rcr2 &= ~(RPHASE | RFRLEN2(0x7f) | RWDLEN2(7)); in omap_mcbsp_dai_hw_params() 287 regs->xcr2 &= ~(RPHASE | XFRLEN2(0x7f) | XWDLEN2(7)); in omap_mcbsp_dai_hw_params() 288 regs->rcr1 &= ~(RFRLEN1(0x7f) | RWDLEN1(7)); in omap_mcbsp_dai_hw_params() 289 regs->xcr1 &= ~(XFRLEN1(0x7f) | XWDLEN1(7)); in omap_mcbsp_dai_hw_params() 295 regs->rcr2 |= RPHASE; in omap_mcbsp_dai_hw_params() 296 regs->xcr2 |= XPHASE; in omap_mcbsp_dai_hw_params() 299 regs->rcr2 |= RFRLEN2(wpf - 1); in omap_mcbsp_dai_hw_params() 300 regs->xcr2 |= XFRLEN2(wpf - 1); in omap_mcbsp_dai_hw_params() 303 regs->rcr1 |= RFRLEN1(wpf - 1); in omap_mcbsp_dai_hw_params() [all …]
|
/sound/soc/atmel/ |
D | atmel-pcm-pdc.c | 107 ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, in atmel_pcm_dma_irq() 113 ssc_writex(params->ssc->regs, params->pdc->xpr, in atmel_pcm_dma_irq() 115 ssc_writex(params->ssc->regs, params->pdc->xcr, in atmel_pcm_dma_irq() 117 ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, in atmel_pcm_dma_irq() 127 ssc_writex(params->ssc->regs, params->pdc->xnpr, in atmel_pcm_dma_irq() 129 ssc_writex(params->ssc->regs, params->pdc->xncr, in atmel_pcm_dma_irq() 175 ssc_writex(params->ssc->regs, SSC_PDC_PTCR, in atmel_pcm_hw_free() 188 ssc_writex(params->ssc->regs, SSC_IDR, in atmel_pcm_prepare() 190 ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, in atmel_pcm_prepare() 211 ssc_writex(params->ssc->regs, params->pdc->xpr, in atmel_pcm_trigger() [all …]
|
D | atmel_ssc_dai.c | 161 ssc_sr = (unsigned long)ssc_readl(ssc_p->ssc->regs, SR) in atmel_ssc_interrupt() 162 & (unsigned long)ssc_readl(ssc_p->ssc->regs, IMR); in atmel_ssc_interrupt() 202 ssc_readl(ssc_p->ssc->regs, SR)); in atmel_ssc_startup() 239 ssc_writel(ssc_p->ssc->regs, CR, dma_params->mask->ssc_disable); in atmel_ssc_shutdown() 242 ssc_readl(ssc_p->ssc->regs, SR)); in atmel_ssc_shutdown() 264 ssc_writel(ssc_p->ssc->regs, CR, SSC_BIT(CR_SWRST)); in atmel_ssc_shutdown() 595 ssc_writel(ssc_p->ssc->regs, CR, SSC_BIT(CR_SWRST)); in atmel_ssc_hw_params() 597 ssc_writel(ssc_p->ssc->regs, PDC_RPR, 0); in atmel_ssc_hw_params() 598 ssc_writel(ssc_p->ssc->regs, PDC_RCR, 0); in atmel_ssc_hw_params() 599 ssc_writel(ssc_p->ssc->regs, PDC_RNPR, 0); in atmel_ssc_hw_params() [all …]
|
D | atmel-pcm-dma.c | 83 ssc_writex(prtd->ssc->regs, SSC_CR, prtd->mask->ssc_disable); in atmel_pcm_dma_irq() 87 ssc_readx(prtd->ssc->regs, SSC_RHR); in atmel_pcm_dma_irq() 88 ssc_readx(prtd->ssc->regs, SSC_SR); in atmel_pcm_dma_irq() 185 ssc_writex(prtd->ssc->regs, SSC_IER, prtd->mask->ssc_error); in atmel_pcm_dma_prepare() 186 ssc_writex(prtd->ssc->regs, SSC_CR, prtd->mask->ssc_enable); in atmel_pcm_dma_prepare()
|
/sound/soc/blackfin/ |
D | bf5xx-sport.c | 54 if ((sport->regs->tcr1 & TSPEN) || (sport->regs->rcr1 & RSPEN)) in sport_set_multichannel() 64 sport->regs->mcmc1 = ((tdm_count>>3)-1) << 12; in sport_set_multichannel() 65 sport->regs->mcmc2 = FRAME_DELAY | MCMEN | \ in sport_set_multichannel() 68 sport->regs->mtcs0 = mask; in sport_set_multichannel() 69 sport->regs->mrcs0 = mask; in sport_set_multichannel() 70 sport->regs->mtcs1 = 0; in sport_set_multichannel() 71 sport->regs->mrcs1 = 0; in sport_set_multichannel() 72 sport->regs->mtcs2 = 0; in sport_set_multichannel() 73 sport->regs->mrcs2 = 0; in sport_set_multichannel() 74 sport->regs->mtcs3 = 0; in sport_set_multichannel() [all …]
|
/sound/pci/ |
D | ak4531_codec.c | 56 idx, ak4531->regs[idx]); 100 val = (ak4531->regs[reg] >> shift) & mask; in snd_ak4531_get_single() 125 val = (ak4531->regs[reg] & ~(mask << shift)) | val; in snd_ak4531_put_single() 126 change = val != ak4531->regs[reg]; in snd_ak4531_put_single() 127 ak4531->write(ak4531, reg, ak4531->regs[reg] = val); in snd_ak4531_put_single() 169 left = (ak4531->regs[left_reg] >> left_shift) & mask; in snd_ak4531_get_double() 170 right = (ak4531->regs[right_reg] >> right_shift) & mask; in snd_ak4531_get_double() 203 left = (ak4531->regs[left_reg] & ~((mask << left_shift) | (mask << right_shift))) | left | right; in snd_ak4531_put_double() 204 change = left != ak4531->regs[left_reg]; in snd_ak4531_put_double() 205 ak4531->write(ak4531, left_reg, ak4531->regs[left_reg] = left); in snd_ak4531_put_double() [all …]
|
/sound/i2c/ |
D | tea6330t.c | 53 unsigned char regs[8]; member 123 if (tea->regs[TEA6330T_SADDR_VOLUME_LEFT] != 0) { in snd_tea6330t_put_master_volume() 125 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = tea->mleft; in snd_tea6330t_put_master_volume() 127 if (tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] != 0) { in snd_tea6330t_put_master_volume() 130 bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = tea->mright; in snd_tea6330t_put_master_volume() 153 ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch() 154 ucontrol->value.integer.value[1] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch() 170 oval1 = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1; in snd_tea6330t_put_master_switch() 171 oval2 = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1; in snd_tea6330t_put_master_switch() 173 tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = val1 ? tea->mleft : 0; in snd_tea6330t_put_master_switch() [all …]
|
/sound/mips/ |
D | hal2.c | 100 #define H2_INDIRECT_WAIT(regs) while (hal2_read(®s->isr) & H2_ISR_TSTATUS); argument 119 struct hal2_ctl_regs *regs = hal2->ctl_regs; in hal2_i_read32() local 121 hal2_write(H2_READ_ADDR(addr), ®s->iar); in hal2_i_read32() 122 H2_INDIRECT_WAIT(regs); in hal2_i_read32() 123 ret = hal2_read(®s->idr0) & 0xffff; in hal2_i_read32() 124 hal2_write(H2_READ_ADDR(addr) | 0x1, ®s->iar); in hal2_i_read32() 125 H2_INDIRECT_WAIT(regs); in hal2_i_read32() 126 ret |= (hal2_read(®s->idr0) & 0xffff) << 16; in hal2_i_read32() 132 struct hal2_ctl_regs *regs = hal2->ctl_regs; in hal2_i_write16() local 134 hal2_write(val, ®s->idr0); in hal2_i_write16() [all …]
|
/sound/sparc/ |
D | amd7930.c | 317 void __iomem *regs; member 352 sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR); in amd7930_idle() 353 sbus_writeb(0, amd->regs + AMD7930_DR); in amd7930_idle() 363 sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR); in amd7930_enable_ints() 364 sbus_writeb(AM_INIT_ACTIVE, amd->regs + AMD7930_DR); in amd7930_enable_ints() 374 sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR); in amd7930_disable_ints() 375 sbus_writeb(AM_INIT_ACTIVE | AM_INIT_DISABLE_INTS, amd->regs + AMD7930_DR); in amd7930_disable_ints() 386 sbus_writeb(AMR_MAP_GX, amd->regs + AMD7930_CR); in __amd7930_write_map() 387 sbus_writeb(((map->gx >> 0) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map() 388 sbus_writeb(((map->gx >> 8) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map() [all …]
|
D | dbri.c | 309 void __iomem *regs; /* dbri HW regs */ member 641 while ((--maxloops) > 0 && (sbus_readl(dbri->regs + REG0) & D_P)) { in dbri_cmdwait() 665 else if (len < sbus_readl(dbri->regs + REG8) - dbri->dma_dvma) in dbri_cmdlock() 716 tmp = sbus_readl(dbri->regs + REG0); in dbri_cmdsend() 718 sbus_writel(tmp, dbri->regs + REG0); in dbri_cmdsend() 731 sbus_readl(dbri->regs + REG0), in dbri_reset() 732 sbus_readl(dbri->regs + REG2), in dbri_reset() 733 sbus_readl(dbri->regs + REG8), sbus_readl(dbri->regs + REG9)); in dbri_reset() 735 sbus_writel(D_R, dbri->regs + REG0); /* Soft Reset */ in dbri_reset() 736 for (i = 0; (sbus_readl(dbri->regs + REG0) & D_R) && i < 64; i++) in dbri_reset() [all …]
|
/sound/soc/fsl/ |
D | mpc5200_psc_ac97.c | 102 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_ac97_warm_reset() local 106 out_be32(®s->sicr, psc_dma->sicr | MPC52xx_PSC_SICR_AWR); in psc_ac97_warm_reset() 108 out_be32(®s->sicr, psc_dma->sicr); in psc_ac97_warm_reset() 115 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_ac97_cold_reset() local 123 out_be32(®s->sicr, psc_dma->sicr | MPC52xx_PSC_SICR_ACRB); in psc_ac97_cold_reset() 126 out_8(®s->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in psc_ac97_cold_reset() 212 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_ac97_probe() local 215 out_8(®s->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in psc_ac97_probe() 287 struct mpc52xx_psc __iomem *regs; in psc_ac97_of_probe() local 301 regs = psc_dma->psc_regs; in psc_ac97_of_probe() [all …]
|
D | imx-pcm-fiq.c | 54 struct pt_regs regs; in snd_hrtimer_callback() local 60 get_fiq_regs(®s); in snd_hrtimer_callback() 63 iprtd->offset = regs.ARM_r8 & 0xffff; in snd_hrtimer_callback() 65 iprtd->offset = regs.ARM_r9 & 0xffff; in snd_hrtimer_callback() 112 struct pt_regs regs; in snd_imx_pcm_prepare() local 114 get_fiq_regs(®s); in snd_imx_pcm_prepare() 116 regs.ARM_r8 = (iprtd->period * iprtd->periods - 1) << 16; in snd_imx_pcm_prepare() 118 regs.ARM_r9 = (iprtd->period * iprtd->periods - 1) << 16; in snd_imx_pcm_prepare() 120 set_fiq_regs(®s); in snd_imx_pcm_prepare()
|
D | mpc5200_dma.c | 29 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_dma_status_irq() local 32 isr = in_be16(®s->mpc52xx_psc_isr); in psc_dma_status_irq() 42 out_8(®s->command, MPC52xx_PSC_RST_ERR_STAT); in psc_dma_status_irq() 115 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_dma_trigger() local 150 out_8(®s->command, MPC52xx_PSC_RST_ERR_STAT); in psc_dma_trigger() 181 out_be16(®s->isr_imr.imr, psc_dma->imr | imr); in psc_dma_trigger() 380 void __iomem *regs; in mpc5200_audio_dma_create() local 389 regs = ioremap(res.start, resource_size(&res)); in mpc5200_audio_dma_create() 390 if (!regs) { in mpc5200_audio_dma_create() 413 psc_dma->psc_regs = regs; in mpc5200_audio_dma_create() [all …]
|
D | mpc5200_psc_i2s.c | 164 struct mpc52xx_psc __iomem *regs; in psc_i2s_of_probe() local 178 regs = psc_dma->psc_regs; in psc_i2s_of_probe() 196 while ((in_8(®s->ipcr_acr.ipcr) & 0x80) != 0) in psc_i2s_of_probe() 199 while ((in_8(®s->ipcr_acr.ipcr) & 0x80) == 0) in psc_i2s_of_probe()
|
/sound/atmel/ |
D | ac97c.c | 78 void __iomem *regs; member 87 __raw_writel((val), (chip)->regs + AC97C_##reg) 89 __raw_readl((chip)->regs + AC97C_##reg) 395 writel(runtime->dma_addr, chip->regs + ATMEL_PDC_TPR); in atmel_ac97c_playback_prepare() 396 writel(block_size / 2, chip->regs + ATMEL_PDC_TCR); in atmel_ac97c_playback_prepare() 398 chip->regs + ATMEL_PDC_TNPR); in atmel_ac97c_playback_prepare() 399 writel(block_size / 2, chip->regs + ATMEL_PDC_TNCR); in atmel_ac97c_playback_prepare() 486 writel(runtime->dma_addr, chip->regs + ATMEL_PDC_RPR); in atmel_ac97c_capture_prepare() 487 writel(block_size / 2, chip->regs + ATMEL_PDC_RCR); in atmel_ac97c_capture_prepare() 489 chip->regs + ATMEL_PDC_RNPR); in atmel_ac97c_capture_prepare() [all …]
|
D | abdac.c | 65 __raw_readl((port)->regs + DAC_##reg) 67 __raw_writel((value), (port)->regs + DAC_##reg) 99 void __iomem *regs; member 393 struct resource *regs; in atmel_abdac_probe() local 400 regs = platform_get_resource(pdev, IORESOURCE_MEM, 0); in atmel_abdac_probe() 401 if (!regs) { in atmel_abdac_probe() 452 dac->regs = ioremap(regs->start, resource_size(regs)); in atmel_abdac_probe() 453 if (!dac->regs) { in atmel_abdac_probe() 480 .dst_addr = regs->start + DAC_DATA, in atmel_abdac_probe() 516 dac->regs, dev_name(&dac->dma.chan->dev->device)); in atmel_abdac_probe() [all …]
|
/sound/spi/ |
D | at73c213.c | 196 ssc_writel(chip->ssc->regs, CMR, ssc_div/2); in snd_at73c213_set_bitrate() 241 val = ssc_readl(chip->ssc->regs, TFMR); in snd_at73c213_pcm_hw_params() 243 ssc_writel(chip->ssc->regs, TFMR, val); in snd_at73c213_pcm_hw_params() 264 ssc_writel(chip->ssc->regs, PDC_TPR, in snd_at73c213_pcm_prepare() 266 ssc_writel(chip->ssc->regs, PDC_TCR, in snd_at73c213_pcm_prepare() 268 ssc_writel(chip->ssc->regs, PDC_TNPR, in snd_at73c213_pcm_prepare() 270 ssc_writel(chip->ssc->regs, PDC_TNCR, in snd_at73c213_pcm_prepare() 286 ssc_writel(chip->ssc->regs, IER, SSC_BIT(IER_ENDTX)); in snd_at73c213_pcm_trigger() 287 ssc_writel(chip->ssc->regs, PDC_PTCR, SSC_BIT(PDC_PTCR_TXTEN)); in snd_at73c213_pcm_trigger() 290 ssc_writel(chip->ssc->regs, PDC_PTCR, SSC_BIT(PDC_PTCR_TXTDIS)); in snd_at73c213_pcm_trigger() [all …]
|
/sound/pci/ice1712/ |
D | wm8766.c | 35 wm->regs[addr] = data; in snd_wm8766_write() 175 snd_wm8766_write(wm, i, wm->regs[i]); in snd_wm8766_resume() 180 u16 val = wm->regs[WM8766_REG_IFCTRL] & ~WM8766_IF_MASK; in snd_wm8766_set_if() 188 u16 val = wm->regs[WM8766_REG_DACCTRL3] & ~WM8766_DAC3_MSTR_MASK; in snd_wm8766_set_master_mode() 196 u16 val = wm->regs[WM8766_REG_DACCTRL3] & ~WM8766_DAC3_POWER_MASK; in snd_wm8766_set_power() 204 u16 val = wm->regs[WM8766_REG_DACR1]; in snd_wm8766_volume_restore() 245 val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; in snd_wm8766_ctl_get() 248 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8766_ctl_get() 282 val = wm->regs[wm->ctl[n].reg1] & ~wm->ctl[n].mask1; in snd_wm8766_ctl_put() 294 val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2; in snd_wm8766_ctl_put()
|
/sound/soc/codecs/ |
D | tpa6130a2.c | 46 unsigned char regs[TPA6130A2_CACHEREGNUM]; member 67 data->regs[reg] = val; in tpa6130a2_i2c_read() 69 val = data->regs[reg]; in tpa6130a2_i2c_read() 92 data->regs[reg] = value; in tpa6130a2_i2c_write() 104 return data->regs[reg]; in tpa6130a2_read() 116 ret = tpa6130a2_i2c_write(i, data->regs[i]); in tpa6130a2_initialize() 396 data->regs[TPA6130A2_REG_CONTROL] = TPA6130A2_SWS; in tpa6130a2_probe() 397 data->regs[TPA6130A2_REG_VOL_MUTE] = TPA6130A2_MUTE_R | in tpa6130a2_probe()
|