/sound/pci/au88x0/ |
D | au88x0_xtalk.c | 260 hwwrite(vortex->mmio, 0x24200 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetLeftEQ() 261 hwwrite(vortex->mmio, 0x24204 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetLeftEQ() 262 hwwrite(vortex->mmio, 0x24208 + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetLeftEQ() 263 hwwrite(vortex->mmio, 0x2420c + i * 0x24, coefs[i][3]); in vortex_XtalkHw_SetLeftEQ() 264 hwwrite(vortex->mmio, 0x24210 + i * 0x24, coefs[i][4]); in vortex_XtalkHw_SetLeftEQ() 266 hwwrite(vortex->mmio, 0x24538, arg_0 & 0xffff); in vortex_XtalkHw_SetLeftEQ() 267 hwwrite(vortex->mmio, 0x2453C, arg_4 & 0xffff); in vortex_XtalkHw_SetLeftEQ() 277 hwwrite(vortex->mmio, 0x242b4 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetRightEQ() 278 hwwrite(vortex->mmio, 0x242b8 + i * 0x24, coefs[i][1]); in vortex_XtalkHw_SetRightEQ() 279 hwwrite(vortex->mmio, 0x242bc + i * 0x24, coefs[i][2]); in vortex_XtalkHw_SetRightEQ() [all …]
|
D | au88x0_core.c | 91 hwwrite(vortex->mmio, VORTEX_MIXER_SR, in vortex_mixer_en_sr() 92 hwread(vortex->mmio, VORTEX_MIXER_SR) | (0x1 << channel)); in vortex_mixer_en_sr() 96 hwwrite(vortex->mmio, VORTEX_MIXER_SR, in vortex_mixer_dis_sr() 97 hwread(vortex->mmio, VORTEX_MIXER_SR) & ~(0x1 << channel)); in vortex_mixer_dis_sr() 105 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_A + ((mix << 5) + channel), 107 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_B + ((mix << 5) + channel), 114 a = hwread(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2)) & 0xff; 126 a = hwread(vortex->mmio, 151 a = hwread(vortex->mmio, 155 hwwrite(vortex->mmio, [all …]
|
D | au88x0_synth.c | 45 temp = hwread(vortex->mmio, WT_STEREO(wt)); in vortex_wt_setstereo() 48 hwwrite(vortex->mmio, WT_STEREO(wt), temp); in vortex_wt_setstereo() 57 temp = hwread(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0)); in vortex_wt_setdsout() 62 hwwrite(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0), temp); in vortex_wt_setdsout() 82 hwwrite(vortex->mmio, WT_SRAMP(0), 0x880000); in vortex_wt_allocroute() 85 hwwrite(vortex->mmio, WT_SRAMP(1), 0x880000); in vortex_wt_allocroute() 88 hwwrite(vortex->mmio, WT_PARM(wt, 0), 0); in vortex_wt_allocroute() 89 hwwrite(vortex->mmio, WT_PARM(wt, 1), 0); in vortex_wt_allocroute() 90 hwwrite(vortex->mmio, WT_PARM(wt, 2), 0); in vortex_wt_allocroute() 92 temp = hwread(vortex->mmio, WT_PARM(wt, 3)); in vortex_wt_allocroute() [all …]
|
D | au88x0_eq.c | 53 hwwrite(vortex->mmio, 0x2b3c4, gain); in vortex_EqHw_SetTimeConsts() 54 hwwrite(vortex->mmio, 0x2b3c8, level); in vortex_EqHw_SetTimeConsts() 72 hwwrite(vortex->mmio, 0x2b000 + n * 0x30, coefs[i + 0]); in vortex_EqHw_SetLeftCoefs() 73 hwwrite(vortex->mmio, 0x2b004 + n * 0x30, coefs[i + 1]); in vortex_EqHw_SetLeftCoefs() 76 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, coefs[i + 2]); in vortex_EqHw_SetLeftCoefs() 77 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, coefs[i + 3]); in vortex_EqHw_SetLeftCoefs() 78 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, coefs[i + 4]); in vortex_EqHw_SetLeftCoefs() 80 hwwrite(vortex->mmio, 0x2b008 + n * 0x30, sign_invert(coefs[2 + i])); in vortex_EqHw_SetLeftCoefs() 81 hwwrite(vortex->mmio, 0x2b00c + n * 0x30, sign_invert(coefs[3 + i])); in vortex_EqHw_SetLeftCoefs() 82 hwwrite(vortex->mmio, 0x2b010 + n * 0x30, sign_invert(coefs[4 + i])); in vortex_EqHw_SetLeftCoefs() [all …]
|
D | au88x0_mpu401.c | 56 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) | in snd_vortex_midi() 58 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 62 (hwread(vortex->mmio, VORTEX_CTRL) & ~CTRL_MIDI_PORT) & in snd_vortex_midi() 64 hwwrite(vortex->mmio, VORTEX_CTRL, temp); in snd_vortex_midi() 68 temp = hwread(vortex->mmio, VORTEX_CTRL2) & 0xffff00cf; in snd_vortex_midi() 70 hwwrite(vortex->mmio, VORTEX_CTRL2, temp); in snd_vortex_midi() 71 hwwrite(vortex->mmio, VORTEX_MIDI_CMD, MPU401_RESET); in snd_vortex_midi() 74 temp = hwread(vortex->mmio, VORTEX_MIDI_DATA); in snd_vortex_midi() 80 hwwrite(vortex->mmio, VORTEX_IRQ_CTRL, in snd_vortex_midi() 81 hwread(vortex->mmio, VORTEX_IRQ_CTRL) | IRQ_MIDI); in snd_vortex_midi() [all …]
|
D | au88x0_a3d.c | 37 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts() 39 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts() 41 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts() 43 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts() 63 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget() 66 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget() 69 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget() 78 hwwrite(vortex->mmio, in a3dsrc_SetAtmosCurrent() 81 hwwrite(vortex->mmio, in a3dsrc_SetAtmosCurrent() 84 hwwrite(vortex->mmio, in a3dsrc_SetAtmosCurrent() [all …]
|
D | au88x0_game.c | 46 return hwread(vortex->mmio, VORTEX_GAME_LEGACY); in vortex_game_read() 52 hwwrite(vortex->mmio, VORTEX_GAME_LEGACY, 0xff); in vortex_game_trigger() 61 *buttons = (~hwread(vortex->mmio, VORTEX_GAME_LEGACY) >> 4) & 0xf; in vortex_game_cooked_read() 65 hwread(vortex->mmio, VORTEX_GAME_AXIS + (i * AXIS_SIZE)); in vortex_game_cooked_read() 78 hwwrite(vortex->mmio, VORTEX_CTRL2, in vortex_game_open() 79 hwread(vortex->mmio, in vortex_game_open() 84 hwwrite(vortex->mmio, VORTEX_CTRL2, in vortex_game_open() 85 hwread(vortex->mmio, in vortex_game_open()
|
D | au88x0.c | 130 iounmap(vortex->mmio); in snd_vortex_dev_free() 183 chip->mmio = pci_ioremap_bar(pci, 0); in snd_vortex_create() 184 if (!chip->mmio) { in snd_vortex_create() 225 iounmap(chip->mmio); in snd_vortex_create()
|
D | au88x0.h | 188 void __iomem *mmio; member
|
/sound/soc/nuc900/ |
D | nuc900-ac97.c | 36 if (!(AUDIO_READ(nuc900_audio->mmio + ACTL_ACIS0) & CODEC_READY)) in nuc900_checkready() 58 AUDIO_WRITE(nuc900_audio->mmio + ACTL_ACOS1, R_WB | reg); in nuc900_ac97_read() 61 val = AUDIO_READ(nuc900_audio->mmio + ACTL_ACOS0); in nuc900_ac97_read() 63 AUDIO_WRITE(nuc900_audio->mmio + ACTL_ACOS0, val); in nuc900_ac97_read() 68 while (!(AUDIO_READ(nuc900_audio->mmio + ACTL_ACCON) & AC_R_FINISH) in nuc900_ac97_read() 78 val = AUDIO_READ(nuc900_audio->mmio + ACTL_ACOS0) ; in nuc900_ac97_read() 80 AUDIO_WRITE(nuc900_audio->mmio + ACTL_ACOS0, val); in nuc900_ac97_read() 82 if (AUDIO_READ(nuc900_audio->mmio + ACTL_ACIS1) >> 2 != reg) { in nuc900_ac97_read() 88 val = (AUDIO_READ(nuc900_audio->mmio + ACTL_ACIS2) & 0xFFFF); in nuc900_ac97_read() 109 AUDIO_WRITE(nuc900_audio->mmio + ACTL_ACOS1, reg); in nuc900_ac97_write() [all …]
|
D | nuc900-pcm.c | 77 mmio_addr = nuc900_audio->mmio + ACTL_PDSTB; in nuc900_update_dma_register() 78 mmio_len = nuc900_audio->mmio + ACTL_PDST_LENGTH; in nuc900_update_dma_register() 80 mmio_addr = nuc900_audio->mmio + ACTL_RDSTB; in nuc900_update_dma_register() 81 mmio_len = nuc900_audio->mmio + ACTL_RDST_LENGTH; in nuc900_update_dma_register() 94 val = AUDIO_READ(nuc900_audio->mmio + ACTL_CON); in nuc900_dma_start() 96 AUDIO_WRITE(nuc900_audio->mmio + ACTL_CON, val); in nuc900_dma_start() 105 val = AUDIO_READ(nuc900_audio->mmio + ACTL_CON); in nuc900_dma_stop() 107 AUDIO_WRITE(nuc900_audio->mmio + ACTL_CON, val); in nuc900_dma_stop() 118 val = AUDIO_READ(nuc900_audio->mmio + ACTL_CON); in nuc900_dma_interrupt() 121 AUDIO_WRITE(nuc900_audio->mmio + ACTL_CON, val | R_DMA_IRQ); in nuc900_dma_interrupt() [all …]
|
D | nuc900-audio.h | 101 void __iomem *mmio; member
|
/sound/soc/au1x/ |
D | psc.h | 17 void __iomem *mmio; member 30 #define PSC_CTRL(x) ((unsigned long)((x)->mmio) + PSC_CTRL_OFFSET) 31 #define PSC_SEL(x) ((unsigned long)((x)->mmio) + PSC_SEL_OFFSET) 32 #define I2S_STAT(x) ((unsigned long)((x)->mmio) + PSC_I2SSTAT_OFFSET) 33 #define I2S_CFG(x) ((unsigned long)((x)->mmio) + PSC_I2SCFG_OFFSET) 34 #define I2S_PCR(x) ((unsigned long)((x)->mmio) + PSC_I2SPCR_OFFSET) 35 #define AC97_CFG(x) ((unsigned long)((x)->mmio) + PSC_AC97CFG_OFFSET) 36 #define AC97_CDC(x) ((unsigned long)((x)->mmio) + PSC_AC97CDC_OFFSET) 37 #define AC97_EVNT(x) ((unsigned long)((x)->mmio) + PSC_AC97EVNT_OFFSET) 38 #define AC97_PCR(x) ((unsigned long)((x)->mmio) + PSC_AC97PCR_OFFSET) [all …]
|
D | i2sc.c | 71 return __raw_readl(ctx->mmio + reg); in RD() 76 __raw_writel(v, ctx->mmio + reg); in WR() 250 ctx->mmio = devm_ioremap_nocache(&pdev->dev, iores->start, in au1xi2s_drvprobe() 252 if (!ctx->mmio) in au1xi2s_drvprobe()
|
D | ac97c.c | 73 return __raw_readl(ctx->mmio + reg); in RD() 78 __raw_writel(v, ctx->mmio + reg); in WR() 251 ctx->mmio = devm_ioremap_nocache(&pdev->dev, iores->start, in au1xac97c_drvprobe() 253 if (!ctx->mmio) in au1xac97c_drvprobe()
|
D | psc-i2s.c | 317 wd->mmio = devm_ioremap(&pdev->dev, iores->start, in au1xpsc_i2s_drvprobe() 319 if (!wd->mmio) in au1xpsc_i2s_drvprobe()
|
D | psc-ac97.c | 391 wd->mmio = devm_ioremap(&pdev->dev, iores->start, in au1xpsc_ac97_drvprobe() 393 if (!wd->mmio) in au1xpsc_ac97_drvprobe()
|
/sound/soc/sh/ |
D | ssi.c | 65 #define SSIREG(reg) (*(unsigned long *)(ssi->mmio + (reg))) 68 unsigned long mmio; member 74 .mmio = 0xFE680000, 77 .mmio = 0xFE690000, 81 .mmio = 0xFFE70000,
|
D | hac.c | 78 unsigned long mmio; /* HAC base address */ member 82 .mmio = 0xFE240000, 85 .mmio = 0xFE250000, 89 .mmio = 0xFFE40000, 96 #define HACREG(reg) (*(unsigned long *)(hac->mmio + (reg)))
|
D | dma-sh7760.c | 53 unsigned long mmio; /* DMABRG audio channel control reg MMIO */ member 66 .mmio = 0xFE3C0040, 70 .mmio = 0xFE3C0060, 75 #define BRGREG(x) (*(unsigned long *)(cam->mmio + (x)))
|
/sound/soc/s6000/ |
D | s6000-i2s.c | 447 u8 __iomem *mmio; in s6000_i2s_probe() local 465 mmio = ioremap(scbmem->start, resource_size(scbmem)); in s6000_i2s_probe() 466 if (!mmio) { in s6000_i2s_probe() 522 dev->scbbase = mmio; in s6000_i2s_probe() 567 iounmap(mmio); in s6000_i2s_probe() 578 void __iomem *mmio = dev->scbbase; in s6000_i2s_remove() local 598 iounmap(mmio); in s6000_i2s_remove()
|
/sound/pci/ |
D | bt87x.c | 196 void __iomem *mmio; member 219 return readl(chip->mmio + reg); in snd_bt87x_readl() 224 writel(value, chip->mmio + reg); in snd_bt87x_writel() 681 if (chip->mmio) in snd_bt87x_free() 685 if (chip->mmio) in snd_bt87x_free() 686 iounmap(chip->mmio); in snd_bt87x_free() 748 chip->mmio = pci_ioremap_bar(pci, 0); in snd_bt87x_create() 749 if (!chip->mmio) { in snd_bt87x_create()
|