Home
last modified time | relevance | path

Searched refs:ogain (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/pci/ca0106/
H A Dca0106_mixer.c99 unsigned int ngain, ogain; in ca0106_set_i2c_capture_source() local
104 ogain = emu->i2c_capture_volume[emu->i2c_capture_source][0]; /* Left */ in ca0106_set_i2c_capture_source()
105 if (force || ngain != ogain) in ca0106_set_i2c_capture_source()
108 ogain = emu->i2c_capture_volume[emu->i2c_capture_source][1]; /* Right */ in ca0106_set_i2c_capture_source()
109 if (force || ngain != ogain) in ca0106_set_i2c_capture_source()
475 unsigned int ogain; in snd_ca0106_i2c_volume_put() local
481 ogain = emu->i2c_capture_volume[source_id][0]; /* Left */ in snd_ca0106_i2c_volume_put()
485 if (ogain != ngain) { in snd_ca0106_i2c_volume_put()
491 ogain = emu->i2c_capture_volume[source_id][1]; /* Right */ in snd_ca0106_i2c_volume_put()
495 if (ogain != ngain) { in snd_ca0106_i2c_volume_put()
/openbmc/linux/sound/pci/emu10k1/
H A Demumixer.c1191 unsigned int ngain, ogain; in snd_audigy_i2c_capture_source_put() local
1216 ogain = emu->i2c_capture_volume[emu->i2c_capture_source][0]; /* Left */ in snd_audigy_i2c_capture_source_put()
1217 if (ngain != ogain) in snd_audigy_i2c_capture_source_put()
1220 ogain = emu->i2c_capture_volume[emu->i2c_capture_source][1]; /* Right */ in snd_audigy_i2c_capture_source_put()
1221 if (ngain != ogain) in snd_audigy_i2c_capture_source_put()
1271 unsigned int ogain; in snd_audigy_i2c_volume_put() local
1287 ogain = emu->i2c_capture_volume[source_id][0]; /* Left */ in snd_audigy_i2c_volume_put()
1288 if (ogain != ngain0) { in snd_audigy_i2c_volume_put()
1294 ogain = emu->i2c_capture_volume[source_id][1]; /* Right */ in snd_audigy_i2c_volume_put()
1295 if (ogain != ngain1) { in snd_audigy_i2c_volume_put()