Lines Matching refs:kctrl
337 static int siu_dai_info_volume(struct snd_kcontrol *kctrl,
340 struct siu_port *port_info = snd_kcontrol_chip(kctrl);
352 static int siu_dai_get_volume(struct snd_kcontrol *kctrl,
355 struct siu_port *port_info = snd_kcontrol_chip(kctrl);
361 switch (kctrl->private_value) {
376 __func__, kctrl->private_value);
383 static int siu_dai_put_volume(struct snd_kcontrol *kctrl,
386 struct siu_port *port_info = snd_kcontrol_chip(kctrl);
405 switch (kctrl->private_value) {
420 __func__, kctrl->private_value);
453 struct snd_kcontrol *kctrl;
471 kctrl = snd_ctl_new1(&playback_controls, *port_info);
472 ret = snd_ctl_add(card, kctrl);
476 kctrl, port, ret);
478 kctrl = snd_ctl_new1(&capture_controls, *port_info);
479 ret = snd_ctl_add(card, kctrl);
483 kctrl, port, ret);