• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/emu10k1/

Lines Matching refs:emu

106 	struct snd_emu10k1 *emu;
129 &emu)) < 0)
131 card->private_data = emu;
132 if ((err = snd_emu10k1_pcm(emu, 0, NULL)) < 0)
134 if ((err = snd_emu10k1_pcm_mic(emu, 1, NULL)) < 0)
136 if ((err = snd_emu10k1_pcm_efx(emu, 2, NULL)) < 0)
139 if (emu->card_capabilities->ca0151_chip) { /* P16V */
141 1024, &emu->p16v_buffer)) < 0)
145 if ((err = snd_emu10k1_mixer(emu, 0, 3)) < 0)
148 if ((err = snd_emu10k1_timer(emu, 0)) < 0)
151 if ((err = snd_emu10k1_pcm_multi(emu, 3, NULL)) < 0)
153 if (emu->card_capabilities->ca0151_chip) { /* P16V */
154 if ((err = snd_p16v_pcm(emu, 4, NULL)) < 0)
157 if (emu->audigy) {
158 if ((err = snd_emu10k1_audigy_midi(emu)) < 0)
161 if ((err = snd_emu10k1_midi(emu)) < 0)
164 if ((err = snd_emu10k1_fx8010_new(emu, 0, NULL)) < 0)
175 arg->hwptr = emu;
182 strcpy(card->driver, emu->card_capabilities->driver);
183 strcpy(card->shortname, emu->card_capabilities->name);
186 card->shortname, emu->revision, emu->serial, emu->port, emu->irq);
211 struct snd_emu10k1 *emu = card->private_data;
215 snd_pcm_suspend_all(emu->pcm);
216 snd_pcm_suspend_all(emu->pcm_mic);
217 snd_pcm_suspend_all(emu->pcm_efx);
218 snd_pcm_suspend_all(emu->pcm_multi);
219 snd_pcm_suspend_all(emu->pcm_p16v);
221 snd_ac97_suspend(emu->ac97);
223 snd_emu10k1_efx_suspend(emu);
224 snd_emu10k1_suspend_regs(emu);
225 if (emu->card_capabilities->ca0151_chip)
226 snd_p16v_suspend(emu);
228 snd_emu10k1_done(emu);
239 struct snd_emu10k1 *emu = card->private_data;
251 snd_emu10k1_resume_init(emu);
252 snd_emu10k1_efx_resume(emu);
253 snd_ac97_resume(emu->ac97);
254 snd_emu10k1_resume_regs(emu);
256 if (emu->card_capabilities->ca0151_chip)
257 snd_p16v_resume(emu);