1 #ifndef _CALIB_HWDEP_H
2 #define _CALIB_HWDEP_H
3 
4 #define WCD9XXX_CODEC_HWDEP_NODE    1000
5 #define AQT1000_CODEC_HWDEP_NODE    1001
6 #define Q6AFE_HWDEP_NODE    1002
7 enum wcd_cal_type {
8 	WCD9XXX_MIN_CAL,
9 	WCD9XXX_ANC_CAL = WCD9XXX_MIN_CAL,
10 	WCD9XXX_MAD_CAL,
11 	WCD9XXX_MBHC_CAL,
12 	WCD9XXX_VBAT_CAL,
13 	WCD9XXX_MAX_CAL,
14 };
15 
16 struct wcdcal_ioctl_buffer {
17 	__u32 size;
18 	__u8 *buffer;
19 	enum wcd_cal_type cal_type;
20 };
21 
22 #define SNDRV_CTL_IOCTL_HWDEP_CAL_TYPE \
23 	_IOW('U', 0x1, struct wcdcal_ioctl_buffer)
24 
25 enum q6afe_cal_type {
26 	Q6AFE_MIN_CAL,
27 	Q6AFE_VAD_CORE_CAL = Q6AFE_MIN_CAL,
28 	Q6AFE_MAX_CAL,
29 };
30 
31 struct q6afecal_ioctl_buffer {
32 	__u32 size;
33 	__u8 *buffer;
34 	enum q6afe_cal_type cal_type;
35 };
36 
37 #define SNDRV_IOCTL_HWDEP_VAD_CAL_TYPE \
38 	_IOW('U', 0x1, struct q6afecal_ioctl_buffer)
39 
40 #endif /*_CALIB_HWDEP_H*/
41