• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ****************************************************************************
11  ****************************************************************************/
12 #ifndef _LINUX_TPA2018D1_H
13 #define _LINUX_TPA2018D1_H
14 
15 #include <linux/ioctl.h>
16 
17 enum tpa2018d1_mode {
18  TPA2018_MODE_OFF,
19  TPA2018_MODE_PLAYBACK,
20  TPA2018_MODE_RINGTONE,
21  TPA2018_MODE_VOICE_CALL,
22  TPA2018_NUM_MODES,
23 };
24 
25 #define TPA2018_IOCTL_MAGIC 'a'
26 #define TPA2018_SET_CONFIG _IOW(TPA2018_IOCTL_MAGIC, 1, unsigned)
27 #define TPA2018_READ_CONFIG _IOR(TPA2018_IOCTL_MAGIC, 2, unsigned)
28 #define TPA2018_SET_PARAM _IOW(TPA2018_IOCTL_MAGIC, 3, unsigned)
29 #define TPA2018_SET_MODE _IOW(TPA2018_IOCTL_MAGIC, 4, unsigned)
30 
31 #endif
32 
33 
34