Searched refs:reg_vcalk (Results 1 – 2 of 2) sorted by relevance
601 u16 reg_vcalk; in aw_dev_get_vcalk() local610 reg_vcalk = (u16)reg_val & (~AW88395_EF_VSN_GESLP_MASK); in aw_dev_get_vcalk()612 if (reg_vcalk & (~AW88395_EF_VSN_GESLP_SIGN_MASK)) in aw_dev_get_vcalk()613 reg_vcalk = reg_vcalk | AW88395_EF_VSN_GESLP_SIGN_NEG; in aw_dev_get_vcalk()615 *vcalk = (int16_t)reg_vcalk; in aw_dev_get_vcalk()623 u16 reg_vcalk; in aw_dev_get_vcalk_dac() local630 reg_vcalk = reg_val >> AW88395_EF_DAC_GESLP_SHIFT; in aw_dev_get_vcalk_dac()632 if (reg_vcalk & AW88395_EF_DAC_GESLP_SIGN_MASK) in aw_dev_get_vcalk_dac()633 reg_vcalk = reg_vcalk | AW88395_EF_DAC_GESLP_SIGN_NEG; in aw_dev_get_vcalk_dac()635 *vcalk = (int16_t)reg_vcalk; in aw_dev_get_vcalk_dac()
338 u16 reg_vcalk, reg_vcalkl; in aw88261_dev_get_vcalk() local346 reg_vcalk = (u16)reg_val & (~AW88261_EF_VSN_GESLP_H_MASK); in aw88261_dev_get_vcalk()354 reg_vcalk = (reg_vcalk >> AW88261_VCALK_SHIFT) & (reg_vcalkl >> AW88261_VCALKL_SHIFT); in aw88261_dev_get_vcalk()356 if (reg_vcalk & AW88261_EF_VSN_GESLP_SIGN_MASK) in aw88261_dev_get_vcalk()357 reg_vcalk = reg_vcalk | (~AW88261_EF_VSN_GESLP_NEG); in aw88261_dev_get_vcalk()358 *vcalk = (int16_t)reg_vcalk; in aw88261_dev_get_vcalk()