Home
last modified time | relevance | path

Searched refs:protCfg (Results 1 – 1 of 1) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Dspkr_protection.c222 struct audio_cal_info_spk_prot_cfg *protCfg) in set_spkr_prot_cal() argument
234 if (protCfg == NULL) { in set_spkr_prot_cal()
247 cal_data.cal_type.cal_info.r0[SP_V2_SPKR_1] = protCfg->r0[SP_V2_SPKR_1]; in set_spkr_prot_cal()
248 cal_data.cal_type.cal_info.r0[SP_V2_SPKR_2] = protCfg->r0[SP_V2_SPKR_2]; in set_spkr_prot_cal()
249 cal_data.cal_type.cal_info.t0[SP_V2_SPKR_1] = protCfg->t0[SP_V2_SPKR_1]; in set_spkr_prot_cal()
250 cal_data.cal_type.cal_info.t0[SP_V2_SPKR_2] = protCfg->t0[SP_V2_SPKR_2]; in set_spkr_prot_cal()
251 cal_data.cal_type.cal_info.mode = protCfg->mode; in set_spkr_prot_cal()
299 struct audio_cal_info_spk_prot_cfg protCfg; in spkr_calibrate() local
322 protCfg.mode = MSM_SPKR_PROT_CALIBRATION_IN_PROGRESS; in spkr_calibrate()
324 protCfg.t0[SP_V2_SPKR_1] = t0; in spkr_calibrate()
[all …]