• Home
  • Raw
  • Download

Lines Matching refs:hw

44 static void set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
45 static void set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
46 static void set_pan(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
47 static void set_fmmod(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
48 static void set_tremfreq(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
49 static void set_fm2frq2(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
50 static void set_filterQ(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
84 snd_emu8000_ops_setup(struct snd_emu8000 *hw) in snd_emu8000_ops_setup() argument
86 hw->emu->ops = emu8000_ops; in snd_emu8000_ops_setup()
98 struct snd_emu8000 *hw; in release_voice() local
100 hw = vp->hw; in release_voice()
102 EMU8000_DCYSUS_WRITE(hw, vp->ch, dcysusv); in release_voice()
104 EMU8000_DCYSUSV_WRITE(hw, vp->ch, dcysusv); in release_voice()
113 struct snd_emu8000 *hw; in terminate_voice() local
115 hw = vp->hw; in terminate_voice()
116 EMU8000_DCYSUSV_WRITE(hw, vp->ch, 0x807F); in terminate_voice()
125 struct snd_emu8000 *hw; in update_voice() local
127 hw = vp->hw; in update_voice()
129 set_volume(hw, vp); in update_voice()
131 set_pitch(hw, vp); in update_voice()
134 set_pan(hw, vp); in update_voice()
136 set_fmmod(hw, vp); in update_voice()
138 set_tremfreq(hw, vp); in update_voice()
140 set_fm2frq2(hw, vp); in update_voice()
142 set_filterQ(hw, vp); in update_voice()
160 struct snd_emu8000 *hw; in get_voice() local
174 hw = emu->hw; in get_voice()
195 val = (EMU8000_CVCF_READ(hw, vp->ch) >> 16) & 0xffff; in get_voice()
207 val = EMU8000_CCCA_READ(hw, vp->ch) & 0xffffff; in get_voice()
239 struct snd_emu8000 *hw; in start_voice() local
241 hw = vp->hw; in start_voice()
246 EMU8000_DCYSUSV_WRITE(hw, ch, 0x0080); in start_voice()
247 EMU8000_VTFT_WRITE(hw, ch, 0x0000FFFF); in start_voice()
248 EMU8000_CVCF_WRITE(hw, ch, 0x0000FFFF); in start_voice()
249 EMU8000_PTRX_WRITE(hw, ch, 0); in start_voice()
250 EMU8000_CPF_WRITE(hw, ch, 0); in start_voice()
253 set_pitch(hw, vp); in start_voice()
256 EMU8000_ENVVAL_WRITE(hw, ch, vp->reg.parm.moddelay); in start_voice()
257 EMU8000_ATKHLD_WRITE(hw, ch, vp->reg.parm.modatkhld); in start_voice()
258 EMU8000_DCYSUS_WRITE(hw, ch, vp->reg.parm.moddcysus); in start_voice()
259 EMU8000_ENVVOL_WRITE(hw, ch, vp->reg.parm.voldelay); in start_voice()
260 EMU8000_ATKHLDV_WRITE(hw, ch, vp->reg.parm.volatkhld); in start_voice()
265 set_volume(hw, vp); in start_voice()
268 EMU8000_PEFE_WRITE(hw, ch, vp->reg.parm.pefe); in start_voice()
271 EMU8000_LFO1VAL_WRITE(hw, ch, vp->reg.parm.lfo1delay); in start_voice()
272 EMU8000_LFO2VAL_WRITE(hw, ch, vp->reg.parm.lfo2delay); in start_voice()
275 set_fmmod(hw, vp); in start_voice()
277 set_tremfreq(hw, vp); in start_voice()
279 set_fm2frq2(hw, vp); in start_voice()
281 set_pan(hw, vp); in start_voice()
289 EMU8000_CSL_WRITE(hw, ch, temp); in start_voice()
295 EMU8000_CCCA_WRITE(hw, ch, temp); in start_voice()
298 EMU8000_00A0_WRITE(hw, ch, 0); in start_voice()
299 EMU8000_0080_WRITE(hw, ch, 0); in start_voice()
303 EMU8000_VTFT_WRITE(hw, ch, temp | vp->ftarget); in start_voice()
304 EMU8000_CVCF_WRITE(hw, ch, temp | 0xff00); in start_voice()
317 struct snd_emu8000 *hw; in trigger_voice() local
319 hw = vp->hw; in trigger_voice()
326 EMU8000_PTRX_WRITE(hw, ch, temp); in trigger_voice()
327 EMU8000_CPF_WRITE(hw, ch, vp->ptarget << 16); in trigger_voice()
328 EMU8000_DCYSUSV_WRITE(hw, ch, vp->reg.parm.voldcysus); in trigger_voice()
337 struct snd_emu8000 *hw; in reset_voice() local
339 hw = emu->hw; in reset_voice()
340 EMU8000_DCYSUSV_WRITE(hw, ch, 0x807F); in reset_voice()
341 snd_emu8000_tweak_voice(hw, ch); in reset_voice()
348 set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_pitch() argument
350 EMU8000_IP_WRITE(hw, vp->ch, vp->apitch); in set_pitch()
357 set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_volume() argument
364 EMU8000_IFATN_WRITE(hw, vp->ch, ifatn); in set_volume()
371 set_pan(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_pan() argument
376 EMU8000_PSST_WRITE(hw, vp->ch, temp); in set_pan()
382 set_fmmod(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_fmmod() argument
395 EMU8000_FMMOD_WRITE(hw, vp->ch, fmmod); in set_fmmod()
400 set_tremfreq(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_tremfreq() argument
402 EMU8000_TREMFRQ_WRITE(hw, vp->ch, vp->reg.parm.tremfrq); in set_tremfreq()
407 set_fm2frq2(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_fm2frq2() argument
420 EMU8000_FM2FRQ2_WRITE(hw, vp->ch, fm2frq2); in set_fm2frq2()
425 set_filterQ(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_filterQ() argument
428 addr = EMU8000_CCCA_READ(hw, vp->ch) & 0xffffff; in set_filterQ()
430 EMU8000_CCCA_WRITE(hw, vp->ch, addr); in set_filterQ()
461 struct snd_emu8000 *hw; in sysex() local
463 hw = emu->hw; in sysex()
467 hw->chorus_mode = chset->gs_chorus_mode; in sysex()
468 snd_emu8000_update_chorus_mode(hw); in sysex()
472 hw->reverb_mode = chset->gs_reverb_mode; in sysex()
473 snd_emu8000_update_reverb_mode(hw); in sysex()
486 struct snd_emu8000 *hw; in oss_ioctl() local
488 hw = emu->hw; in oss_ioctl()
492 hw->reverb_mode = p1; in oss_ioctl()
493 snd_emu8000_update_reverb_mode(hw); in oss_ioctl()
497 hw->chorus_mode = p1; in oss_ioctl()
498 snd_emu8000_update_chorus_mode(hw); in oss_ioctl()
506 hw->bass_level = p1; in oss_ioctl()
507 hw->treble_level = p2; in oss_ioctl()
508 snd_emu8000_update_equalizer(hw); in oss_ioctl()
531 struct snd_emu8000 *hw; in load_fx() local
532 hw = emu->hw; in load_fx()
540 return snd_emu8000_load_chorus_fx(hw, mode, buf, len); in load_fx()
542 return snd_emu8000_load_reverb_fx(hw, mode, buf, len); in load_fx()