Lines Matching defs:err
8 #include <linux/err.h>
88 int err;
90 err = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE,
92 if (err < 0)
93 return err;
101 if ((err = snd_sbdsp_create(card, port[dev], irq[dev],
115 err = snd_sbdsp_create(card, possible_ports[i],
122 if (err >= 0) {
128 err = -EINVAL;
141 err = -ENODEV;
145 if ((err = snd_sb8dsp_pcm(chip, 0)) < 0)
148 if ((err = snd_sbmixer_new(chip)) < 0)
152 if ((err = snd_opl3_create(card, chip->port + 8, 0,
158 if ((err = snd_opl3_create(card, chip->port, chip->port + 2,
165 if (err >= 0) {
166 if ((err = snd_opl3_hwdep_new(opl3, 0, 1, NULL)) < 0)
170 if ((err = snd_sb8dsp_midi(chip, 0)) < 0)
180 if ((err = snd_card_register(card)) < 0)
188 return err;