Searched refs:icalk (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/sound/soc/codecs/aw88395/ |
D | aw88395_device.c | 572 static int aw_dev_get_icalk(struct aw_device *aw_dev, int16_t *icalk) in aw_dev_get_icalk() argument 587 *icalk = (int16_t)reg_icalk; in aw_dev_get_icalk() 660 int icalk, vsense_select; in aw_dev_set_vcalb() local 679 icalk = AW88395_CABL_BASE_VALUE + AW88395_ICABLK_FACTOR * icalk_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() 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()
|
/linux-6.12.1/sound/soc/codecs/ |
D | aw88261.c | 307 static int aw88261_dev_get_icalk(struct aw_device *aw_dev, int16_t *icalk) in aw88261_dev_get_icalk() argument 330 *icalk = (int16_t)reg_icalk; in aw88261_dev_get_icalk() 365 int icalk, vcalk, vcalb; in aw88261_dev_set_vcalb() local 377 icalk = AW88261_CABL_BASE_VALUE + AW88261_ICABLK_FACTOR * icalk_val; in aw88261_dev_set_vcalb() 382 vcalb = AW88261_VCAL_FACTOR * icalk / vcalk; in aw88261_dev_set_vcalb() 386 icalk, vcalk, vcalb, reg_val); in aw88261_dev_set_vcalb()
|
D | aw88399.c | 335 static int aw88399_dev_get_icalk(struct aw88399 *aw88399, int16_t *icalk) in aw88399_dev_get_icalk() argument 359 *icalk = (int16_t)icalk_val; in aw88399_dev_get_icalk() 432 int16_t icalk, vcalk; in aw_dev_set_vcalb() local 442 ret = aw88399_dev_get_icalk(aw88399, &icalk); in aw_dev_set_vcalb() 448 ical_k = icalk * AW88399_ICABLK_FACTOR + AW88399_CABL_BASE_VALUE; in aw_dev_set_vcalb()
|