Lines Matching refs:hw
23 struct snd_emu10k1 *hw; in snd_emu10k1_synth_probe() local
42 hw = arg->hwptr; in snd_emu10k1_synth_probe()
43 emux->hw = hw; in snd_emu10k1_synth_probe()
47 emux->memhdr = hw->memhdr; in snd_emu10k1_synth_probe()
51 emux->midi_devidx = hw->audigy ? 2 : 1; in snd_emu10k1_synth_probe()
60 spin_lock_irqsave(&hw->voice_lock, flags); in snd_emu10k1_synth_probe()
61 hw->synth = emux; in snd_emu10k1_synth_probe()
62 hw->get_synth_voice = snd_emu10k1_synth_get_voice; in snd_emu10k1_synth_probe()
63 spin_unlock_irqrestore(&hw->voice_lock, flags); in snd_emu10k1_synth_probe()
74 struct snd_emu10k1 *hw; in snd_emu10k1_synth_remove() local
82 hw = emux->hw; in snd_emu10k1_synth_remove()
83 spin_lock_irqsave(&hw->voice_lock, flags); in snd_emu10k1_synth_remove()
84 hw->synth = NULL; in snd_emu10k1_synth_remove()
85 hw->get_synth_voice = NULL; in snd_emu10k1_synth_remove()
86 spin_unlock_irqrestore(&hw->voice_lock, flags); in snd_emu10k1_synth_remove()