Lines Matching refs:source_id

925 	unsigned int source_id;  in snd_audigy_i2c_capture_source_put()  local
935 source_id = ucontrol->value.enumerated.item[0]; in snd_audigy_i2c_capture_source_put()
938 if (source_id >= 2) in snd_audigy_i2c_capture_source_put()
940 change = (emu->i2c_capture_source != source_id); in snd_audigy_i2c_capture_source_put()
945 if (source_id==0) in snd_audigy_i2c_capture_source_put()
951 ngain = emu->i2c_capture_volume[source_id][0]; /* Left */ in snd_audigy_i2c_capture_source_put()
955 ngain = emu->i2c_capture_volume[source_id][1]; /* Right */ in snd_audigy_i2c_capture_source_put()
960 source = 1 << (source_id + 2); in snd_audigy_i2c_capture_source_put()
962 emu->i2c_capture_source = source_id; in snd_audigy_i2c_capture_source_put()
990 unsigned int source_id; in snd_audigy_i2c_volume_get() local
992 source_id = kcontrol->private_value; in snd_audigy_i2c_volume_get()
995 if (source_id >= 2) in snd_audigy_i2c_volume_get()
998 ucontrol->value.integer.value[0] = emu->i2c_capture_volume[source_id][0]; in snd_audigy_i2c_volume_get()
999 ucontrol->value.integer.value[1] = emu->i2c_capture_volume[source_id][1]; in snd_audigy_i2c_volume_get()
1009 unsigned int source_id; in snd_audigy_i2c_volume_put() local
1012 source_id = kcontrol->private_value; in snd_audigy_i2c_volume_put()
1015 if (source_id >= 2) in snd_audigy_i2c_volume_put()
1017 ogain = emu->i2c_capture_volume[source_id][0]; /* Left */ in snd_audigy_i2c_volume_put()
1022 if (emu->i2c_capture_source == source_id) in snd_audigy_i2c_volume_put()
1024 emu->i2c_capture_volume[source_id][0] = ngain; in snd_audigy_i2c_volume_put()
1027 ogain = emu->i2c_capture_volume[source_id][1]; /* Right */ in snd_audigy_i2c_volume_put()
1032 if (emu->i2c_capture_source == source_id) in snd_audigy_i2c_volume_put()
1034 emu->i2c_capture_volume[source_id][1] = ngain; in snd_audigy_i2c_volume_put()