Searched refs:ngain (Results 1 – 1 of 1) sorted by relevance
99 unsigned int ngain, ogain; in ca0106_set_i2c_capture_source() local103 ngain = emu->i2c_capture_volume[val][0]; /* Left */ in ca0106_set_i2c_capture_source()105 if (force || ngain != ogain) in ca0106_set_i2c_capture_source()106 snd_ca0106_i2c_write(emu, ADC_ATTEN_ADCL, ngain & 0xff); in ca0106_set_i2c_capture_source()107 ngain = emu->i2c_capture_volume[val][1]; /* Right */ in ca0106_set_i2c_capture_source()109 if (force || ngain != ogain) in ca0106_set_i2c_capture_source()110 snd_ca0106_i2c_write(emu, ADC_ATTEN_ADCR, ngain & 0xff); in ca0106_set_i2c_capture_source()476 unsigned int ngain; in snd_ca0106_i2c_volume_put() local482 ngain = ucontrol->value.integer.value[0]; in snd_ca0106_i2c_volume_put()483 if (ngain > 0xff) in snd_ca0106_i2c_volume_put()[all …]