Searched refs:cal_data (Results 1 – 2 of 2) sorted by relevance
185 struct audio_cal_fb_spk_prot_status cal_data; in get_spkr_prot_cal() local199 cal_data.hdr.data_size = sizeof(cal_data); in get_spkr_prot_cal()200 cal_data.hdr.version = VERSION_0_0; in get_spkr_prot_cal()201 cal_data.hdr.cal_type = AFE_FB_SPKR_PROT_CAL_TYPE; in get_spkr_prot_cal()202 cal_data.hdr.cal_type_size = sizeof(cal_data.cal_type); in get_spkr_prot_cal()203 cal_data.cal_type.cal_hdr.version = VERSION_0_0; in get_spkr_prot_cal()204 cal_data.cal_type.cal_hdr.buffer_number = 0; in get_spkr_prot_cal()205 cal_data.cal_type.cal_data.mem_handle = -1; in get_spkr_prot_cal()207 if (ioctl(cal_fd, AUDIO_GET_CALIBRATION, &cal_data)) { in get_spkr_prot_cal()214 status->r0[SP_V2_SPKR_1] = cal_data.cal_type.cal_info.r0[SP_V2_SPKR_1]; in get_spkr_prot_cal()[all …]
858 unsigned char *cal_data = (unsigned char *)malloc(sizeof(sz)); in main() local860 cal_ptr = cal_data; in main()870 free(cal_data); in main()