Lines Matching refs:right_reg
508 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
512 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
514 #define CS4236_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument
520 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
540 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_get_double() local
548 ucontrol->value.integer.value[1] = (chip->eimage[CS4236_REG(right_reg)] >> shift_right) & mask; in snd_cs4236_get_double()
562 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_put_double() local
579 if (left_reg != right_reg) { in snd_cs4236_put_double()
581 val2 = (chip->eimage[CS4236_REG(right_reg)] & ~(mask << shift_right)) | val2; in snd_cs4236_put_double()
582 …change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double()
584 snd_cs4236_ext_out(chip, right_reg, val2); in snd_cs4236_put_double()
594 #define CS4236_DOUBLE1(xname, xindex, left_reg, right_reg, shift_left, \ argument
599 ….private_value = left_reg | (right_reg << 8) | (shift_left << 16) | (shift_right << 19) | (mask <<…
601 #define CS4236_DOUBLE1_TLV(xname, xindex, left_reg, right_reg, shift_left, \ argument
607 .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \
616 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_get_double1() local
624 ucontrol->value.integer.value[1] = (chip->eimage[CS4236_REG(right_reg)] >> shift_right) & mask; in snd_cs4236_get_double1()
638 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4236_put_double1() local
656 val2 = (chip->eimage[CS4236_REG(right_reg)] & ~(mask << shift_right)) | val2; in snd_cs4236_put_double1()
657 change = val1 != chip->image[left_reg] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double1()
659 snd_cs4236_ext_out(chip, right_reg, val2); in snd_cs4236_put_double1()