Home
last modified time | relevance | path

Searched refs:vcalk_val (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Daw88399.c366 uint16_t vcalkh_val, vcalkl_val, vcalk_val; in aw88399_dev_get_vcalk() local
384 vcalk_val = vcalkh_val & vcalkl_val; in aw88399_dev_get_vcalk()
386 vcalk_val = vcalkh_val | vcalkl_val; in aw88399_dev_get_vcalk()
388 if (vcalk_val & AW88399_EF_VSN_GESLP_SIGN_MASK) in aw88399_dev_get_vcalk()
389 vcalk_val = vcalk_val | AW88399_EF_VSN_GESLP_SIGN_NEG; in aw88399_dev_get_vcalk()
390 *vcalk = (int16_t)vcalk_val; in aw88399_dev_get_vcalk()
397 uint16_t vcalkh_val, vcalkl_val, vcalk_val; in aw88399_dev_get_internal_vcalk() local
413 vcalk_val = (vcalkh_val >> AW88399_INTERNAL_VSN_TRIM_H_START_BIT) & in aw88399_dev_get_internal_vcalk()
416 vcalk_val = (vcalkh_val >> AW88399_INTERNAL_VSN_TRIM_H_START_BIT) | in aw88399_dev_get_internal_vcalk()
419 if (vcalk_val & (~AW88399_TEM4_SIGN_MASK)) in aw88399_dev_get_internal_vcalk()
[all …]
Daw88261.c364 int16_t icalk_val, vcalk_val; in aw88261_dev_set_vcalb() local
373 ret = aw88261_dev_get_vcalk(aw_dev, &vcalk_val); in aw88261_dev_set_vcalb()
378 vcalk = AW88261_CABL_BASE_VALUE + AW88261_VCABLK_FACTOR * vcalk_val; in aw88261_dev_set_vcalb()
/linux-6.12.1/sound/soc/codecs/aw88395/
Daw88395_device.c659 int16_t icalk_val, vcalk_val; in aw_dev_set_vcalb() local
683 ret = aw_dev_get_vcalk(aw_dev, &vcalk_val); in aw_dev_set_vcalb()
686 vcalk = AW88395_CABL_BASE_VALUE + AW88395_VCABLK_FACTOR * vcalk_val; in aw_dev_set_vcalb()
694 ret = aw_dev_get_vcalk_dac(aw_dev, &vcalk_val); in aw_dev_set_vcalb()
697 vcalk = AW88395_CABL_BASE_VALUE + AW88395_VCABLK_FACTOR_DAC * vcalk_val; in aw_dev_set_vcalb()