Lines Matching refs:shift_left
491 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
495 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
497 #define CS4236_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument
503 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
524 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_get_double() local
530 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(left_reg)] >> shift_left) & mask; in snd_cs4236_get_double()
546 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_put_double() local
559 val1 <<= shift_left; in snd_cs4236_put_double()
563 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double()
569 …val1 = (chip->eimage[CS4236_REG(left_reg)] & ~((mask << shift_left) | (mask << shift_right))) | va… in snd_cs4236_put_double()
577 #define CS4236_DOUBLE1(xname, xindex, left_reg, right_reg, shift_left, \ argument
582 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
584 #define CS4236_DOUBLE1_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument
590 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
600 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_get_double1() local
606 ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; in snd_cs4236_get_double1()
622 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4236_put_double1() local
635 val1 <<= shift_left; in snd_cs4236_put_double1()
638 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double1()