blob: a5e44d2c33d727c27def2714a82d067d2c76a173 [file] [log] [blame]
Iliyan Malchev276313e2010-02-02 11:56:26 -08001/****************************************************************************
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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
Iliyan Malchev276313e2010-02-02 11:56:26 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_TPA2018D1_H
20#define _LINUX_TPA2018D1_H
Iliyan Malchev276313e2010-02-02 11:56:26 -080021#include <linux/ioctl.h>
Iliyan Malchevd0996bb2010-02-02 13:42:55 -080022enum tpa2018d1_mode {
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Iliyan Malchevd0996bb2010-02-02 13:42:55 -080024 TPA2018_MODE_OFF,
25 TPA2018_MODE_PLAYBACK,
26 TPA2018_MODE_RINGTONE,
27 TPA2018_MODE_VOICE_CALL,
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Iliyan Malchevd0996bb2010-02-02 13:42:55 -080029 TPA2018_NUM_MODES,
30};
Iliyan Malchev276313e2010-02-02 11:56:26 -080031#define TPA2018_IOCTL_MAGIC 'a'
32#define TPA2018_SET_CONFIG _IOW(TPA2018_IOCTL_MAGIC, 1, unsigned)
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Iliyan Malchev276313e2010-02-02 11:56:26 -080034#define TPA2018_READ_CONFIG _IOR(TPA2018_IOCTL_MAGIC, 2, unsigned)
35#define TPA2018_SET_PARAM _IOW(TPA2018_IOCTL_MAGIC, 3, unsigned)
36#define TPA2018_SET_MODE _IOW(TPA2018_IOCTL_MAGIC, 4, unsigned)
Iliyan Malchev276313e2010-02-02 11:56:26 -080037#endif
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */