Lines Matching refs:cali_desc
480 static int aw_dev_update_cali_re(struct aw_cali_desc *cali_desc) in aw_dev_update_cali_re() argument
483 container_of(cali_desc, struct aw_device, cali_desc); in aw_dev_update_cali_re()
488 if ((aw_dev->cali_desc.cali_re >= AW88399_CALI_RE_MAX) || in aw_dev_update_cali_re()
489 (aw_dev->cali_desc.cali_re <= AW88399_CALI_RE_MIN)) in aw_dev_update_cali_re()
492 cali_re = AW88399_SHOW_RE_TO_DSP_RE((aw_dev->cali_desc.cali_re + in aw_dev_update_cali_re()
493 aw_dev->cali_desc.ra), AW88399_DSP_RE_SHIFT); in aw_dev_update_cali_re()
825 aw_dev_update_cali_re(&aw_dev->cali_desc); in aw88399_dev_start()
894 static int aw_dev_get_ra(struct aw_cali_desc *cali_desc) in aw_dev_get_ra() argument
897 container_of(cali_desc, struct aw_device, cali_desc); in aw_dev_get_ra()
908 cali_desc->ra = AW88399_DSP_RE_TO_SHOW_RE(dsp_ra, in aw_dev_get_ra()
932 ret = aw_dev_get_ra(&aw_dev->cali_desc); in aw_dev_dsp_update_cfg()
1595 ucontrol->value.integer.value[0] = aw_dev->cali_desc.cali_re; in aw88399_re_get()
1614 if (aw_dev->cali_desc.cali_re != value) { in aw88399_re_set()
1615 aw_dev->cali_desc.cali_re = value; in aw88399_re_set()