Lines Matching refs:value
202 ucontrol->value.enumerated.item[0] = spec->pca9554_out; in aureon_universe_inmux_get()
214 nval = ucontrol->value.enumerated.item[0]; in aureon_universe_inmux_put()
351 uinfo->value.integer.min = 0; in aureon_ac97_vol_info()
352 uinfo->value.integer.max = 31; in aureon_ac97_vol_info()
364 ucontrol->value.integer.value[0] = 0x1F - (vol & 0x1F); in aureon_ac97_vol_get()
366 ucontrol->value.integer.value[1] = 0x1F - ((vol >> 8) & 0x1F); in aureon_ac97_vol_get()
381 nvol = (0x1F - ucontrol->value.integer.value[0]) & 0x001F; in aureon_ac97_vol_put()
383 nvol |= ((0x1F - ucontrol->value.integer.value[1]) << 8) & 0x1F00; in aureon_ac97_vol_put()
406 ucontrol->value.integer.value[0] = aureon_ac97_read(ice, in aureon_ac97_mute_get()
422 nvol = (ucontrol->value.integer.value[0] ? 0x0000 : 0x8000) | (ovol & ~0x8000); in aureon_ac97_mute_put()
444 ucontrol->value.integer.value[0] = aureon_ac97_read(ice, AC97_MIC) & 0x0020 ? 0 : 1; in aureon_ac97_micboost_get()
459 nvol = (ucontrol->value.integer.value[0] ? 0x0000 : 0x0020) | (ovol & ~0x0020); in aureon_ac97_micboost_put()
647 ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX1) >> 1) & 0x01; in aureon_ac97_mmute_get()
662 nvol = (ovol & ~0x02) | (ucontrol->value.integer.value[0] ? 0x02 : 0x00); in aureon_ac97_mmute_put()
708 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? 0 : 1; in wm_pcm_mute_get()
721 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
737 uinfo->value.integer.min = 0; in wm_master_vol_info()
738 uinfo->value.integer.max = WM_VOL_MAX; in wm_master_vol_info()
748 ucontrol->value.integer.value[i] = in wm_master_vol_get()
761 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
787 uinfo->value.integer.min = 0; /* mute (-101dB) */ in wm_vol_info()
788 uinfo->value.integer.max = WM_VOL_MAX; /* 0dB */ in wm_vol_info()
801 ucontrol->value.integer.value[i] = in wm_vol_get()
817 unsigned int vol = ucontrol->value.integer.value[i]; in wm_vol_put()
840 uinfo->value.integer.min = 0; in wm_mute_info()
841 uinfo->value.integer.max = 1; in wm_mute_info()
855 ucontrol->value.integer.value[i] = in wm_mute_get()
872 if (ucontrol->value.integer.value[i] != val) { in wm_mute_put()
875 ucontrol->value.integer.value[i] ? 0 : WM_VOL_MUTE; in wm_mute_put()
896 ucontrol->value.integer.value[0] = in wm_master_mute_get()
898 ucontrol->value.integer.value[1] = in wm_master_mute_get()
912 if (ucontrol->value.integer.value[i] != val) { in wm_master_mute_put()
916 ucontrol->value.integer.value[i] ? 0 : WM_VOL_MUTE; in wm_master_mute_put()
937 uinfo->value.integer.min = 0; /* mute (-64dB) */ in wm_pcm_vol_info()
938 uinfo->value.integer.max = PCM_RES; /* 0dB */ in wm_pcm_vol_info()
950 ucontrol->value.integer.value[0] = val; in wm_pcm_vol_get()
961 nvol = ucontrol->value.integer.value[0]; in wm_pcm_vol_put()
990 ucontrol->value.integer.value[i] = ~val>>5 & 0x1; in wm_adc_mute_get()
1005 new = (~ucontrol->value.integer.value[i]<<5&0x20) | (old&~0x20); in wm_adc_mute_put()
1023 uinfo->value.integer.min = 0; /* -12dB */ in wm_adc_vol_info()
1024 uinfo->value.integer.max = 0x1f; /* 19dB */ in wm_adc_vol_info()
1038 ucontrol->value.integer.value[i] = vol; in wm_adc_vol_get()
1054 nvol = ucontrol->value.integer.value[i] & 0x1f; in wm_adc_vol_put()
1102 ucontrol->value.enumerated.item[0] = val & 7; in wm_adc_mux_get()
1103 ucontrol->value.enumerated.item[1] = (val >> 4) & 7; in wm_adc_mux_get()
1117 nval |= ucontrol->value.enumerated.item[0] & 7; in wm_adc_mux_put()
1118 nval |= (ucontrol->value.enumerated.item[1] & 7) << 4; in wm_adc_mux_put()
1153 ucontrol->value.enumerated.item[0] = spec->cs8415_mux; in aureon_cs8415_mux_get()
1168 nval |= ucontrol->value.enumerated.item[0] & 7; in aureon_cs8415_mux_put()
1173 spec->cs8415_mux = ucontrol->value.enumerated.item[0]; in aureon_cs8415_mux_put()
1181 uinfo->value.integer.min = 0; in aureon_cs8415_rate_info()
1182 uinfo->value.integer.max = 192000; in aureon_cs8415_rate_info()
1191 ucontrol->value.integer.value[0] = (int)((unsigned int)ratio * 750); in aureon_cs8415_rate_get()
1204 ucontrol->value.integer.value[0] = (aureon_cs8415_get(ice, CS8415_CTRL1) & 0x20) ? 0 : 1; in aureon_cs8415_mute_get()
1216 if (ucontrol->value.integer.value[0]) in aureon_cs8415_mute_put()
1242 aureon_cs8415_read(ice, CS8415_QSUB, ucontrol->value.bytes.data, 10); in aureon_cs8415_qsub_get()
1257 memset(ucontrol->value.iec958.status, 0xFF, 24); in aureon_cs8415_mask_get()
1266 aureon_cs8415_read(ice, CS8415_C_BUFFER, ucontrol->value.iec958.status, 24); in aureon_cs8415_spdif_get()
1311 ucontrol->value.integer.value[0] = aureon_get_headphone_amp(ice); in aureon_hpamp_get()
1320 return aureon_set_headphone_amp(ice, ucontrol->value.integer.value[0]); in aureon_hpamp_put()
1332 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == 0xf; in aureon_deemp_get()
1341 if (ucontrol->value.integer.value[0]) in aureon_deemp_put()
1365 ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == 0x8; in aureon_oversampling_get()
1376 if (ucontrol->value.enumerated.item[0]) in aureon_oversampling_put()