/sound/pci/au88x0/ |
D | au88x0_xtalk.c | 254 vortex_XtalkHw_SetLeftEQ(vortex_t * vortex, short arg_0, short arg_4, in vortex_XtalkHw_SetLeftEQ() argument 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() 271 vortex_XtalkHw_SetRightEQ(vortex_t * vortex, short arg_0, short arg_4, in vortex_XtalkHw_SetRightEQ() argument 277 hwwrite(vortex->mmio, 0x242b4 + i * 0x24, coefs[i][0]); in vortex_XtalkHw_SetRightEQ() [all …]
|
D | au88x0_eq.c | 51 static void vortex_EqHw_SetTimeConsts(vortex_t * vortex, u16 gain, u16 level) in vortex_EqHw_SetTimeConsts() argument 53 hwwrite(vortex->mmio, 0x2b3c4, gain); in vortex_EqHw_SetTimeConsts() 54 hwwrite(vortex->mmio, 0x2b3c8, level); in vortex_EqHw_SetTimeConsts() 66 static void vortex_EqHw_SetLeftCoefs(vortex_t * vortex, u16 coefs[]) in vortex_EqHw_SetLeftCoefs() argument 68 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftCoefs() 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() [all …]
|
D | au88x0_core.c | 89 static void vortex_mixer_en_sr(vortex_t * vortex, int channel) in vortex_mixer_en_sr() argument 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() 94 static void vortex_mixer_dis_sr(vortex_t * vortex, int channel) in vortex_mixer_dis_sr() argument 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() 102 vortex_mix_muteinputgain(vortex_t * vortex, unsigned char mix, 105 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_A + ((mix << 5) + channel), 107 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_B + ((mix << 5) + channel), 111 static int vortex_mix_getvolume(vortex_t * vortex, unsigned char mix) [all …]
|
D | au88x0_synth.c | 25 static void vortex_fifo_setwtvalid(vortex_t * vortex, int fifo, int en); 26 static void vortex_connection_adb_mixin(vortex_t * vortex, int en, 30 static void vortex_connection_mixin_mix(vortex_t * vortex, int en, 33 static void vortex_fifo_wtinitialize(vortex_t * vortex, int fifo, int j); 34 static int vortex_wt_SetReg(vortex_t * vortex, unsigned char reg, int wt, 40 static void vortex_wt_setstereo(vortex_t * vortex, u32 wt, u32 stereo) in vortex_wt_setstereo() argument 45 temp = hwread(vortex->mmio, WT_STEREO(wt)); in vortex_wt_setstereo() 48 hwwrite(vortex->mmio, WT_STEREO(wt), temp); in vortex_wt_setstereo() 52 static void vortex_wt_setdsout(vortex_t * vortex, u32 wt, int en) in vortex_wt_setdsout() argument 57 temp = hwread(vortex->mmio, WT_DSREG((wt >= 0x20) ? 1 : 0)); in vortex_wt_setdsout() [all …]
|
D | au88x0_a3d.c | 36 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetTimeConsts() local 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() 62 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosTarget() local 63 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget() 66 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget() 69 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget() 77 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosCurrent() local [all …]
|
D | au88x0.h | 103 #define MIX_CAPT(x) (vortex->mixcapt[x]) 104 #define MIX_PLAYB(x) (vortex->mixplayb[x]) 105 #define MIX_SPDIF(x) (vortex->mixspdif[x]) 202 static void vortex_adb_setsrc(vortex_t * vortex, int adbdma, 206 static void vortex_adbdma_setbuffers(vortex_t * vortex, int adbdma, 208 static void vortex_adbdma_setmode(vortex_t * vortex, int adbdma, int ie, 211 static void vortex_adbdma_setstartbuffer(vortex_t * vortex, int adbdma, int sb); 213 static void vortex_wtdma_setbuffers(vortex_t * vortex, int wtdma, 215 static void vortex_wtdma_setmode(vortex_t * vortex, int wtdma, int ie, int fmt, int d, /*int e, */ 217 static void vortex_wtdma_setstartbuffer(vortex_t * vortex, int wtdma, int sb); [all …]
|
D | au88x0_game.c | 45 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_read() local 46 return hwread(vortex->mmio, VORTEX_GAME_LEGACY); in vortex_game_read() 51 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_trigger() local 52 hwwrite(vortex->mmio, VORTEX_GAME_LEGACY, 0xff); in vortex_game_trigger() 58 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_cooked_read() local 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() 74 vortex_t *vortex = gameport_get_port_data(gameport); in vortex_game_open() local 78 hwwrite(vortex->mmio, VORTEX_CTRL2, in vortex_game_open() 79 hwread(vortex->mmio, in vortex_game_open() [all …]
|
D | au88x0_mpu401.c | 44 static int snd_vortex_midi(vortex_t *vortex) in snd_vortex_midi() argument 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() [all …]
|
D | au88x0_xtalk.h | 48 static void vortex_XtalkHw_SetGains(vortex_t * vortex, 50 static void vortex_XtalkHw_SetGainsAllChan(vortex_t * vortex); 51 static void vortex_XtalkHw_SetSampleRate(vortex_t * vortex, u32 sr); 52 static void vortex_XtalkHw_ProgramPipe(vortex_t * vortex); 53 static void vortex_XtalkHw_ProgramPipe(vortex_t * vortex); 54 static void vortex_XtalkHw_ProgramXtalkWide(vortex_t * vortex); 55 static void vortex_XtalkHw_ProgramXtalkNarrow(vortex_t * vortex); 56 static void vortex_XtalkHw_ProgramDiamondXtalk(vortex_t * vortex); 57 static void vortex_XtalkHw_Enable(vortex_t * vortex); 58 static void vortex_XtalkHw_Disable(vortex_t * vortex); [all …]
|
D | au88x0_mixer.c | 22 static int snd_vortex_mixer(vortex_t *vortex) in snd_vortex_mixer() argument 32 if ((err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus)) < 0) in snd_vortex_mixer() 36 ac97.private_data = vortex; in snd_vortex_mixer() 38 err = snd_ac97_mixer(pbus, &ac97, &vortex->codec); in snd_vortex_mixer() 39 vortex->isquad = ((vortex->codec == NULL) ? 0 : (vortex->codec->ext_id&0x80)); in snd_vortex_mixer() 40 remove_ctl(vortex->card, "Master Mono Playback Volume"); in snd_vortex_mixer() 41 remove_ctl(vortex->card, "Master Mono Playback Switch"); in snd_vortex_mixer()
|
D | au88x0.c | 47 static void vortex_fix_latency(struct pci_dev *vortex) in vortex_fix_latency() argument 50 if (!(rc = pci_write_config_byte(vortex, 0x40, 0xff))) { in vortex_fix_latency() 81 static void snd_vortex_workaround(struct pci_dev *vortex, int fix) in snd_vortex_workaround() argument 101 vortex_fix_latency(vortex); in snd_vortex_workaround() 106 vortex_fix_latency(vortex); in snd_vortex_workaround() 124 vortex_t *vortex = device->device_data; in snd_vortex_dev_free() local 126 vortex_gameport_unregister(vortex); in snd_vortex_dev_free() 127 vortex_core_shutdown(vortex); in snd_vortex_dev_free() 129 free_irq(vortex->irq, vortex); in snd_vortex_dev_free() 130 iounmap(vortex->mmio); in snd_vortex_dev_free() [all …]
|
D | au88x0_pcm.c | 140 vortex_t *vortex = snd_pcm_substream_chip(substream); in snd_vortex_pcm_open() local 166 switch (vortex->spdif_sr) { in snd_vortex_pcm_open() 183 VORTEX_IS_QUAD(vortex) && in snd_vortex_pcm_open() 490 vortex_t *vortex = snd_kcontrol_chip(kcontrol); in snd_vortex_spdif_get() local 494 switch (vortex->spdif_sr) { in snd_vortex_spdif_get() 504 vortex_t *vortex = snd_kcontrol_chip(kcontrol); in snd_vortex_spdif_put() local 511 if (spdif_sr == vortex->spdif_sr) in snd_vortex_spdif_put() 513 vortex->spdif_sr = spdif_sr; in snd_vortex_spdif_put() 514 vortex_spdif_init(vortex, vortex->spdif_sr, 1); in snd_vortex_spdif_put() 541 vortex_t *vortex = snd_kcontrol_chip(kcontrol); in snd_vortex_pcm_vol_info() local [all …]
|
D | au88x0_a3d.h | 48 void *vortex; // Formerly CAsp4HwIO*, now vortex_t*. member
|