Searched refs:cal_fd (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/audio/hal/audio_extn/ |
D | spkr_protection.c | 181 static int get_spkr_prot_cal(int cal_fd, in get_spkr_prot_cal() argument 187 if (cal_fd < 0) { in get_spkr_prot_cal() 188 ALOGE("%s: Error: cal_fd = %d", __func__, cal_fd); in get_spkr_prot_cal() 207 if (ioctl(cal_fd, AUDIO_GET_CALIBRATION, &cal_data)) { in get_spkr_prot_cal() 221 static int set_spkr_prot_cal(int cal_fd, in set_spkr_prot_cal() argument 228 if (cal_fd < 0) { in set_spkr_prot_cal() 229 ALOGE("%s: Error: cal_fd = %d", __func__, cal_fd); in set_spkr_prot_cal() 263 if (ioctl(cal_fd, AUDIO_SET_CALIBRATION, &cal_data)) { in set_spkr_prot_cal()
|