Lines Matching refs:vcalk_val
366 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()
420 vcalk_val = vcalk_val | AW88399_TEM4_SIGN_NEG; in aw88399_dev_get_internal_vcalk()
422 *vcalk = (int16_t)vcalk_val; in aw88399_dev_get_internal_vcalk()