Lines Matching refs:nvol
218 unsigned char tmp, ovol, nvol; in stac9460_dac_vol_put() local
223 nvol = ucontrol->value.integer.value[0] & 0x7f; in stac9460_dac_vol_put()
226 change = (ovol != nvol); in stac9460_dac_vol_put()
228 stac9460_put(ice, idx, (0x7f - nvol) | (tmp & 0x80)); in stac9460_dac_vol_put()
229 stac9460_2_put(ice, idx, (0x7f - nvol) | (tmp & 0x80)); in stac9460_dac_vol_put()
234 nvol = ucontrol->value.integer.value[0] & 0x7f; in stac9460_dac_vol_put()
240 change = (ovol != nvol); in stac9460_dac_vol_put()
243 stac9460_put(ice, idx, (0x7f - nvol) | in stac9460_dac_vol_put()
246 stac9460_2_put(ice, idx-6, (0x7f - nvol) | in stac9460_dac_vol_put()
355 unsigned char ovol, nvol; in stac9460_adc_vol_put() local
362 nvol = ucontrol->value.integer.value[i] & 0x0f; in stac9460_adc_vol_put()
364 change = ((ovol & 0x0f) != nvol); in stac9460_adc_vol_put()
366 stac9460_put(ice, reg, (0x0f - nvol) | in stac9460_adc_vol_put()
372 nvol = ucontrol->value.integer.value[i] & 0x0f; in stac9460_adc_vol_put()
374 change = ((ovol & 0x0f) != nvol); in stac9460_adc_vol_put()
376 stac9460_2_put(ice, reg, (0x0f - nvol) | in stac9460_adc_vol_put()