Lines Matching defs:value
25 * @ucontrol: The value that needs to be updated.
27 * Read the value for the AMP gain control.
32 ucontrol->value.integer.value[0] = spk_gain;
37 * speaker_gain_set - set the value of the speaker amp gain
38 * @value: The value to write.
40 static void speaker_gain_set(int value)
42 gpio_set_value_cansleep(pdata->amp_gain[0], value & 1);
43 gpio_set_value_cansleep(pdata->amp_gain[1], value >> 1);
49 * @ucontrol: The value that needs to be set.
51 * Set the value of the speaker gain from the specified
54 * Note, if the speaker amp is muted, then we do not set a gain value
61 int value = ucontrol->value.integer.value[0];
63 spk_gain = value;
66 speaker_gain_set(value);
95 * @ucontrol: The value that needs to be updated.
97 * Read the value for the AMP gain control.
102 ucontrol->value.integer.value[0] = spk_unmute;
109 * @ucontrol: The value that needs to be set.
111 * Set the value of the speaker gain from the specified
117 spk_unmute_state(ucontrol->value.integer.value[0]);