Searched refs:ngain (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/sound/pci/ca0106/ |
H A D | ca0106_mixer.c | 99 unsigned int ngain, ogain; in ca0106_set_i2c_capture_source() local 103 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() local 482 ngain = ucontrol->value.integer.value[0]; in snd_ca0106_i2c_volume_put() 483 if (ngain > 0xff) in snd_ca0106_i2c_volume_put() [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emumixer.c | 1191 unsigned int ngain, ogain; in snd_audigy_i2c_capture_source_put() local 1215 ngain = emu->i2c_capture_volume[source_id][0]; /* Left */ in snd_audigy_i2c_capture_source_put() 1217 if (ngain != ogain) in snd_audigy_i2c_capture_source_put() 1218 snd_emu10k1_i2c_write(emu, ADC_ATTEN_ADCL, ((ngain) & 0xff)); in snd_audigy_i2c_capture_source_put() 1219 ngain = emu->i2c_capture_volume[source_id][1]; /* Right */ in snd_audigy_i2c_capture_source_put() 1221 if (ngain != ogain) in snd_audigy_i2c_capture_source_put() 1222 snd_emu10k1_i2c_write(emu, ADC_ATTEN_ADCR, ((ngain) & 0xff)); in snd_audigy_i2c_capture_source_put()
|