• Home
  • Raw
  • Download

Lines Matching refs:hw

32 static void set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
33 static void set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
34 static void set_pan(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
35 static void set_fmmod(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
36 static void set_tremfreq(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
37 static void set_fm2frq2(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
38 static void set_filterQ(struct snd_emu8000 *hw, struct snd_emux_voice *vp);
72 snd_emu8000_ops_setup(struct snd_emu8000 *hw) in snd_emu8000_ops_setup() argument
74 hw->emu->ops = emu8000_ops; in snd_emu8000_ops_setup()
86 struct snd_emu8000 *hw; in release_voice() local
88 hw = vp->hw; in release_voice()
90 EMU8000_DCYSUS_WRITE(hw, vp->ch, dcysusv); in release_voice()
92 EMU8000_DCYSUSV_WRITE(hw, vp->ch, dcysusv); in release_voice()
101 struct snd_emu8000 *hw; in terminate_voice() local
103 hw = vp->hw; in terminate_voice()
104 EMU8000_DCYSUSV_WRITE(hw, vp->ch, 0x807F); in terminate_voice()
113 struct snd_emu8000 *hw; in update_voice() local
115 hw = vp->hw; in update_voice()
117 set_volume(hw, vp); in update_voice()
119 set_pitch(hw, vp); in update_voice()
122 set_pan(hw, vp); in update_voice()
124 set_fmmod(hw, vp); in update_voice()
126 set_tremfreq(hw, vp); in update_voice()
128 set_fm2frq2(hw, vp); in update_voice()
130 set_filterQ(hw, vp); in update_voice()
148 struct snd_emu8000 *hw; in get_voice() local
162 hw = emu->hw; in get_voice()
183 val = (EMU8000_CVCF_READ(hw, vp->ch) >> 16) & 0xffff; in get_voice()
195 val = EMU8000_CCCA_READ(hw, vp->ch) & 0xffffff; in get_voice()
227 struct snd_emu8000 *hw; in start_voice() local
229 hw = vp->hw; in start_voice()
234 EMU8000_DCYSUSV_WRITE(hw, ch, 0x0080); in start_voice()
235 EMU8000_VTFT_WRITE(hw, ch, 0x0000FFFF); in start_voice()
236 EMU8000_CVCF_WRITE(hw, ch, 0x0000FFFF); in start_voice()
237 EMU8000_PTRX_WRITE(hw, ch, 0); in start_voice()
238 EMU8000_CPF_WRITE(hw, ch, 0); in start_voice()
241 set_pitch(hw, vp); in start_voice()
244 EMU8000_ENVVAL_WRITE(hw, ch, vp->reg.parm.moddelay); in start_voice()
245 EMU8000_ATKHLD_WRITE(hw, ch, vp->reg.parm.modatkhld); in start_voice()
246 EMU8000_DCYSUS_WRITE(hw, ch, vp->reg.parm.moddcysus); in start_voice()
247 EMU8000_ENVVOL_WRITE(hw, ch, vp->reg.parm.voldelay); in start_voice()
248 EMU8000_ATKHLDV_WRITE(hw, ch, vp->reg.parm.volatkhld); in start_voice()
253 set_volume(hw, vp); in start_voice()
256 EMU8000_PEFE_WRITE(hw, ch, vp->reg.parm.pefe); in start_voice()
259 EMU8000_LFO1VAL_WRITE(hw, ch, vp->reg.parm.lfo1delay); in start_voice()
260 EMU8000_LFO2VAL_WRITE(hw, ch, vp->reg.parm.lfo2delay); in start_voice()
263 set_fmmod(hw, vp); in start_voice()
265 set_tremfreq(hw, vp); in start_voice()
267 set_fm2frq2(hw, vp); in start_voice()
269 set_pan(hw, vp); in start_voice()
277 EMU8000_CSL_WRITE(hw, ch, temp); in start_voice()
283 EMU8000_CCCA_WRITE(hw, ch, temp); in start_voice()
286 EMU8000_00A0_WRITE(hw, ch, 0); in start_voice()
287 EMU8000_0080_WRITE(hw, ch, 0); in start_voice()
291 EMU8000_VTFT_WRITE(hw, ch, temp | vp->ftarget); in start_voice()
292 EMU8000_CVCF_WRITE(hw, ch, temp | 0xff00); in start_voice()
305 struct snd_emu8000 *hw; in trigger_voice() local
307 hw = vp->hw; in trigger_voice()
314 EMU8000_PTRX_WRITE(hw, ch, temp); in trigger_voice()
315 EMU8000_CPF_WRITE(hw, ch, vp->ptarget << 16); in trigger_voice()
316 EMU8000_DCYSUSV_WRITE(hw, ch, vp->reg.parm.voldcysus); in trigger_voice()
325 struct snd_emu8000 *hw; in reset_voice() local
327 hw = emu->hw; in reset_voice()
328 EMU8000_DCYSUSV_WRITE(hw, ch, 0x807F); in reset_voice()
329 snd_emu8000_tweak_voice(hw, ch); in reset_voice()
336 set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_pitch() argument
338 EMU8000_IP_WRITE(hw, vp->ch, vp->apitch); in set_pitch()
345 set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_volume() argument
352 EMU8000_IFATN_WRITE(hw, vp->ch, ifatn); in set_volume()
359 set_pan(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_pan() argument
364 EMU8000_PSST_WRITE(hw, vp->ch, temp); in set_pan()
370 set_fmmod(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_fmmod() argument
383 EMU8000_FMMOD_WRITE(hw, vp->ch, fmmod); in set_fmmod()
388 set_tremfreq(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_tremfreq() argument
390 EMU8000_TREMFRQ_WRITE(hw, vp->ch, vp->reg.parm.tremfrq); in set_tremfreq()
395 set_fm2frq2(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_fm2frq2() argument
408 EMU8000_FM2FRQ2_WRITE(hw, vp->ch, fm2frq2); in set_fm2frq2()
413 set_filterQ(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_filterQ() argument
416 addr = EMU8000_CCCA_READ(hw, vp->ch) & 0xffffff; in set_filterQ()
418 EMU8000_CCCA_WRITE(hw, vp->ch, addr); in set_filterQ()
449 struct snd_emu8000 *hw; in sysex() local
451 hw = emu->hw; in sysex()
455 hw->chorus_mode = chset->gs_chorus_mode; in sysex()
456 snd_emu8000_update_chorus_mode(hw); in sysex()
460 hw->reverb_mode = chset->gs_reverb_mode; in sysex()
461 snd_emu8000_update_reverb_mode(hw); in sysex()
474 struct snd_emu8000 *hw; in oss_ioctl() local
476 hw = emu->hw; in oss_ioctl()
480 hw->reverb_mode = p1; in oss_ioctl()
481 snd_emu8000_update_reverb_mode(hw); in oss_ioctl()
485 hw->chorus_mode = p1; in oss_ioctl()
486 snd_emu8000_update_chorus_mode(hw); in oss_ioctl()
494 hw->bass_level = p1; in oss_ioctl()
495 hw->treble_level = p2; in oss_ioctl()
496 snd_emu8000_update_equalizer(hw); in oss_ioctl()
519 struct snd_emu8000 *hw; in load_fx() local
520 hw = emu->hw; in load_fx()
528 return snd_emu8000_load_chorus_fx(hw, mode, buf, len); in load_fx()
530 return snd_emu8000_load_reverb_fx(hw, mode, buf, len); in load_fx()