Home
last modified time | relevance | path

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

/sound/core/
Dvmaster.c313 static int sync_followers(struct link_master *master, int old_val, int new_val) in sync_followers() argument
322 master->val = old_val; in sync_followers()
336 int err, new_val, old_val; in master_put() local
343 old_val = master->val; in master_put()
345 if (new_val == old_val) in master_put()
348 err = sync_followers(master, old_val, new_val); in master_put()
/sound/isa/ad1816a/
Dad1816a_lib.c761 unsigned short old_val, val; in snd_ad1816a_put_single() local
768 old_val = snd_ad1816a_read(chip, reg); in snd_ad1816a_put_single()
769 val = (old_val & ~(mask << shift)) | val; in snd_ad1816a_put_single()
770 change = val != old_val; in snd_ad1816a_put_single()
833 unsigned short old_val, val1, val2; in snd_ad1816a_put_double() local
844 old_val = snd_ad1816a_read(chip, reg); in snd_ad1816a_put_double()
845 val1 = (old_val & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ad1816a_put_double()
846 change = val1 != old_val; in snd_ad1816a_put_double()
/sound/i2c/other/
Dak4117.c204 u8 old_val; in snd_ak4117_rx_put() local
207 old_val = chip->regmap[AK4117_REG_IO]; in snd_ak4117_rx_put()
208 change = !!ucontrol->value.integer.value[0] != ((old_val & AK4117_IPS) ? 1 : 0); in snd_ak4117_rx_put()
210 …reg_write(chip, AK4117_REG_IO, (old_val & ~AK4117_IPS) | (ucontrol->value.integer.value[0] ? AK411… in snd_ak4117_rx_put()
Dak4113.c236 u8 old_val; in snd_ak4113_rx_put() local
239 old_val = chip->regmap[AK4113_REG_IO1]; in snd_ak4113_rx_put()
240 change = ucontrol->value.integer.value[0] != AK4113_IPS(old_val); in snd_ak4113_rx_put()
243 (old_val & (~AK4113_IPS(0xff))) | in snd_ak4113_rx_put()
/sound/pci/ice1712/
Dice1712.c2014 unsigned int val, old_val, nval; in snd_ice1712_pro_route_analog_put() local
2027 val = old_val = inw(ICEMT(ice, ROUTE_PSDOUT03)); in snd_ice1712_pro_route_analog_put()
2030 change = val != old_val; in snd_ice1712_pro_route_analog_put()
2039 val = old_val = inl(ICEMT(ice, ROUTE_CAPTURE)); in snd_ice1712_pro_route_analog_put()
2050 if (val != old_val) { in snd_ice1712_pro_route_analog_put()
2084 unsigned int val, old_val, nval; in snd_ice1712_pro_route_spdif_put() local
2088 val = old_val = inw(ICEMT(ice, ROUTE_SPDOUT)); in snd_ice1712_pro_route_spdif_put()
2110 change = val != old_val; in snd_ice1712_pro_route_spdif_put()
Dice1724.c2040 unsigned int old_val, nval; in snd_ice1724_put_route_val() local
2051 val = old_val = inl(ICEMT1724(ice, ROUTE_PLAYBACK)); in snd_ice1724_put_route_val()
2054 change = val != old_val; in snd_ice1724_put_route_val()