Lines Matching refs:val1

549 	unsigned short val1, val2;  in snd_cs4236_put_double()  local
551 val1 = ucontrol->value.integer.value[0] & mask; in snd_cs4236_put_double()
554 val1 = mask - val1; in snd_cs4236_put_double()
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()
563 …change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double()
564 snd_cs4236_ext_out(chip, left_reg, val1); in snd_cs4236_put_double()
567val1 = (chip->eimage[CS4236_REG(left_reg)] & ~((mask << shift_left) | (mask << shift_right))) | va… in snd_cs4236_put_double()
568 change = val1 != chip->eimage[CS4236_REG(left_reg)]; in snd_cs4236_put_double()
569 snd_cs4236_ext_out(chip, left_reg, val1); in snd_cs4236_put_double()
625 unsigned short val1, val2; in snd_cs4236_put_double1() local
627 val1 = ucontrol->value.integer.value[0] & mask; in snd_cs4236_put_double1()
630 val1 = mask - val1; in snd_cs4236_put_double1()
633 val1 <<= shift_left; in snd_cs4236_put_double1()
636 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double1()
638 change = val1 != chip->image[left_reg] || val2 != chip->eimage[CS4236_REG(right_reg)]; in snd_cs4236_put_double1()
639 snd_wss_out(chip, left_reg, val1); in snd_cs4236_put_double1()
675 unsigned short val1, val2; in snd_cs4236_put_master_digital() local
677 val1 = snd_cs4236_mixer_master_digital_invert_volume(ucontrol->value.integer.value[0] & 0x7f); in snd_cs4236_put_master_digital()
680 val1 = (chip->eimage[CS4236_REG(CS4236_LEFT_MASTER)] & ~0x7f) | val1; in snd_cs4236_put_master_digital()
682 …change = val1 != chip->eimage[CS4236_REG(CS4236_LEFT_MASTER)] || val2 != chip->eimage[CS4236_REG(C… in snd_cs4236_put_master_digital()
683 snd_cs4236_ext_out(chip, CS4236_LEFT_MASTER, val1); in snd_cs4236_put_master_digital()
736 unsigned short val1, val2; in snd_cs4235_put_output_accu() local
738 val1 = snd_cs4235_mixer_output_accu_set_volume(ucontrol->value.integer.value[0]); in snd_cs4235_put_output_accu()
741 val1 = (chip->image[CS4235_LEFT_MASTER] & ~(3 << 5)) | val1; in snd_cs4235_put_output_accu()
743 change = val1 != chip->image[CS4235_LEFT_MASTER] || val2 != chip->image[CS4235_RIGHT_MASTER]; in snd_cs4235_put_output_accu()
744 snd_wss_out(chip, CS4235_LEFT_MASTER, val1); in snd_cs4235_put_output_accu()