Lines Matching defs:trident
30 #include <sound/trident.h>
82 struct snd_trident *trident;
101 &trident)) < 0) {
105 card->private_data = trident;
107 switch (trident->device) {
121 if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
128 card->shortname, trident->port, trident->irq);
130 if ((err = snd_trident_pcm(trident, pcm_dev++, NULL)) < 0) {
134 switch (trident->device) {
137 if ((err = snd_trident_foldback_pcm(trident, pcm_dev++, NULL)) < 0) {
143 if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018) {
144 if ((err = snd_trident_spdif_pcm(trident, pcm_dev++, NULL)) < 0) {
149 if (trident->device != TRIDENT_DEVICE_ID_SI7018 &&
151 trident->midi_port,
153 trident->irq, 0, &trident->rmidi)) < 0) {
160 if ((err = snd_trident_attach_synthesizer(trident)) < 0) {
166 snd_trident_create_gameport(trident);