Lines Matching refs:val1

99 	unsigned char val1, val2;  in snd_tea6330t_put_master_volume()  local
101 val1 = (ucontrol->value.integer.value[0] % 44) + 0x14; in snd_tea6330t_put_master_volume()
104 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume()
105 tea->mleft = val1; in snd_tea6330t_put_master_volume()
151 unsigned char oval1, oval2, val1, val2; in snd_tea6330t_put_master_switch() local
153 val1 = ucontrol->value.integer.value[0] & 1; in snd_tea6330t_put_master_switch()
158 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch()
159 tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = val1 ? tea->mleft : 0; in snd_tea6330t_put_master_switch()
203 unsigned char val1; in snd_tea6330t_put_bass() local
205 val1 = ucontrol->value.integer.value[0] % (tea->max_bass + 1); in snd_tea6330t_put_bass()
207 tea->bass = val1; in snd_tea6330t_put_bass()
208 val1 += tea->equalizer ? 7 : 3; in snd_tea6330t_put_bass()
209 change = tea->regs[TEA6330T_SADDR_BASS] != val1; in snd_tea6330t_put_bass()
211 bytes[1] = tea->regs[TEA6330T_SADDR_BASS] = val1; in snd_tea6330t_put_bass()
251 unsigned char val1; in snd_tea6330t_put_treble() local
253 val1 = ucontrol->value.integer.value[0] % (tea->max_treble + 1); in snd_tea6330t_put_treble()
255 tea->treble = val1; in snd_tea6330t_put_treble()
256 val1 += 3; in snd_tea6330t_put_treble()
257 change = tea->regs[TEA6330T_SADDR_TREBLE] != val1; in snd_tea6330t_put_treble()
259 bytes[1] = tea->regs[TEA6330T_SADDR_TREBLE] = val1; in snd_tea6330t_put_treble()