Home
last modified time | relevance | path

Searched refs:kctrl (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/sound/soc/atmel/
H A Dtse850-pcm5142.c60 static int tse850_get_mux1(struct snd_kcontrol *kctrl, in tse850_get_mux1() argument
63 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux1()
72 static int tse850_put_mux1(struct snd_kcontrol *kctrl, in tse850_put_mux1() argument
75 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux1()
78 struct soc_enum *e = (struct soc_enum *)kctrl->private_value; in tse850_put_mux1()
87 return snd_soc_dapm_put_enum_double(kctrl, ucontrol); in tse850_put_mux1()
90 static int tse850_get_mux2(struct snd_kcontrol *kctrl, in tse850_get_mux2() argument
93 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux2()
102 static int tse850_put_mux2(struct snd_kcontrol *kctrl, in tse850_put_mux2() argument
105 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux2()
[all …]
/OK3568_Linux_fs/external/xserver/Xi/
H A Dchgfctl.c94 KeybdCtrl kctrl; in ChangeKbdFeedback() local
106 kctrl = k->ctrl; in ChangeKbdFeedback()
115 kctrl.click = t; in ChangeKbdFeedback()
126 kctrl.bell = t; in ChangeKbdFeedback()
137 kctrl.bell_pitch = t; in ChangeKbdFeedback()
148 kctrl.bell_duration = t; in ChangeKbdFeedback()
152 kctrl.leds &= ~(f->led_mask); in ChangeKbdFeedback()
153 kctrl.leds |= (f->led_mask & f->led_values); in ChangeKbdFeedback()
173 kctrl.autoRepeat = FALSE; in ChangeKbdFeedback()
175 kctrl.autoRepeats[inx] &= ~kmask; in ChangeKbdFeedback()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/sh/
H A Dsiu_dai.c337 static int siu_dai_info_volume(struct snd_kcontrol *kctrl, in siu_dai_info_volume() argument
340 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_info_volume()
352 static int siu_dai_get_volume(struct snd_kcontrol *kctrl, in siu_dai_get_volume() argument
355 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_get_volume()
361 switch (kctrl->private_value) { in siu_dai_get_volume()
376 __func__, kctrl->private_value); in siu_dai_get_volume()
383 static int siu_dai_put_volume(struct snd_kcontrol *kctrl, in siu_dai_put_volume() argument
386 struct siu_port *port_info = snd_kcontrol_chip(kctrl); in siu_dai_put_volume()
405 switch (kctrl->private_value) { in siu_dai_put_volume()
420 __func__, kctrl->private_value); in siu_dai_put_volume()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/sh/rcar/
H A Dcore.c1531 static int rsnd_kctrl_info(struct snd_kcontrol *kctrl, in rsnd_kctrl_info() argument
1534 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_info()
1557 static int rsnd_kctrl_get(struct snd_kcontrol *kctrl, in rsnd_kctrl_get() argument
1560 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_get()
1572 static int rsnd_kctrl_put(struct snd_kcontrol *kctrl, in rsnd_kctrl_put() argument
1575 struct rsnd_kctrl_cfg *cfg = snd_kcontrol_chip(kctrl); in rsnd_kctrl_put()
1670 struct snd_kcontrol *kctrl; in rsnd_kctrl_new() local
1686 list_for_each_entry(kctrl, &card->controls, list) { in rsnd_kctrl_new()
1687 struct rsnd_kctrl_cfg *c = kctrl->private_data; in rsnd_kctrl_new()
1696 kctrl = snd_ctl_new1(&knew, cfg); in rsnd_kctrl_new()
[all …]
H A Drsnd.h720 struct snd_kcontrol *kctrl; member
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dssm2305.c20 struct snd_kcontrol *kctrl, int event) in ssm2305_power_event() argument
H A Dcs4234.c85 static int cs4234_dac14_grp_delay_put(struct snd_kcontrol *kctrl, in cs4234_dac14_grp_delay_put() argument
88 struct snd_soc_component *component = snd_soc_kcontrol_component(kctrl); in cs4234_dac14_grp_delay_put()
110 ret = snd_soc_put_enum_double(kctrl, uctrl); in cs4234_dac14_grp_delay_put()
H A Dtpa6130a2.c94 struct snd_kcontrol *kctrl, int event) in tpa6130a2_power_event() argument
/OK3568_Linux_fs/external/xserver/hw/dmx/input/
H A Ddmxcommon.h49 KeybdCtrl kctrl; \
H A Ddmxcommon.c164 priv->kctrlset ? &priv->kctrl : NULL, ctrl); in dmxCommonKbdCtrl()
165 priv->kctrl = *ctrl; in dmxCommonKbdCtrl()
638 &priv->dmxLocal->kctrl); in dmxCommonSaveState()
H A Ddmxinputinit.h229 KeybdCtrl kctrl; /**< Keyboard control */ member
H A Ddmxinputinit.c256 dmxLocal->kctrl = *ctrl; in _dmxKeyboardKbdCtrlProc()
301 dmxLocal->kctrl.bell, in _dmxKeyboardBellProc()
302 dmxLocal->kctrl.bell_pitch, in _dmxKeyboardBellProc()
303 dmxLocal->kctrl.bell_duration); in _dmxKeyboardBellProc()