Lines Matching refs:aoa_card
14 static struct aoa_card *aoa_card; variable
21 if (aoa_card) in aoa_alsa_init()
25 err = snd_card_new(dev, index, name, mod, sizeof(struct aoa_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()
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()
39 aoa_card = NULL; in aoa_alsa_init()
47 if (aoa_card) in aoa_get_card()
48 return aoa_card->alsa_card; in aoa_get_card()
55 if (aoa_card) { in aoa_alsa_cleanup()
56 snd_card_free(aoa_card->alsa_card); in aoa_alsa_cleanup()
57 aoa_card = NULL; in aoa_alsa_cleanup()
90 if (!aoa_card) return -ENODEV; in aoa_snd_ctl_add()
92 err = snd_ctl_add(aoa_card->alsa_card, control); in aoa_snd_ctl_add()