Lines Matching refs:kctrl
356 static int siu_dai_info_volume(struct snd_kcontrol *kctrl, in siu_dai_info_volume() argument
359 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_info_volume()
371 static int siu_dai_get_volume(struct snd_kcontrol *kctrl, in siu_dai_get_volume() argument
374 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_get_volume()
380 switch (kctrl->private_value) { in siu_dai_get_volume()
395 __func__, kctrl->private_value); in siu_dai_get_volume()
402 static int siu_dai_put_volume(struct snd_kcontrol *kctrl, in siu_dai_put_volume() argument
405 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_put_volume()
424 switch (kctrl->private_value) { in siu_dai_put_volume()
439 __func__, kctrl->private_value); in siu_dai_put_volume()
472 struct snd_kcontrol *kctrl; in siu_init_port() local
490 kctrl = snd_ctl_new1(&playback_controls, *port_info); in siu_init_port()
491 ret = snd_ctl_add(card, kctrl); in siu_init_port()
495 kctrl, port, ret); in siu_init_port()
497 kctrl = snd_ctl_new1(&capture_controls, *port_info); in siu_init_port()
498 ret = snd_ctl_add(card, kctrl); in siu_init_port()
502 kctrl, port, ret); in siu_init_port()