Lines Matching refs:integer
76 uinfo->value.integer.min = 0; in snd_tea6330t_info_master_volume()
77 uinfo->value.integer.max = 43; in snd_tea6330t_info_master_volume()
87 ucontrol->value.integer.value[0] = tea->mleft - 0x14; in snd_tea6330t_get_master_volume()
88 ucontrol->value.integer.value[1] = tea->mright - 0x14; in snd_tea6330t_get_master_volume()
101 val1 = (ucontrol->value.integer.value[0] % 44) + 0x14; in snd_tea6330t_put_master_volume()
102 val2 = (ucontrol->value.integer.value[1] % 44) + 0x14; in snd_tea6330t_put_master_volume()
139 ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
140 ucontrol->value.integer.value[1] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
153 val1 = ucontrol->value.integer.value[0] & 1; in snd_tea6330t_put_master_switch()
154 val2 = ucontrol->value.integer.value[1] & 1; in snd_tea6330t_put_master_switch()
183 uinfo->value.integer.min = 0; in snd_tea6330t_info_bass()
184 uinfo->value.integer.max = tea->max_bass; in snd_tea6330t_info_bass()
193 ucontrol->value.integer.value[0] = tea->bass; in snd_tea6330t_get_bass()
205 val1 = ucontrol->value.integer.value[0] % (tea->max_bass + 1); in snd_tea6330t_put_bass()
231 uinfo->value.integer.min = 0; in snd_tea6330t_info_treble()
232 uinfo->value.integer.max = tea->max_treble; in snd_tea6330t_info_treble()
241 ucontrol->value.integer.value[0] = tea->treble; in snd_tea6330t_get_treble()
253 val1 = ucontrol->value.integer.value[0] % (tea->max_treble + 1); in snd_tea6330t_put_treble()