Searched refs:dev_file (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/audio/hal/audio_extn/ |
D | cirrus_playback.c | 212 int ret = 0, dev_file = -1; in audio_extn_cirrus_run_calibration() local 218 dev_file = open(CRUS_SP_FILE, O_RDWR | O_NONBLOCK); in audio_extn_cirrus_run_calibration() 219 if (dev_file < 0) { in audio_extn_cirrus_run_calibration() 221 __func__, dev_file); in audio_extn_cirrus_run_calibration() 255 ret = ioctl(dev_file, CRUS_SP_IOCTL_SET, &header); in audio_extn_cirrus_run_calibration() 269 ret = ioctl(dev_file, CRUS_SP_IOCTL_SET, &header); in audio_extn_cirrus_run_calibration() 285 ret = ioctl(dev_file, CRUS_SP_IOCTL_GET, &header); in audio_extn_cirrus_run_calibration() 338 ret = ioctl(dev_file, CRUS_SP_IOCTL_SET_CALIB, &header); in audio_extn_cirrus_run_calibration() 369 ret = ioctl(dev_file, CRUS_SP_IOCTL_GET, &header); in audio_extn_cirrus_run_calibration() 379 if (dev_file >= 0) in audio_extn_cirrus_run_calibration() [all …]
|