Lines Matching refs:source_id
245 unsigned int source_id; in snd_ca0106_i2c_capture_source_put() local
251 source_id = ucontrol->value.enumerated.item[0] ; in snd_ca0106_i2c_capture_source_put()
252 if (source_id >= 4) in snd_ca0106_i2c_capture_source_put()
254 change = (emu->i2c_capture_source != source_id); in snd_ca0106_i2c_capture_source_put()
256 ca0106_set_i2c_capture_source(emu, source_id, 0); in snd_ca0106_i2c_capture_source_put()
476 int source_id; in snd_ca0106_i2c_volume_get() local
478 source_id = kcontrol->private_value; in snd_ca0106_i2c_volume_get()
480 ucontrol->value.integer.value[0] = emu->i2c_capture_volume[source_id][0]; in snd_ca0106_i2c_volume_get()
481 ucontrol->value.integer.value[1] = emu->i2c_capture_volume[source_id][1]; in snd_ca0106_i2c_volume_get()
491 int source_id; in snd_ca0106_i2c_volume_put() local
494 source_id = kcontrol->private_value; in snd_ca0106_i2c_volume_put()
495 ogain = emu->i2c_capture_volume[source_id][0]; /* Left */ in snd_ca0106_i2c_volume_put()
500 if (emu->i2c_capture_source == source_id) in snd_ca0106_i2c_volume_put()
502 emu->i2c_capture_volume[source_id][0] = ucontrol->value.integer.value[0]; in snd_ca0106_i2c_volume_put()
505 ogain = emu->i2c_capture_volume[source_id][1]; /* Right */ in snd_ca0106_i2c_volume_put()
510 if (emu->i2c_capture_source == source_id) in snd_ca0106_i2c_volume_put()
512 emu->i2c_capture_volume[source_id][1] = ucontrol->value.integer.value[1]; in snd_ca0106_i2c_volume_put()