Lines Matching defs:err
120 int err;
137 err = snd_pcm_hw_constraint_integer(runtime,
139 if (err < 0)
142 err = snd_pcm_hw_constraint_minmax(runtime,
145 if (err < 0)
150 err = -ENOMEM;
160 return err;
200 int err;
206 err = atc->spdif_passthru_playback_prepare(atc, apcm);
208 err = atc->pcm_playback_prepare(atc, apcm);
210 if (err < 0) {
213 return err;
266 int err;
278 err = snd_pcm_hw_constraint_integer(runtime,
280 if (err < 0)
283 err = snd_pcm_hw_constraint_minmax(runtime,
286 if (err < 0)
291 err = -ENOMEM;
301 return err;
313 int err;
318 err = atc->pcm_capture_prepare(atc, apcm);
319 if (err < 0) {
322 return err;
420 int err;
425 err = snd_pcm_new(atc->card, "ctxfi", device,
427 if (err < 0) {
429 err);
430 return err;
466 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, chs,
468 if (err < 0)
469 return err;