• Home
  • Raw
  • Download

Lines Matching refs:retval

192 	int retval;  in atmel_ac97c_playback_prepare()  local
253 retval = snd_ac97_set_rate(chip->ac97, AC97_PCM_FRONT_DAC_RATE, in atmel_ac97c_playback_prepare()
255 if (retval) in atmel_ac97c_playback_prepare()
265 return retval; in atmel_ac97c_playback_prepare()
274 int retval; in atmel_ac97c_capture_prepare() local
335 retval = snd_ac97_set_rate(chip->ac97, AC97_PCM_LR_ADC_RATE, in atmel_ac97c_capture_prepare()
337 if (retval) in atmel_ac97c_capture_prepare()
347 return retval; in atmel_ac97c_capture_prepare()
468 irqreturn_t retval = IRQ_NONE; in atmel_ac97c_interrupt() local
519 retval = IRQ_HANDLED; in atmel_ac97c_interrupt()
529 retval = IRQ_HANDLED; in atmel_ac97c_interrupt()
532 if (retval == IRQ_NONE) { in atmel_ac97c_interrupt()
537 return retval; in atmel_ac97c_interrupt()
572 int retval; in atmel_ac97c_pcm_new() local
574 retval = snd_ac97_pcm_assign(chip->ac97_bus, in atmel_ac97c_pcm_new()
577 if (retval) in atmel_ac97c_pcm_new()
578 return retval; in atmel_ac97c_pcm_new()
580 retval = snd_pcm_new(chip->card, chip->card->shortname, 0, 1, 1, &pcm); in atmel_ac97c_pcm_new()
581 if (retval) in atmel_ac97c_pcm_new()
582 return retval; in atmel_ac97c_pcm_new()
709 int retval; in atmel_ac97c_probe() local
729 retval = clk_prepare_enable(pclk); in atmel_ac97c_probe()
730 if (retval) in atmel_ac97c_probe()
733 retval = snd_card_new(&pdev->dev, SNDRV_DEFAULT_IDX1, in atmel_ac97c_probe()
736 if (retval) { in atmel_ac97c_probe()
743 retval = request_irq(irq, atmel_ac97c_interrupt, 0, "AC97C", chip); in atmel_ac97c_probe()
744 if (retval) { in atmel_ac97c_probe()
763 retval = -ENOMEM; in atmel_ac97c_probe()
777 retval = snd_ac97_bus(card, 0, &ops, chip, &chip->ac97_bus); in atmel_ac97c_probe()
778 if (retval) { in atmel_ac97c_probe()
783 retval = atmel_ac97c_mixer_new(chip); in atmel_ac97c_probe()
784 if (retval) { in atmel_ac97c_probe()
789 retval = atmel_ac97c_pcm_new(chip); in atmel_ac97c_probe()
790 if (retval) { in atmel_ac97c_probe()
795 retval = snd_card_register(card); in atmel_ac97c_probe()
796 if (retval) { in atmel_ac97c_probe()
818 return retval; in atmel_ac97c_probe()