Searched refs:snd_control (Results 1 – 1 of 1) sorted by relevance
1373 static void asihpi_ctl_init(struct snd_kcontrol_new *snd_control, in asihpi_ctl_init() argument1378 memset(snd_control, 0, sizeof(*snd_control)); in asihpi_ctl_init()1379 snd_control->name = hpi_ctl->name; in asihpi_ctl_init()1380 snd_control->private_value = hpi_ctl->h_control; in asihpi_ctl_init()1381 snd_control->iface = SNDRV_CTL_ELEM_IFACE_MIXER; in asihpi_ctl_init()1382 snd_control->index = 0; in asihpi_ctl_init()1517 struct snd_kcontrol_new snd_control; in snd_asihpi_volume_add() local1521 asihpi_ctl_init(&snd_control, hpi_ctl, "Volume"); in snd_asihpi_volume_add()1522 snd_control.access = SNDRV_CTL_ELEM_ACCESS_READWRITE | in snd_asihpi_volume_add()1524 snd_control.info = snd_asihpi_volume_info; in snd_asihpi_volume_add()[all …]