diff options
author | Rahul Mittal <rmittal@nvidia.com> | 2011-10-05 18:49:41 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-10-06 16:59:49 -0700 |
commit | 334cfb4331ab5d7252863b2fa9d2e2ae4ce3f6b6 (patch) | |
tree | c0e74ffa118125b61142a2b529508c43914c0ed5 /include | |
parent | db35e317641bf4faa8b3e471cb745f20855c3765 (diff) |
kernel: Add ioctl constants for audio test framework
Added some ioctl constants required for audio test framework use cases
like DAM mixing and APBIF channel validation
Change-Id: Icc536fbb2cfd28f89ac760cd67b24e5a46892d7d
Reviewed-on: http://git-master/r/56222
Tested-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_audio.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/tegra_audio.h b/include/linux/tegra_audio.h index 84d01dbeda0b..5f0531e38d96 100644 --- a/include/linux/tegra_audio.h +++ b/include/linux/tegra_audio.h @@ -38,6 +38,7 @@ struct dam_srate { unsigned int client_bits; unsigned int audio_channels; unsigned int client_channels; + unsigned int apbif_chan; }; #define TEGRA_AUDIO_IN_SET_CONFIG _IOW(TEGRA_AUDIO_MAGIC, 2, \ @@ -64,6 +65,9 @@ struct dam_srate { unsigned int *) #define DAM_SRC_START _IOW(TEGRA_AUDIO_MAGIC, 13, struct dam_srate *) -#define DAM_SRC_STOP _IOW(TEGRA_AUDIO_MAGIC, 14, struct dam_srate *) +#define DAM_SRC_STOP _IO(TEGRA_AUDIO_MAGIC, 14) +#define DAM_MIXING_START _IOW(TEGRA_AUDIO_MAGIC, 15, struct dam_srate *) +#define DAM_MIXING_STOP _IO(TEGRA_AUDIO_MAGIC, 16) +#define DAM_SET_MIXING_FLAG _IO(TEGRA_AUDIO_MAGIC, 17) #endif/*_CPCAP_AUDIO_H*/ |