Lines Matching refs:header
208 struct crus_sp_ioctl_header header; in audio_extn_cirrus_run_calibration() local
249 header.size = sizeof(header); in audio_extn_cirrus_run_calibration()
250 header.module_id = CRUS_MODULE_ID_RX; in audio_extn_cirrus_run_calibration()
251 header.param_id = CRUS_PARAM_RX_SET_CALIB; in audio_extn_cirrus_run_calibration()
252 header.data_length = sizeof(option); in audio_extn_cirrus_run_calibration()
253 header.data = &option; in audio_extn_cirrus_run_calibration()
255 ret = ioctl(dev_file, CRUS_SP_IOCTL_SET, &header); in audio_extn_cirrus_run_calibration()
263 header.size = sizeof(header); in audio_extn_cirrus_run_calibration()
264 header.module_id = CRUS_MODULE_ID_TX; in audio_extn_cirrus_run_calibration()
265 header.param_id = CRUS_PARAM_TX_SET_CALIB; in audio_extn_cirrus_run_calibration()
266 header.data_length = sizeof(option); in audio_extn_cirrus_run_calibration()
267 header.data = &option; in audio_extn_cirrus_run_calibration()
269 ret = ioctl(dev_file, CRUS_SP_IOCTL_SET, &header); in audio_extn_cirrus_run_calibration()
279 header.size = sizeof(header); in audio_extn_cirrus_run_calibration()
280 header.module_id = CRUS_MODULE_ID_TX; in audio_extn_cirrus_run_calibration()
281 header.param_id = CRUS_PARAM_TX_GET_TEMP_CAL; in audio_extn_cirrus_run_calibration()
282 header.data_length = sizeof(result); in audio_extn_cirrus_run_calibration()
283 header.data = &result; in audio_extn_cirrus_run_calibration()
285 ret = ioctl(dev_file, CRUS_SP_IOCTL_GET, &header); in audio_extn_cirrus_run_calibration()
332 header.size = sizeof(header); in audio_extn_cirrus_run_calibration()
333 header.module_id = CRUS_MODULE_ID_TX; in audio_extn_cirrus_run_calibration()
334 header.param_id = 0; in audio_extn_cirrus_run_calibration()
335 header.data_length = sizeof(result); in audio_extn_cirrus_run_calibration()
336 header.data = &result; in audio_extn_cirrus_run_calibration()
338 ret = ioctl(dev_file, CRUS_SP_IOCTL_SET_CALIB, &header); in audio_extn_cirrus_run_calibration()
363 header.size = sizeof(header); in audio_extn_cirrus_run_calibration()
364 header.module_id = CRUS_MODULE_ID_RX; in audio_extn_cirrus_run_calibration()
365 header.param_id = CRUS_PARAM_RX_GET_TEMP; in audio_extn_cirrus_run_calibration()
366 header.data_length = CRUS_PARAM_TEMP_MAX_LENGTH; in audio_extn_cirrus_run_calibration()
367 header.data = buffer; in audio_extn_cirrus_run_calibration()
369 ret = ioctl(dev_file, CRUS_SP_IOCTL_GET, &header); in audio_extn_cirrus_run_calibration()
558 struct crus_sp_ioctl_header header; in audio_extn_cirrus_config_thread() local
588 header.size = sizeof(header); in audio_extn_cirrus_config_thread()
589 header.module_id = CRUS_MODULE_ID_TX; in audio_extn_cirrus_config_thread()
590 header.param_id = 0; in audio_extn_cirrus_config_thread()
591 header.data_length = sizeof(result); in audio_extn_cirrus_config_thread()
592 header.data = &result; in audio_extn_cirrus_config_thread()
594 ret = ioctl(dev_file, CRUS_SP_IOCTL_SET_CALIB, &header); in audio_extn_cirrus_config_thread()
641 struct crus_sp_ioctl_header header; in audio_extn_cirrus_failure_detect_thread() local
677 header.size = sizeof(header); in audio_extn_cirrus_failure_detect_thread()
678 header.module_id = CRUS_MODULE_ID_RX; in audio_extn_cirrus_failure_detect_thread()
679 header.param_id = CRUS_PARAM_RX_GET_TEMP; in audio_extn_cirrus_failure_detect_thread()
680 header.data_length = CRUS_PARAM_TEMP_MAX_LENGTH; in audio_extn_cirrus_failure_detect_thread()
681 header.data = buffer; in audio_extn_cirrus_failure_detect_thread()
686 ret = ioctl(dev_file, CRUS_SP_IOCTL_GET, &header); in audio_extn_cirrus_failure_detect_thread()
733 ret = ioctl(dev_file, CRUS_SP_IOCTL_GET, &header); in audio_extn_cirrus_failure_detect_thread()