cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

video.h (668B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright (C) 2020 NVIDIA CORPORATION.  All rights reserved.
      4 */
      5
      6#ifndef __TEGRA_VIDEO_H__
      7#define __TEGRA_VIDEO_H__
      8
      9#include <linux/host1x.h>
     10
     11#include <media/media-device.h>
     12#include <media/v4l2-device.h>
     13
     14#include "vi.h"
     15#include "csi.h"
     16
     17struct tegra_video_device {
     18	struct v4l2_device v4l2_dev;
     19	struct media_device media_dev;
     20	struct tegra_vi *vi;
     21	struct tegra_csi *csi;
     22};
     23
     24int tegra_v4l2_nodes_setup_tpg(struct tegra_video_device *vid);
     25void tegra_v4l2_nodes_cleanup_tpg(struct tegra_video_device *vid);
     26
     27extern struct platform_driver tegra_vi_driver;
     28extern struct platform_driver tegra_csi_driver;
     29#endif