Lines Matching refs:value

243 	ucontrol->value.integer.value[0] = inb(ICEMT(ice, MONITOR_ROUTECTRL)) & ICE1712_ROUTE_AC97 ? 1 : 0;  in snd_ice1712_digmix_route_ac97_get()
255 if (ucontrol->value.integer.value[0]) in snd_ice1712_digmix_route_ac97_put()
1262 ucontrol->value.integer.value[0] = in snd_ice1712_pro_mixer_switch_get()
1264 ucontrol->value.integer.value[1] = in snd_ice1712_pro_mixer_switch_get()
1277 nval = (ucontrol->value.integer.value[0] ? 0 : 0x00008000) | in snd_ice1712_pro_mixer_switch_put()
1278 (ucontrol->value.integer.value[1] ? 0 : 0x80000000); in snd_ice1712_pro_mixer_switch_put()
1292 uinfo->value.integer.min = 0; in snd_ice1712_pro_mixer_volume_info()
1293 uinfo->value.integer.max = 96; in snd_ice1712_pro_mixer_volume_info()
1304 ucontrol->value.integer.value[0] = in snd_ice1712_pro_mixer_volume_get()
1306 ucontrol->value.integer.value[1] = in snd_ice1712_pro_mixer_volume_get()
1319 nval = (ucontrol->value.integer.value[0] & 127) | in snd_ice1712_pro_mixer_volume_put()
1320 ((ucontrol->value.integer.value[1] & 127) << 16); in snd_ice1712_pro_mixer_volume_put()
1578 memcpy(ucontrol->value.bytes.data, &ice->eeprom, sizeof(ice->eeprom)); in snd_ice1712_eeprom_get()
1632 ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | in snd_ice1712_spdif_maskc_get()
1636 ucontrol->value.iec958.status[1] = IEC958_AES1_CON_ORIGINAL | in snd_ice1712_spdif_maskc_get()
1638 ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; in snd_ice1712_spdif_maskc_get()
1640 ucontrol->value.iec958.status[0] = 0xff; in snd_ice1712_spdif_maskc_get()
1641 ucontrol->value.iec958.status[1] = 0xff; in snd_ice1712_spdif_maskc_get()
1642 ucontrol->value.iec958.status[2] = 0xff; in snd_ice1712_spdif_maskc_get()
1643 ucontrol->value.iec958.status[3] = 0xff; in snd_ice1712_spdif_maskc_get()
1644 ucontrol->value.iec958.status[4] = 0xff; in snd_ice1712_spdif_maskc_get()
1654 ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | in snd_ice1712_spdif_maskp_get()
1658 ucontrol->value.iec958.status[1] = IEC958_AES1_PRO_MODE; in snd_ice1712_spdif_maskp_get()
1660 ucontrol->value.iec958.status[0] = 0xff; in snd_ice1712_spdif_maskp_get()
1661 ucontrol->value.iec958.status[1] = 0xff; in snd_ice1712_spdif_maskp_get()
1662 ucontrol->value.iec958.status[2] = 0xff; in snd_ice1712_spdif_maskp_get()
1663 ucontrol->value.iec958.status[3] = 0xff; in snd_ice1712_spdif_maskp_get()
1664 ucontrol->value.iec958.status[4] = 0xff; in snd_ice1712_spdif_maskp_get()
1724 ucontrol->value.integer.value[0] = in snd_ice1712_gpio_get()
1740 nval = (ucontrol->value.integer.value[0] ? mask : 0) ^ invert; in snd_ice1712_gpio_put()
1786 ucontrol->value.enumerated.item[0] = 13; in snd_ice1712_pro_internal_clock_get()
1793 ucontrol->value.enumerated.item[0] = val; in snd_ice1712_pro_internal_clock_get()
1812 if (ucontrol->value.enumerated.item[0] == 13) { in snd_ice1712_pro_internal_clock_put()
1815 PRO_RATE_DEFAULT = xrate[ucontrol->value.integer.value[0] % 13]; in snd_ice1712_pro_internal_clock_put()
1874 ucontrol->value.enumerated.item[0] = val; in snd_ice1712_pro_internal_clock_default_get()
1889 PRO_RATE_DEFAULT = xrate[ucontrol->value.integer.value[0] % 13]; in snd_ice1712_pro_internal_clock_default_put()
1908 ucontrol->value.integer.value[0] = PRO_RATE_LOCKED; in snd_ice1712_pro_rate_locking_get()
1918 nval = ucontrol->value.integer.value[0] ? 1 : 0; in snd_ice1712_pro_rate_locking_put()
1939 ucontrol->value.integer.value[0] = PRO_RATE_RESET; in snd_ice1712_pro_rate_reset_get()
1949 nval = ucontrol->value.integer.value[0] ? 1 : 0; in snd_ice1712_pro_rate_reset_put()
1998 ucontrol->value.enumerated.item[0] = 11; in snd_ice1712_pro_route_analog_get()
2000 ucontrol->value.enumerated.item[0] = (cval & 7) + 1; in snd_ice1712_pro_route_analog_get()
2002 ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; in snd_ice1712_pro_route_analog_get()
2004 ucontrol->value.enumerated.item[0] = 0; in snd_ice1712_pro_route_analog_get()
2017 if (ucontrol->value.enumerated.item[0] >= 11) in snd_ice1712_pro_route_analog_put()
2019 else if (ucontrol->value.enumerated.item[0] >= 9) in snd_ice1712_pro_route_analog_put()
2021 else if (ucontrol->value.enumerated.item[0] >= 1) in snd_ice1712_pro_route_analog_put()
2042 nval = ucontrol->value.enumerated.item[0] - 1; in snd_ice1712_pro_route_analog_put()
2046 nval = (ucontrol->value.enumerated.item[0] - 9) << 3; in snd_ice1712_pro_route_analog_put()
2068 ucontrol->value.enumerated.item[0] = 11; in snd_ice1712_pro_route_spdif_get()
2070 ucontrol->value.enumerated.item[0] = (cval & 7) + 1; in snd_ice1712_pro_route_spdif_get()
2072 ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; in snd_ice1712_pro_route_spdif_get()
2074 ucontrol->value.enumerated.item[0] = 0; in snd_ice1712_pro_route_spdif_get()
2089 if (ucontrol->value.enumerated.item[0] >= 11) in snd_ice1712_pro_route_spdif_put()
2091 else if (ucontrol->value.enumerated.item[0] >= 9) in snd_ice1712_pro_route_spdif_put()
2093 else if (ucontrol->value.enumerated.item[0] >= 1) in snd_ice1712_pro_route_spdif_put()
2102 nval = ucontrol->value.enumerated.item[0] - 1; in snd_ice1712_pro_route_spdif_put()
2106 nval = (ucontrol->value.enumerated.item[0] - 9) << 3; in snd_ice1712_pro_route_spdif_put()
2140 uinfo->value.integer.min = 0; in snd_ice1712_pro_volume_rate_info()
2141 uinfo->value.integer.max = 255; in snd_ice1712_pro_volume_rate_info()
2150 ucontrol->value.integer.value[0] = inb(ICEMT(ice, MONITOR_RATE)); in snd_ice1712_pro_volume_rate_get()
2161 change = inb(ICEMT(ice, MONITOR_RATE)) != ucontrol->value.integer.value[0]; in snd_ice1712_pro_volume_rate_put()
2162 outb(ucontrol->value.integer.value[0], ICEMT(ice, MONITOR_RATE)); in snd_ice1712_pro_volume_rate_put()
2180 uinfo->value.integer.min = 0; in snd_ice1712_pro_peak_info()
2181 uinfo->value.integer.max = 255; in snd_ice1712_pro_peak_info()
2194 ucontrol->value.integer.value[idx] = inb(ICEMT(ice, MONITOR_PEAKDATA)); in snd_ice1712_pro_peak_get()