Lines Matching refs:ch
189 unsigned int ch = kcontrol->private_value; in usb6fire_control_output_vol_put() local
192 if (ch > 4) { in usb6fire_control_output_vol_put()
198 if (rt->output_vol[ch] != ucontrol->value.integer.value[0]) { in usb6fire_control_output_vol_put()
199 rt->output_vol[ch] = ucontrol->value.integer.value[0]; in usb6fire_control_output_vol_put()
200 rt->ovol_updated &= ~(1 << ch); in usb6fire_control_output_vol_put()
203 if (rt->output_vol[ch + 1] != ucontrol->value.integer.value[1]) { in usb6fire_control_output_vol_put()
204 rt->output_vol[ch + 1] = ucontrol->value.integer.value[1]; in usb6fire_control_output_vol_put()
205 rt->ovol_updated &= ~(2 << ch); in usb6fire_control_output_vol_put()
219 unsigned int ch = kcontrol->private_value; in usb6fire_control_output_vol_get() local
221 if (ch > 4) { in usb6fire_control_output_vol_get()
227 ucontrol->value.integer.value[0] = rt->output_vol[ch]; in usb6fire_control_output_vol_get()
228 ucontrol->value.integer.value[1] = rt->output_vol[ch + 1]; in usb6fire_control_output_vol_get()
236 unsigned int ch = kcontrol->private_value; in usb6fire_control_output_mute_put() local
240 if (ch > 4) { in usb6fire_control_output_mute_put()
246 rt->output_mute &= ~(3 << ch); in usb6fire_control_output_mute_put()
251 rt->output_mute |= value << ch; in usb6fire_control_output_mute_put()
263 unsigned int ch = kcontrol->private_value; in usb6fire_control_output_mute_get() local
264 u8 value = rt->output_mute >> ch; in usb6fire_control_output_mute_get()
266 if (ch > 4) { in usb6fire_control_output_mute_get()