mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Port camera drivers below from /kenrel/nvidia to /kernel/nvidia-oot as OOT modules: - Fusa-capture driver - Tegra V4L2 framework driver - vi/csi driver - tegra camera platform driver Change-Id: I390af27096425bb11e0934201dd1a90f001bb3fa Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2780698 Reviewed-by: FNU Raunak <fraunak@nvidia.com> Reviewed-by: Ankur Pawar <ankurp@nvidia.com> Reviewed-by: Shiva Dubey <sdubey@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
34 lines
734 B
C
34 lines
734 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Tegra VI Driver
|
|
*
|
|
* Copyright (c) 2013-2022, NVIDIA CORPORATION. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __UAPI_LINUX_NVHOST_VI_IOCTL_H
|
|
#define __UAPI_LINUX_NVHOST_VI_IOCTL_H
|
|
|
|
#include <linux/ioctl.h>
|
|
#include <linux/types.h>
|
|
|
|
#if !defined(__KERNEL__)
|
|
#define __user
|
|
#endif
|
|
|
|
#define NVHOST_VI_IOCTL_MAGIC 'V'
|
|
|
|
/*
|
|
* /dev/nvhost-ctrl-vi devices
|
|
*
|
|
* Opening a '/dev/nvhost-ctrl-vi' device node creates a way to send
|
|
* ctrl ioctl to vi driver.
|
|
*
|
|
* /dev/nvhost-vi is for channel (context specific) operations. We use
|
|
* /dev/nvhost-ctrl-vi for global (context independent) operations on
|
|
* vi device.
|
|
*/
|
|
|
|
#define NVHOST_VI_IOCTL_ENABLE_TPG _IOW(NVHOST_VI_IOCTL_MAGIC, 1, uint)
|
|
|
|
#endif
|