Lines Matching refs:sign_bit
131 unsigned int sign_bit, int *signed_val) in snd_soc_read_signed() argument
139 if (!sign_bit) { in snd_soc_read_signed()
145 if (!(val & BIT(sign_bit))) { in snd_soc_read_signed()
158 ret |= ~((int)(BIT(sign_bit) - 1)); in snd_soc_read_signed()
248 int sign_bit = mc->sign_bit; in snd_soc_get_volsw() local
254 if (sign_bit) in snd_soc_get_volsw()
255 mask = BIT(sign_bit + 1) - 1; in snd_soc_get_volsw()
257 ret = snd_soc_read_signed(component, reg, mask, shift, sign_bit, &val); in snd_soc_get_volsw()
269 sign_bit, &val); in snd_soc_get_volsw()
272 sign_bit, &val); in snd_soc_get_volsw()
308 unsigned int sign_bit = mc->sign_bit; in snd_soc_put_volsw() local
316 if (sign_bit) in snd_soc_put_volsw()
317 mask = BIT(sign_bit + 1) - 1; in snd_soc_put_volsw()