Iliyan Malchev | a169e31 | 2010-08-23 21:01:55 -0700 | [diff] [blame] | 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 | *** |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 10 | *** 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 Malchev | a169e31 | 2010-08-23 21:01:55 -0700 | [diff] [blame] | 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef _TEGRA_AUDIO_H |
| 20 | #define _TEGRA_AUDIO_H |
Iliyan Malchev | a169e31 | 2010-08-23 21:01:55 -0700 | [diff] [blame] | 21 | #include <linux/ioctl.h> |
Iliyan Malchev | a169e31 | 2010-08-23 21:01:55 -0700 | [diff] [blame] | 22 | #define TEGRA_AUDIO_MAGIC 't' |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Iliyan Malchev | a169e31 | 2010-08-23 21:01:55 -0700 | [diff] [blame] | 24 | #define TEGRA_AUDIO_IN_START _IO(TEGRA_AUDIO_MAGIC, 0) |
| 25 | #define TEGRA_AUDIO_IN_STOP _IO(TEGRA_AUDIO_MAGIC, 1) |
Iliyan Malchev | a169e31 | 2010-08-23 21:01:55 -0700 | [diff] [blame] | 26 | struct tegra_audio_in_config { |
| 27 | int rate; |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Iliyan Malchev | a169e31 | 2010-08-23 21:01:55 -0700 | [diff] [blame] | 29 | int stereo; |
| 30 | }; |
Iliyan Malchev | a169e31 | 2010-08-23 21:01:55 -0700 | [diff] [blame] | 31 | #define TEGRA_AUDIO_IN_SET_CONFIG _IOW(TEGRA_AUDIO_MAGIC, 2, const struct tegra_audio_in_config *) |
| 32 | #define TEGRA_AUDIO_IN_GET_CONFIG _IOR(TEGRA_AUDIO_MAGIC, 3, struct tegra_audio_in_config *) |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Iliyan Malchev | c1974ee | 2010-11-22 16:52:22 -0800 | [diff] [blame] | 34 | #define TEGRA_AUDIO_IN_SET_NUM_BUFS _IOW(TEGRA_AUDIO_MAGIC, 4, const unsigned int *) |
| 35 | #define TEGRA_AUDIO_IN_GET_NUM_BUFS _IOW(TEGRA_AUDIO_MAGIC, 5, unsigned int *) |
| 36 | #define TEGRA_AUDIO_OUT_SET_NUM_BUFS _IOW(TEGRA_AUDIO_MAGIC, 6, const unsigned int *) |
| 37 | #define TEGRA_AUDIO_OUT_GET_NUM_BUFS _IOW(TEGRA_AUDIO_MAGIC, 7, unsigned int *) |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Iliyan Malchev | 9883f39 | 2010-10-19 15:23:42 -0700 | [diff] [blame] | 39 | #define TEGRA_AUDIO_OUT_FLUSH _IO(TEGRA_AUDIO_MAGIC, 10) |
Iliyan Malchev | 9883f39 | 2010-10-19 15:23:42 -0700 | [diff] [blame] | 40 | #define TEGRA_AUDIO_BIT_FORMAT_DEFAULT 0 |
| 41 | #define TEGRA_AUDIO_BIT_FORMAT_DSP 1 |
Iliyan Malchev | c1974ee | 2010-11-22 16:52:22 -0800 | [diff] [blame] | 42 | #define TEGRA_AUDIO_SET_BIT_FORMAT _IOW(TEGRA_AUDIO_MAGIC, 11, const unsigned int *) |
Ben Cheng | 94a85f6 | 2012-03-06 15:45:52 -0800 | [diff] [blame^] | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Iliyan Malchev | 9883f39 | 2010-10-19 15:23:42 -0700 | [diff] [blame] | 44 | #define TEGRA_AUDIO_GET_BIT_FORMAT _IOR(TEGRA_AUDIO_MAGIC, 12, unsigned int *) |
Iliyan Malchev | a169e31 | 2010-08-23 21:01:55 -0700 | [diff] [blame] | 45 | #endif |