Lines Matching refs:shift
835 unsigned int shift = mc->shift; in snd_soc_get_volsw_twl4030() local
841 (twl4030_read(component, reg) >> shift) & mask; in snd_soc_get_volsw_twl4030()
846 if (shift != rshift) { in snd_soc_get_volsw_twl4030()
864 unsigned int shift = mc->shift; in snd_soc_put_volsw_twl4030() local
872 val_mask = mask << shift; in snd_soc_put_volsw_twl4030()
875 val = val << shift; in snd_soc_put_volsw_twl4030()
876 if (shift != rshift) { in snd_soc_put_volsw_twl4030()
894 unsigned int shift = mc->shift; in snd_soc_get_volsw_r2_twl4030() local
899 (twl4030_read(component, reg) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
901 (twl4030_read(component, reg2) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
921 unsigned int shift = mc->shift; in snd_soc_put_volsw_r2_twl4030() local
927 val_mask = mask << shift; in snd_soc_put_volsw_r2_twl4030()
936 val = val << shift; in snd_soc_put_volsw_r2_twl4030()
937 val2 = val2 << shift; in snd_soc_put_volsw_r2_twl4030()