Lines Matching refs:vcalk
592 static int aw_dev_get_vcalk(struct aw_device *aw_dev, int16_t *vcalk) in aw_dev_get_vcalk() argument
609 *vcalk = (int16_t)reg_vcalk; in aw_dev_get_vcalk()
614 static int aw_dev_get_vcalk_dac(struct aw_device *aw_dev, int16_t *vcalk) in aw_dev_get_vcalk_dac() argument
629 *vcalk = (int16_t)reg_vcalk; in aw_dev_get_vcalk_dac()
662 int vcalb, vcalk; in aw_dev_set_vcalb() local
686 vcalk = AW88395_CABL_BASE_VALUE + AW88395_VCABLK_FACTOR * vcalk_val; in aw_dev_set_vcalb()
688 AW88395_ISCAL_FACTOR * icalk / vcalk * vcalb_adj; in aw_dev_set_vcalb()
691 AW88395_VCABLK_FACTOR, AW88395_VSCAL_FACTOR, icalk, vcalk); in aw_dev_set_vcalb()
697 vcalk = AW88395_CABL_BASE_VALUE + AW88395_VCABLK_FACTOR_DAC * vcalk_val; in aw_dev_set_vcalb()
699 AW88395_ISCAL_FACTOR * icalk / vcalk * vcalb_adj; in aw_dev_set_vcalb()
703 AW88395_VSCAL_FACTOR_DAC, icalk, vcalk); in aw_dev_set_vcalb()
710 if ((vcalk == 0) || (AW88395_ISCAL_FACTOR == 0)) { in aw_dev_set_vcalb()
712 vcalk, AW88395_ISCAL_FACTOR); in aw_dev_set_vcalb()