Searched refs:alsa_card (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/sound/aoa/core/
H A Dalsa.c19 struct snd_card *alsa_card; aoa_alsa_init() local
27 &alsa_card); aoa_alsa_init()
30 aoa_card = alsa_card->private_data; aoa_alsa_init()
31 aoa_card->alsa_card = alsa_card; aoa_alsa_init()
32 strlcpy(alsa_card->driver, "AppleOnbdAudio", sizeof(alsa_card->driver)); aoa_alsa_init()
33 strlcpy(alsa_card->shortname, name, sizeof(alsa_card->shortname)); aoa_alsa_init()
34 strlcpy(alsa_card->longname, name, sizeof(alsa_card->longname)); aoa_alsa_init()
35 strlcpy(alsa_card->mixername, name, sizeof(alsa_card->mixername)); aoa_alsa_init()
36 err = snd_card_register(aoa_card->alsa_card); aoa_alsa_init()
39 snd_card_free(aoa_card->alsa_card); aoa_alsa_init()
49 return aoa_card->alsa_card; aoa_get_card()
57 snd_card_free(aoa_card->alsa_card); aoa_alsa_cleanup()
93 err = snd_ctl_add(aoa_card->alsa_card, control); aoa_snd_ctl_add()
/linux-4.1.27/sound/aoa/
H A Daoa.h116 struct snd_card *alsa_card; member in struct:aoa_card
/linux-4.1.27/drivers/platform/x86/
H A Dthinkpad_acpi.c6719 static struct snd_card *alsa_card; variable in typeref:struct:snd_card
6995 if (alsa_card && alsa_card->private_data) { volume_alsa_notify_change()
6996 d = alsa_card->private_data; volume_alsa_notify_change()
6998 snd_ctl_notify(alsa_card, volume_alsa_notify_change()
7002 snd_ctl_notify(alsa_card, volume_alsa_notify_change()
7106 if (alsa_card) { volume_exit()
7107 snd_card_free(alsa_card); volume_exit()
7108 alsa_card = NULL; volume_exit()
7184 alsa_card = card; volume_create_alsa_mixer()
7441 #define alsa_card NULL macro
8831 if (alsa_card) { tpacpi_driver_event()

Completed in 140 milliseconds