Lines Matching refs:integer
99 info->value.integer.min = 0; in hp_stereo_volume_info()
100 info->value.integer.max = 255; in hp_stereo_volume_info()
113 val->value.integer.value[0] = tmp; in hp_stereo_volume_get()
115 val->value.integer.value[1] = tmp; in hp_stereo_volume_get()
127 long new1 = val->value.integer.value[0]; in hp_stereo_volume_put()
128 long new2 = val->value.integer.value[1]; in hp_stereo_volume_put()
157 val->value.integer.value[0] = in hp_mute_get()
171 if (val->value.integer.value[0] > 1) in hp_mute_put()
176 (~val->value.integer.value[0] << 2) & CS4245_MUTE_DAC; in hp_mute_put()
203 info->value.integer.min = 2 * -12; in input_vol_info()
204 info->value.integer.max = 2 * 12; in input_vol_info()
216 value->value.integer.value[0] = data->input_vol[idx][0]; in input_vol_get()
217 value->value.integer.value[1] = data->input_vol[idx][1]; in input_vol_get()
231 if (value->value.integer.value[0] < 2 * -12 || in input_vol_put()
232 value->value.integer.value[0] > 2 * 12 || in input_vol_put()
233 value->value.integer.value[1] < 2 * -12 || in input_vol_put()
234 value->value.integer.value[1] > 2 * 12) in input_vol_put()
237 changed = data->input_vol[idx][0] != value->value.integer.value[0] || in input_vol_put()
238 data->input_vol[idx][1] != value->value.integer.value[1]; in input_vol_put()
240 data->input_vol[idx][0] = value->value.integer.value[0]; in input_vol_put()
241 data->input_vol[idx][1] = value->value.integer.value[1]; in input_vol_put()