msmcal-hwdep.h 490 B

123456789101112131415161718192021222324
  1. #ifndef _CALIB_HWDEP_H
  2. #define _CALIB_HWDEP_H
  3. #define WCD9XXX_CODEC_HWDEP_NODE 1000
  4. #define AQT1000_CODEC_HWDEP_NODE 1001
  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. struct wcdcal_ioctl_buffer {
  14. __u32 size;
  15. __u8 __user *buffer;
  16. enum wcd_cal_type cal_type;
  17. };
  18. #define SNDRV_CTL_IOCTL_HWDEP_CAL_TYPE \
  19. _IOW('U', 0x1, struct wcdcal_ioctl_buffer)
  20. #endif /*_CALIB_HWDEP_H*/