Lines Matching refs:id
82 int id, idx, change; in stac9460_dac_mute_all() local
85 for (id = 0; id < 7; id++) { in stac9460_dac_mute_all()
86 if (*change_mask & (0x01 << id)) { in stac9460_dac_mute_all()
87 if (id == 0) in stac9460_dac_mute_all()
90 idx = STAC946X_LF_VOLUME - 1 + id; in stac9460_dac_mute_all()
96 *change_mask = *change_mask | (0x01 << id); in stac9460_dac_mute_all()
98 *change_mask = *change_mask & ~(0x01 << id); in stac9460_dac_mute_all()
104 for (id = 0; id < 3; id++) { in stac9460_dac_mute_all()
105 if (*change_mask & (0x01 << (id + 7))) { in stac9460_dac_mute_all()
106 if (id == 0) in stac9460_dac_mute_all()
109 idx = STAC946X_LF_VOLUME - 1 + id; in stac9460_dac_mute_all()
115 *change_mask = *change_mask | (0x01 << id); in stac9460_dac_mute_all()
117 *change_mask = *change_mask & ~(0x01 << id); in stac9460_dac_mute_all()
133 int idx, id; in stac9460_dac_mute_get() local
139 id = 0; in stac9460_dac_mute_get()
141 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_mute_get()
142 idx = id + STAC946X_LF_VOLUME; in stac9460_dac_mute_get()
144 if (id < 6) in stac9460_dac_mute_get()
159 int id, idx; in stac9460_dac_mute_put() local
173 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_mute_put()
174 idx = id + STAC946X_LF_VOLUME; in stac9460_dac_mute_put()
175 if (id < 6) in stac9460_dac_mute_put()
183 if (id < 6) in stac9460_dac_mute_put()
209 int idx, id; in stac9460_dac_vol_get() local
214 id = 0; in stac9460_dac_vol_get()
216 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_vol_get()
217 idx = id + STAC946X_LF_VOLUME; in stac9460_dac_vol_get()
219 if (id < 6) in stac9460_dac_vol_get()
231 int idx, id; in stac9460_dac_vol_put() local
246 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_vol_put()
247 idx = id + STAC946X_LF_VOLUME; in stac9460_dac_vol_put()
249 if (id < 6) in stac9460_dac_vol_put()
256 if (id < 6) in stac9460_dac_vol_put()
277 int i, id; in stac9460_adc_mute_get() local
279 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_mute_get()
280 if (id == 0) { in stac9460_adc_mute_get()
299 int i, reg, id; in stac9460_adc_mute_put() local
302 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_mute_put()
303 if (id == 0) { in stac9460_adc_mute_put()
344 int i, reg, id; in stac9460_adc_vol_get() local
347 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_vol_get()
348 if (id == 0) { in stac9460_adc_vol_get()
368 int i, reg, id; in stac9460_adc_vol_put() local
372 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_adc_vol_put()
373 if (id == 0) { in stac9460_adc_vol_put()
414 int id; in stac9460_mic_sw_get() local
416 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_mic_sw_get()
417 if (id == 0) in stac9460_mic_sw_get()
430 int change, id; in stac9460_mic_sw_put() local
432 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_mic_sw_put()
433 if (id == 0) in stac9460_mic_sw_put()
440 if (id == 0) in stac9460_mic_sw_put()