Lines Matching refs:nval

1173 	unsigned int val, nval;  in update_spdif_rate()  local
1177 nval = val = inw(ICEMT1724(ice, SPDIF_CTRL)); in update_spdif_rate()
1178 nval &= ~(7 << 12); in update_spdif_rate()
1181 case 48000: nval |= 2 << 12; break; in update_spdif_rate()
1182 case 32000: nval |= 3 << 12; break; in update_spdif_rate()
1183 case 88200: nval |= 4 << 12; break; in update_spdif_rate()
1184 case 96000: nval |= 5 << 12; break; in update_spdif_rate()
1185 case 192000: nval |= 6 << 12; break; in update_spdif_rate()
1186 case 176400: nval |= 7 << 12; break; in update_spdif_rate()
1188 if (val != nval) in update_spdif_rate()
1189 update_spdif_bits(ice, nval); in update_spdif_rate()
1805 unsigned int val, nval;
1809 nval = (ucontrol->value.integer.value[0] ? (1 << shift) : 0) ^ invert;
1812 nval |= val & ~(1 << shift);
1813 if (val != nval)
1814 snd_ice1712_gpio_write(ice, nval);
1816 return val != nval;
1962 int change = 0, nval; in snd_vt1724_pro_rate_locking_put() local
1964 nval = ucontrol->value.integer.value[0] ? 1 : 0; in snd_vt1724_pro_rate_locking_put()
1966 change = PRO_RATE_LOCKED != nval; in snd_vt1724_pro_rate_locking_put()
1967 PRO_RATE_LOCKED = nval; in snd_vt1724_pro_rate_locking_put()
1993 int change = 0, nval; in snd_vt1724_pro_rate_reset_put() local
1995 nval = ucontrol->value.integer.value[0] ? 1 : 0; in snd_vt1724_pro_rate_reset_put()
1997 change = PRO_RATE_RESET != nval; in snd_vt1724_pro_rate_reset_put()
1998 PRO_RATE_RESET = nval; in snd_vt1724_pro_rate_reset_put()
2059 unsigned int old_val, nval; in snd_ice1724_put_route_val() local
2069 nval = xroute[val % 5]; in snd_ice1724_put_route_val()
2072 val |= nval << shift; in snd_ice1724_put_route_val()