Lines Matching refs:alsa_card
18 struct snd_card *alsa_card; in aoa_alsa_init() local
26 &alsa_card); in aoa_alsa_init()
29 aoa_card = alsa_card->private_data; in aoa_alsa_init()
30 aoa_card->alsa_card = alsa_card; in aoa_alsa_init()
31 strscpy(alsa_card->driver, "AppleOnbdAudio", sizeof(alsa_card->driver)); in aoa_alsa_init()
32 strscpy(alsa_card->shortname, name, sizeof(alsa_card->shortname)); in aoa_alsa_init()
33 strscpy(alsa_card->longname, name, sizeof(alsa_card->longname)); in aoa_alsa_init()
34 strscpy(alsa_card->mixername, name, sizeof(alsa_card->mixername)); in aoa_alsa_init()
35 err = snd_card_register(aoa_card->alsa_card); in aoa_alsa_init()
38 snd_card_free(aoa_card->alsa_card); in aoa_alsa_init()
48 return aoa_card->alsa_card; in aoa_get_card()
56 snd_card_free(aoa_card->alsa_card); in aoa_alsa_cleanup()
92 err = snd_ctl_add(aoa_card->alsa_card, control); in aoa_snd_ctl_add()