Lines Matching refs:kctrl
351 static int siu_dai_info_volume(struct snd_kcontrol *kctrl, in siu_dai_info_volume() argument
354 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_info_volume()
366 static int siu_dai_get_volume(struct snd_kcontrol *kctrl, in siu_dai_get_volume() argument
369 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_get_volume()
375 switch (kctrl->private_value) { in siu_dai_get_volume()
390 __func__, kctrl->private_value); in siu_dai_get_volume()
397 static int siu_dai_put_volume(struct snd_kcontrol *kctrl, in siu_dai_put_volume() argument
400 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_put_volume()
419 switch (kctrl->private_value) { in siu_dai_put_volume()
434 __func__, kctrl->private_value); in siu_dai_put_volume()
467 struct snd_kcontrol *kctrl; in siu_init_port() local
485 kctrl = snd_ctl_new1(&playback_controls, *port_info); in siu_init_port()
486 ret = snd_ctl_add(card, kctrl); in siu_init_port()
490 kctrl, port, ret); in siu_init_port()
492 kctrl = snd_ctl_new1(&capture_controls, *port_info); in siu_init_port()
493 ret = snd_ctl_add(card, kctrl); in siu_init_port()
497 kctrl, port, ret); in siu_init_port()