Lines Matching refs:val_mask
314 unsigned int val, val_mask; in snd_soc_put_volsw() local
322 val_mask = mask << shift; in snd_soc_put_volsw()
329 val_mask |= mask << rshift; in snd_soc_put_volsw()
336 err = snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw()
341 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw()
410 unsigned int val, val_mask, val2 = 0; in snd_soc_put_volsw_sx() local
412 val_mask = mask << shift; in snd_soc_put_volsw_sx()
416 err = snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw_sx()
421 val_mask = mask << rshift; in snd_soc_put_volsw_sx()
425 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw_sx()
485 unsigned int val, val_mask; in snd_soc_put_volsw_range() local
492 val_mask = mask << shift; in snd_soc_put_volsw_range()
495 ret = snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw_range()
504 val_mask = mask << shift; in snd_soc_put_volsw_range()
507 ret = snd_soc_component_update_bits(component, rreg, val_mask, in snd_soc_put_volsw_range()