Lines Matching refs:integer
398 uinfo->value.integer.min = 0; in snd_cs4236_info_single()
399 uinfo->value.integer.max = mask; in snd_cs4236_info_single()
413 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(reg)] >> shift) & mask; in snd_cs4236_get_single()
416 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_single()
431 val = (ucontrol->value.integer.value[0] & mask); in snd_cs4236_put_single()
459 ucontrol->value.integer.value[0] = (chip->cimage[reg] >> shift) & mask; in snd_cs4236_get_singlec()
462 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_singlec()
477 val = (ucontrol->value.integer.value[0] & mask); in snd_cs4236_put_singlec()
511 uinfo->value.integer.min = 0; in snd_cs4236_info_double()
512 uinfo->value.integer.max = mask; in snd_cs4236_info_double()
528 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(left_reg)] >> shift_left) & mask; in snd_cs4236_get_double()
529 ucontrol->value.integer.value[1] = (chip->eimage[CS4236_REG(right_reg)] >> shift_right) & mask; in snd_cs4236_get_double()
532 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_double()
533 ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; in snd_cs4236_get_double()
551 val1 = ucontrol->value.integer.value[0] & mask; in snd_cs4236_put_double()
552 val2 = ucontrol->value.integer.value[1] & mask; in snd_cs4236_put_double()
604 ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; in snd_cs4236_get_double1()
605 ucontrol->value.integer.value[1] = (chip->eimage[CS4236_REG(right_reg)] >> shift_right) & mask; in snd_cs4236_get_double1()
608 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_double1()
609 ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; in snd_cs4236_get_double1()
627 val1 = ucontrol->value.integer.value[0] & mask; in snd_cs4236_put_double1()
628 val2 = ucontrol->value.integer.value[1] & mask; in snd_cs4236_put_double1()
664 …ucontrol->value.integer.value[0] = snd_cs4236_mixer_master_digital_invert_volume(chip->eimage[CS42… in snd_cs4236_get_master_digital()
665 …ucontrol->value.integer.value[1] = snd_cs4236_mixer_master_digital_invert_volume(chip->eimage[CS42… in snd_cs4236_get_master_digital()
677 val1 = snd_cs4236_mixer_master_digital_invert_volume(ucontrol->value.integer.value[0] & 0x7f); in snd_cs4236_put_master_digital()
678 val2 = snd_cs4236_mixer_master_digital_invert_volume(ucontrol->value.integer.value[1] & 0x7f); in snd_cs4236_put_master_digital()
725 …ucontrol->value.integer.value[0] = snd_cs4235_mixer_output_accu_get_volume(chip->image[CS4235_LEFT… in snd_cs4235_get_output_accu()
726 …ucontrol->value.integer.value[1] = snd_cs4235_mixer_output_accu_get_volume(chip->image[CS4235_RIGH… in snd_cs4235_get_output_accu()
738 val1 = snd_cs4235_mixer_output_accu_set_volume(ucontrol->value.integer.value[0]); in snd_cs4235_put_output_accu()
739 val2 = snd_cs4235_mixer_output_accu_set_volume(ucontrol->value.integer.value[1]); in snd_cs4235_put_output_accu()
935 ucontrol->value.integer.value[0] = chip->image[CS4231_ALT_FEATURE_1] & 0x02 ? 1 : 0; in snd_cs4236_get_iec958_switch()
957 enable = ucontrol->value.integer.value[0] & 1; in snd_cs4236_put_iec958_switch()