Lines Matching defs:kctrl
354 static int siu_dai_info_volume(struct snd_kcontrol *kctrl,
357 struct siu_port *port_info = snd_kcontrol_chip(kctrl);
369 static int siu_dai_get_volume(struct snd_kcontrol *kctrl,
372 struct siu_port *port_info = snd_kcontrol_chip(kctrl);
378 switch (kctrl->private_value) {
393 __func__, kctrl->private_value);
400 static int siu_dai_put_volume(struct snd_kcontrol *kctrl,
403 struct siu_port *port_info = snd_kcontrol_chip(kctrl);
422 switch (kctrl->private_value) {
437 __func__, kctrl->private_value);
470 struct snd_kcontrol *kctrl;
488 kctrl = snd_ctl_new1(&playback_controls, *port_info);
489 ret = snd_ctl_add(card, kctrl);
493 kctrl, port, ret);
495 kctrl = snd_ctl_new1(&capture_controls, *port_info);
496 ret = snd_ctl_add(card, kctrl);
500 kctrl, port, ret);