Lines Matching refs:shift
833 unsigned int shift = mc->shift; in snd_soc_get_volsw_twl4030() local
839 (twl4030_read(component, reg) >> shift) & mask; in snd_soc_get_volsw_twl4030()
844 if (shift != rshift) { in snd_soc_get_volsw_twl4030()
862 unsigned int shift = mc->shift; in snd_soc_put_volsw_twl4030() local
870 val_mask = mask << shift; in snd_soc_put_volsw_twl4030()
873 val = val << shift; in snd_soc_put_volsw_twl4030()
874 if (shift != rshift) { in snd_soc_put_volsw_twl4030()
892 unsigned int shift = mc->shift; in snd_soc_get_volsw_r2_twl4030() local
897 (twl4030_read(component, reg) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
899 (twl4030_read(component, reg2) >> shift) & mask; in snd_soc_get_volsw_r2_twl4030()
919 unsigned int shift = mc->shift; in snd_soc_put_volsw_r2_twl4030() local
925 val_mask = mask << shift; in snd_soc_put_volsw_r2_twl4030()
934 val = val << shift; in snd_soc_put_volsw_r2_twl4030()
935 val2 = val2 << shift; in snd_soc_put_volsw_r2_twl4030()