Searched refs:old_val (Results 1 – 6 of 6) sorted by relevance
/sound/core/ |
D | vmaster.c | 316 static int sync_slaves(struct link_master *master, int old_val, int new_val) in sync_slaves() argument 325 master->val = old_val; in sync_slaves() 339 int err, new_val, old_val; in master_put() local 346 old_val = master->val; in master_put() 348 if (new_val == old_val) in master_put() 351 err = sync_slaves(master, old_val, new_val); in master_put()
|
/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 819 unsigned short old_val, val; in snd_ad1816a_put_single() local 826 old_val = snd_ad1816a_read(chip, reg); in snd_ad1816a_put_single() 827 val = (old_val & ~(mask << shift)) | val; in snd_ad1816a_put_single() 828 change = val != old_val; in snd_ad1816a_put_single() 891 unsigned short old_val, val1, val2; in snd_ad1816a_put_double() local 902 old_val = snd_ad1816a_read(chip, reg); in snd_ad1816a_put_double() 903 val1 = (old_val & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_ad1816a_put_double() 904 change = val1 != old_val; in snd_ad1816a_put_double()
|
/sound/i2c/other/ |
D | ak4117.c | 219 u8 old_val; in snd_ak4117_rx_put() local 222 old_val = chip->regmap[AK4117_REG_IO]; in snd_ak4117_rx_put() 223 change = !!ucontrol->value.integer.value[0] != ((old_val & AK4117_IPS) ? 1 : 0); in snd_ak4117_rx_put() 225 …reg_write(chip, AK4117_REG_IO, (old_val & ~AK4117_IPS) | (ucontrol->value.integer.value[0] ? AK411… in snd_ak4117_rx_put()
|
D | ak4113.c | 252 u8 old_val; in snd_ak4113_rx_put() local 255 old_val = chip->regmap[AK4113_REG_IO1]; in snd_ak4113_rx_put() 256 change = ucontrol->value.integer.value[0] != AK4113_IPS(old_val); in snd_ak4113_rx_put() 259 (old_val & (~AK4113_IPS(0xff))) | in snd_ak4113_rx_put()
|
/sound/pci/ice1712/ |
D | ice1712.c | 2065 unsigned int val, old_val, nval; in snd_ice1712_pro_route_analog_put() local 2078 val = old_val = inw(ICEMT(ice, ROUTE_PSDOUT03)); in snd_ice1712_pro_route_analog_put() 2081 change = val != old_val; in snd_ice1712_pro_route_analog_put() 2090 val = old_val = inl(ICEMT(ice, ROUTE_CAPTURE)); in snd_ice1712_pro_route_analog_put() 2101 if (val != old_val) { in snd_ice1712_pro_route_analog_put() 2135 unsigned int val, old_val, nval; in snd_ice1712_pro_route_spdif_put() local 2139 val = old_val = inw(ICEMT(ice, ROUTE_SPDOUT)); in snd_ice1712_pro_route_spdif_put() 2161 change = val != old_val; in snd_ice1712_pro_route_spdif_put()
|
D | ice1724.c | 2090 unsigned int old_val, nval; in snd_ice1724_put_route_val() local 2101 val = old_val = inl(ICEMT1724(ice, ROUTE_PLAYBACK)); in snd_ice1724_put_route_val() 2104 change = val != old_val; in snd_ice1724_put_route_val()
|