• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _CALIB_HWDEP_H
2 #define _CALIB_HWDEP_H
3 
4 #define WCD9XXX_CODEC_HWDEP_NODE    1000
5 enum wcd_cal_type {
6 	WCD9XXX_MIN_CAL,
7 	WCD9XXX_ANC_CAL = WCD9XXX_MIN_CAL,
8 	WCD9XXX_MAD_CAL,
9 	WCD9XXX_MBHC_CAL,
10 	WCD9XXX_VBAT_CAL,
11 	WCD9XXX_MAX_CAL,
12 };
13 
14 struct wcdcal_ioctl_buffer {
15 	__u32 size;
16 	__u8 *buffer;
17 	enum wcd_cal_type cal_type;
18 };
19 
20 #define SNDRV_CTL_IOCTL_HWDEP_CAL_TYPE \
21 	_IOW('U', 0x1, struct wcdcal_ioctl_buffer)
22 
23 #endif /*_CALIB_HWDEP_H*/
24