Searched refs:vcalk_val (Results 1 – 3 of 3) sorted by relevance
366 uint16_t vcalkh_val, vcalkl_val, vcalk_val; in aw88399_dev_get_vcalk() local384 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() local413 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 …]
364 int16_t icalk_val, vcalk_val; in aw88261_dev_set_vcalb() local373 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()
659 int16_t icalk_val, vcalk_val; in aw_dev_set_vcalb() local683 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()