Lines Matching refs:shift_left
489 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
493 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
495 #define CS4236_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument
501 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
522 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_get_double() local
528 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(left_reg)] >> shift_left) & mask; in snd_cs4236_get_double()
544 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_put_double() local
557 val1 <<= shift_left; in snd_cs4236_put_double()
561 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double()
567 …val1 = (chip->eimage[CS4236_REG(left_reg)] & ~((mask << shift_left) | (mask << shift_right))) | va… in snd_cs4236_put_double()
575 #define CS4236_DOUBLE1(xname, xindex, left_reg, right_reg, shift_left, \ argument
580 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
582 #define CS4236_DOUBLE1_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument
588 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
598 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_get_double1() local
604 ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; in snd_cs4236_get_double1()
620 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_put_double1() local
633 val1 <<= shift_left; in snd_cs4236_put_double1()
636 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double1()