diff options
| author | Ankit Patel <anpatel@nvidia.com> | 2020-03-24 03:53:37 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2020-03-25 13:24:22 -0400 |
| commit | 348c5ff55d7499222f154aea9e9893e6cfa677ce (patch) | |
| tree | 522f030a3979ffa449efa37da73352959acb8887 /include/uapi/misc | |
| parent | 982049b5ceaeab23cfda7b5950bd0c85322a7b20 (diff) | |
headers : move/modified header for User-space ABI
copied/moved/modified headers from the driver directory to the
include/uapi directory, which have IOCTL components required to
get access from user space as per Linux kernel user-space ABI.
Bug 2657961
Signed-off-by: Ankit Patel <anpatel@nvidia.com>
Change-Id: Ie70b2839e0a1031a685ff3e4bb93c73741645f44
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2317530
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/uapi/misc')
| -rw-r--r-- | include/uapi/misc/tegra_cec.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/uapi/misc/tegra_cec.h b/include/uapi/misc/tegra_cec.h new file mode 100644 index 000000000..1f4d0cfdf --- /dev/null +++ b/include/uapi/misc/tegra_cec.h | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | /* | ||
| 2 | * include/uapi/misc/tegra_cec.h | ||
| 3 | * | ||
| 4 | * Copyright (c) 2012-2020, NVIDIA CORPORATION. All rights reserved. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify it | ||
| 7 | * under the terms and conditions of the GNU General Public License, | ||
| 8 | * version 2, as published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
| 11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 13 | * more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | |||
| 20 | #ifndef __UAPI_TEGRA_CEC_H | ||
| 21 | #define __UAPI_TEGRA_CEC_H | ||
| 22 | |||
| 23 | #define TEGRA_CEC_IOC_MAGIC 'C' | ||
| 24 | |||
| 25 | #define TEGRA_CEC_IOCTL_ERROR_RECOVERY _IO(TEGRA_CEC_IOC_MAGIC, 1) | ||
| 26 | #define TEGRA_CEC_IOCTL_DUMP_REGISTERS _IO(TEGRA_CEC_IOC_MAGIC, 2) | ||
| 27 | #define TEGRA_CEC_IOCTL_SET_RX_SNOOP _IO(TEGRA_CEC_IOC_MAGIC, 3) | ||
| 28 | #define TEGRA_CEC_IOCTL_GET_RX_SNOOP _IO(TEGRA_CEC_IOC_MAGIC, 4) | ||
| 29 | #define TEGRA_CEC_IOCTL_GET_POST_RECOVERY _IO(TEGRA_CEC_IOC_MAGIC, 5) | ||
| 30 | |||
| 31 | #endif /* __UAPI_TEGRA_CEC_H */ | ||
