Searched refs:kctrl (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/sound/soc/sh/
H A Dsiu_dai.c351 static int siu_dai_info_volume(struct snd_kcontrol *kctrl, siu_dai_info_volume() argument
354 struct siu_port *port_info = snd_kcontrol_chip(kctrl); siu_dai_info_volume()
366 static int siu_dai_get_volume(struct snd_kcontrol *kctrl, siu_dai_get_volume() argument
369 struct siu_port *port_info = snd_kcontrol_chip(kctrl); siu_dai_get_volume()
375 switch (kctrl->private_value) { siu_dai_get_volume()
390 __func__, kctrl->private_value); siu_dai_get_volume()
397 static int siu_dai_put_volume(struct snd_kcontrol *kctrl, siu_dai_put_volume() argument
400 struct siu_port *port_info = snd_kcontrol_chip(kctrl); siu_dai_put_volume()
419 switch (kctrl->private_value) { siu_dai_put_volume()
434 __func__, kctrl->private_value); siu_dai_put_volume()
467 struct snd_kcontrol *kctrl; siu_init_port() local
485 kctrl = snd_ctl_new1(&playback_controls, *port_info); siu_init_port()
486 ret = snd_ctl_add(card, kctrl); siu_init_port()
490 kctrl, port, ret); siu_init_port()
492 kctrl = snd_ctl_new1(&capture_controls, *port_info); siu_init_port()
493 ret = snd_ctl_add(card, kctrl); siu_init_port()
497 kctrl, port, ret); siu_init_port()
/linux-4.4.14/sound/soc/sh/rcar/
H A Dcore.c963 #define kcontrol_to_cfg(kctrl) ((struct rsnd_kctrl_cfg *)kctrl->private_value) rsnd_kctrl_info()
964 static int rsnd_kctrl_info(struct snd_kcontrol *kctrl, rsnd_kctrl_info() argument
967 struct rsnd_kctrl_cfg *cfg = kcontrol_to_cfg(kctrl); rsnd_kctrl_info()
990 static int rsnd_kctrl_get(struct snd_kcontrol *kctrl, rsnd_kctrl_get() argument
993 struct rsnd_kctrl_cfg *cfg = kcontrol_to_cfg(kctrl); rsnd_kctrl_get()
1005 static int rsnd_kctrl_put(struct snd_kcontrol *kctrl, rsnd_kctrl_put() argument
1008 struct rsnd_mod *mod = snd_kcontrol_chip(kctrl); rsnd_kctrl_put()
1009 struct rsnd_kctrl_cfg *cfg = kcontrol_to_cfg(kctrl); rsnd_kctrl_put()
1038 struct snd_kcontrol *kctrl; __rsnd_kctrl_new() local
1050 kctrl = snd_ctl_new1(&knew, mod); __rsnd_kctrl_new()
1051 if (!kctrl) __rsnd_kctrl_new()
1054 ret = snd_ctl_add(card, kctrl); __rsnd_kctrl_new()
1056 snd_ctl_free_one(kctrl); __rsnd_kctrl_new()
1062 cfg->kctrl = kctrl; __rsnd_kctrl_new()
1070 snd_ctl_remove(cfg->card, cfg->kctrl); _rsnd_kctrl_remove()
H A Drsnd.h523 struct snd_kcontrol *kctrl; member in struct:rsnd_kctrl_cfg

Completed in 118 milliseconds