Home
last modified time | relevance | path

Searched refs:val_mask (Results 1 – 4 of 4) sorted by relevance

/sound/soc/
Dsoc-ops.c325 unsigned int val, val_mask; in snd_soc_put_volsw() local
333 val_mask = mask << shift; in snd_soc_put_volsw()
340 val_mask |= mask << rshift; in snd_soc_put_volsw()
347 err = snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw()
352 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw()
428 unsigned int val, val_mask, val2 = 0; in snd_soc_put_volsw_sx() local
430 val_mask = mask << shift; in snd_soc_put_volsw_sx()
434 err = snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw_sx()
439 val_mask = mask << rshift; in snd_soc_put_volsw_sx()
443 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw_sx()
[all …]
/sound/soc/codecs/
Dtwl4030.c881 unsigned short val, val2, val_mask; in snd_soc_put_volsw_twl4030() local
885 val_mask = mask << shift; in snd_soc_put_volsw_twl4030()
891 val_mask |= mask << rshift; in snd_soc_put_volsw_twl4030()
896 return snd_soc_update_bits(codec, reg, val_mask, val); in snd_soc_put_volsw_twl4030()
938 unsigned short val, val2, val_mask; in snd_soc_put_volsw_r2_twl4030() local
940 val_mask = mask << shift; in snd_soc_put_volsw_r2_twl4030()
952 err = snd_soc_update_bits(codec, reg, val_mask, val); in snd_soc_put_volsw_r2_twl4030()
956 err = snd_soc_update_bits(codec, reg2, val_mask, val2); in snd_soc_put_volsw_r2_twl4030()
D88pm860x-codec.c359 unsigned int val, val2, val_mask; in snd_soc_put_volsw_2r_out() local
361 val_mask = mask << shift; in snd_soc_put_volsw_2r_out()
368 err = snd_soc_update_bits(codec, reg, val_mask, val); in snd_soc_put_volsw_2r_out()
372 err = snd_soc_update_bits(codec, reg2, val_mask, val2); in snd_soc_put_volsw_2r_out()
/sound/pci/ac97/
Dac97_codec.c583 unsigned short val, val2, val_mask; in snd_ac97_put_volsw() local
589 val_mask = mask << shift; in snd_ac97_put_volsw()
595 val_mask |= mask << rshift; in snd_ac97_put_volsw()
598 err = snd_ac97_update_bits(ac97, reg, val_mask, val); in snd_ac97_put_volsw()
602 if ((val_mask & AC97_PD_EAPD) && in snd_ac97_put_volsw()