blob: 324b497c1ba6778a03a1d099b75ea5e9daafdabb [file] [log] [blame]
Anish Kumarc829aa02014-09-29 21:18:35 -07001/*
2 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13#ifndef _CALIB_HWDEP_H
14#define _CALIB_HWDEP_H
15
16#define WCD9XXX_CODEC_HWDEP_NODE 1000
17enum wcd_cal_type {
18 WCD9XXX_MIN_CAL,
19 WCD9XXX_ANC_CAL = WCD9XXX_MIN_CAL,
20 WCD9XXX_MAD_CAL,
21 WCD9XXX_MBHC_CAL,
22 WCD9XXX_MAX_CAL,
23};
24
25struct wcdcal_ioctl_buffer {
26 __u32 size;
27 __u8 __user *buffer;
28 enum wcd_cal_type cal_type;
29};
30
31#define SNDRV_CTL_IOCTL_HWDEP_CAL_TYPE \
32 _IOW('U', 0x1, struct wcdcal_ioctl_buffer)
33
34#endif /*_CALIB_HWDEP_H*/