Lines Matching refs:trident
81 struct snd_trident *trident; in snd_trident_probe() local
101 &trident)) < 0) { in snd_trident_probe()
105 card->private_data = trident; in snd_trident_probe()
107 switch (trident->device) { in snd_trident_probe()
121 if (trident->device == TRIDENT_DEVICE_ID_SI7018) { in snd_trident_probe()
128 card->shortname, trident->port, trident->irq); in snd_trident_probe()
130 if ((err = snd_trident_pcm(trident, pcm_dev++)) < 0) { in snd_trident_probe()
134 switch (trident->device) { in snd_trident_probe()
137 if ((err = snd_trident_foldback_pcm(trident, pcm_dev++)) < 0) { in snd_trident_probe()
143 if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018) { in snd_trident_probe()
144 if ((err = snd_trident_spdif_pcm(trident, pcm_dev++)) < 0) { in snd_trident_probe()
149 if (trident->device != TRIDENT_DEVICE_ID_SI7018 && in snd_trident_probe()
151 trident->midi_port, in snd_trident_probe()
154 -1, &trident->rmidi)) < 0) { in snd_trident_probe()
159 snd_trident_create_gameport(trident); in snd_trident_probe()