Lines Matching refs:codec_buffer
845 struct wcdcal_ioctl_buffer codec_buffer; in send_bg_cal() local
866 codec_buffer.cal_type = BG_CODEC_MIC_CAL; in send_bg_cal()
875 codec_buffer.cal_type = BG_CODEC_SPEAKER_CAL; in send_bg_cal()
885 codec_buffer.buffer = dptr; in send_bg_cal()
886 codec_buffer.size = param_len; in send_bg_cal()
888 if (ioctl(fd, SNDRV_CTL_IOCTL_HWDEP_CAL_TYPE, &codec_buffer) < 0) in send_bg_cal()
890 errno, codec_buffer.size); in send_bg_cal()
893 __func__, cal.acdb_dev_id, codec_buffer.size); in send_bg_cal()
909 struct wcdcal_ioctl_buffer codec_buffer; in send_codec_cal() local
936 , __func__, cal_name_info[type], codec_buffer.size); in send_codec_cal()
940 codec_buffer.buffer = calib.buff; in send_codec_cal()
941 codec_buffer.size = calib.data_size; in send_codec_cal()
942 codec_buffer.cal_type = type; in send_codec_cal()
943 if (ioctl(fd, SNDRV_CTL_IOCTL_HWDEP_CAL_TYPE, &codec_buffer) < 0) in send_codec_cal()
945 cal_name_info[type], errno, codec_buffer.size); in send_codec_cal()
947 , __func__, cal_name_info[type], codec_buffer.size); in send_codec_cal()