Lines Matching defs:err
619 int err;
623 err = snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
625 if ( err < 0 )
626 return err;
692 int err;
699 err = snd_pcm_new(chip->card, name, device,
702 if (err < 0)
703 return err;
739 int i, tblsize, device, err;
769 err = snd_intel8x0m_pcm1(chip, device, rec);
770 if (err < 0)
771 return err;
802 int err;
818 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0)
827 if ((err = snd_ac97_mixer(pbus, &ac97, &x97)) < 0) {
832 return err;
848 return err;
943 int err;
945 if ((err = snd_intel8x0m_ich_chip_init(chip, probing)) < 0)
946 return err;
1078 int err;
1093 if ((err = pci_enable_device(pci)) < 0)
1094 return err;
1107 if ((err = pci_request_regions(pci, card->shortname)) < 0) {
1110 return err;
1184 if ((err = snd_intel8x0m_chip_init(chip, 1)) < 0) {
1186 return err;
1198 if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) {
1200 return err;
1238 int err;
1241 err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card);
1242 if (err < 0)
1243 return err;
1255 if ((err = snd_intel8x0m_create(card, pci, pci_id->driver_data, &chip)) < 0) {
1257 return err;
1261 if ((err = snd_intel8x0m_mixer(chip, ac97_clock)) < 0) {
1263 return err;
1265 if ((err = snd_intel8x0m_pcm(chip)) < 0) {
1267 return err;
1275 if ((err = snd_card_register(card)) < 0) {
1277 return err;