Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/audio_extn/
Dspkr_protection.c302 int acdb_fd = -1; in spkr_calibrate() local
317 acdb_fd = open("/dev/msm_audio_cal",O_RDWR | O_NONBLOCK); in spkr_calibrate()
318 if (acdb_fd < 0) { in spkr_calibrate()
326 if (set_spkr_prot_cal(acdb_fd, &protCfg)) { in spkr_calibrate()
421 if (acdb_fd >= 0) { in spkr_calibrate()
424 while (!get_spkr_prot_cal(acdb_fd, &status) && in spkr_calibrate()
494 if (set_spkr_prot_cal(acdb_fd, &protCfg)) in spkr_calibrate()
501 if (set_spkr_prot_cal(acdb_fd, &protCfg)) in spkr_calibrate()
504 if (acdb_fd >= 0) in spkr_calibrate()
505 close(acdb_fd); in spkr_calibrate()
[all …]