Lines Matching refs:nval

1193 	unsigned int val, nval;  in update_spdif_rate()  local
1197 nval = val = inw(ICEMT1724(ice, SPDIF_CTRL)); in update_spdif_rate()
1198 nval &= ~(7 << 12); in update_spdif_rate()
1201 case 48000: nval |= 2 << 12; break; in update_spdif_rate()
1202 case 32000: nval |= 3 << 12; break; in update_spdif_rate()
1203 case 88200: nval |= 4 << 12; break; in update_spdif_rate()
1204 case 96000: nval |= 5 << 12; break; in update_spdif_rate()
1205 case 192000: nval |= 6 << 12; break; in update_spdif_rate()
1206 case 176400: nval |= 7 << 12; break; in update_spdif_rate()
1208 if (val != nval) in update_spdif_rate()
1209 update_spdif_bits(ice, nval); in update_spdif_rate()
1833 unsigned int val, nval;
1837 nval = (ucontrol->value.integer.value[0] ? (1 << shift) : 0) ^ invert;
1840 nval |= val & ~(1 << shift);
1841 if (val != nval)
1842 snd_ice1712_gpio_write(ice, nval);
1844 return val != nval;
1990 int change = 0, nval; in snd_vt1724_pro_rate_locking_put() local
1992 nval = ucontrol->value.integer.value[0] ? 1 : 0; in snd_vt1724_pro_rate_locking_put()
1994 change = PRO_RATE_LOCKED != nval; in snd_vt1724_pro_rate_locking_put()
1995 PRO_RATE_LOCKED = nval; in snd_vt1724_pro_rate_locking_put()
2021 int change = 0, nval; in snd_vt1724_pro_rate_reset_put() local
2023 nval = ucontrol->value.integer.value[0] ? 1 : 0; in snd_vt1724_pro_rate_reset_put()
2025 change = PRO_RATE_RESET != nval; in snd_vt1724_pro_rate_reset_put()
2026 PRO_RATE_RESET = nval; in snd_vt1724_pro_rate_reset_put()
2087 unsigned int old_val, nval; in snd_ice1724_put_route_val() local
2097 nval = xroute[val % 5]; in snd_ice1724_put_route_val()
2100 val |= nval << shift; in snd_ice1724_put_route_val()