Lines Matching refs:kctrl
961 #define kcontrol_to_cfg(kctrl) ((struct rsnd_kctrl_cfg *)kctrl->private_value) argument
962 static int rsnd_kctrl_info(struct snd_kcontrol *kctrl, in rsnd_kctrl_info() argument
965 struct rsnd_kctrl_cfg *cfg = kcontrol_to_cfg(kctrl); in rsnd_kctrl_info()
988 static int rsnd_kctrl_get(struct snd_kcontrol *kctrl, in rsnd_kctrl_get() argument
991 struct rsnd_kctrl_cfg *cfg = kcontrol_to_cfg(kctrl); in rsnd_kctrl_get()
1003 static int rsnd_kctrl_put(struct snd_kcontrol *kctrl, in rsnd_kctrl_put() argument
1006 struct rsnd_mod *mod = snd_kcontrol_chip(kctrl); in rsnd_kctrl_put()
1007 struct rsnd_kctrl_cfg *cfg = kcontrol_to_cfg(kctrl); in rsnd_kctrl_put()
1036 struct snd_kcontrol *kctrl; in __rsnd_kctrl_new() local
1048 kctrl = snd_ctl_new1(&knew, mod); in __rsnd_kctrl_new()
1049 if (!kctrl) in __rsnd_kctrl_new()
1052 ret = snd_ctl_add(card, kctrl); in __rsnd_kctrl_new()
1058 cfg->kctrl = kctrl; in __rsnd_kctrl_new()
1066 snd_ctl_remove(cfg->card, cfg->kctrl); in _rsnd_kctrl_remove()