Home
last modified time | relevance | path

Searched refs:old_val (Results 1 – 5 of 5) sorted by relevance

/sound/core/
Dvmaster.c296 int err, old_val; in master_put() local
301 old_val = master->val; in master_put()
302 if (ucontrol->value.integer.value[0] == old_val) in master_put()
309 master->val = old_val; in master_put()
/sound/isa/ad1816a/
Dad1816a_lib.c816 unsigned short old_val, val; in snd_ad1816a_put_single() local
823 old_val = snd_ad1816a_read(chip, reg); in snd_ad1816a_put_single()
824 val = (old_val & ~(mask << shift)) | val; in snd_ad1816a_put_single()
825 change = val != old_val; in snd_ad1816a_put_single()
888 unsigned short old_val, val1, val2; in snd_ad1816a_put_double() local
899 old_val = snd_ad1816a_read(chip, reg); in snd_ad1816a_put_double()
900 val1 = (old_val & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ad1816a_put_double()
901 change = val1 != old_val; in snd_ad1816a_put_double()
/sound/i2c/other/
Dak4117.c221 u8 old_val; in snd_ak4117_rx_put() local
224 old_val = chip->regmap[AK4117_REG_IO]; in snd_ak4117_rx_put()
225 change = !!ucontrol->value.integer.value[0] != ((old_val & AK4117_IPS) ? 1 : 0); in snd_ak4117_rx_put()
227 …reg_write(chip, AK4117_REG_IO, (old_val & ~AK4117_IPS) | (ucontrol->value.integer.value[0] ? AK411… in snd_ak4117_rx_put()
/sound/pci/ice1712/
Dice1712.c2075 unsigned int val, old_val, nval; in snd_ice1712_pro_route_analog_put() local
2088 val = old_val = inw(ICEMT(ice, ROUTE_PSDOUT03)); in snd_ice1712_pro_route_analog_put()
2091 change = val != old_val; in snd_ice1712_pro_route_analog_put()
2100 val = old_val = inl(ICEMT(ice, ROUTE_CAPTURE)); in snd_ice1712_pro_route_analog_put()
2111 if (val != old_val) { in snd_ice1712_pro_route_analog_put()
2145 unsigned int val, old_val, nval; in snd_ice1712_pro_route_spdif_put() local
2149 val = old_val = inw(ICEMT(ice, ROUTE_SPDOUT)); in snd_ice1712_pro_route_spdif_put()
2171 change = val != old_val; in snd_ice1712_pro_route_spdif_put()
Dice1724.c1969 unsigned int old_val, nval; in put_route_val() local
1980 val = old_val = inl(ICEMT1724(ice, ROUTE_PLAYBACK)); in put_route_val()
1983 change = val != old_val; in put_route_val()