linux/drivers/media/platform/nvidia/tegra-vde/vde.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * NVIDIA Tegra Video decoder driver
 *
 * Copyright (C) 2016-2017 Dmitry Osipenko <[email protected]>
 *
 */

#include <linux/clk.h>
#include <linux/dma-buf.h>
#include <linux/genalloc.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/reset.h>
#include <linux/slab.h>
#include <linux/uaccess.h>

#include <soc/tegra/common.h>
#include <soc/tegra/pmc.h>

#include "vde.h"

#define CREATE_TRACE_POINTS
#include "trace.h"

void tegra_vde_writel(struct tegra_vde *vde, u32 value,
		      void __iomem *base, u32 offset)
{}

u32 tegra_vde_readl(struct tegra_vde *vde, void __iomem *base, u32 offset)
{}

void tegra_vde_set_bits(struct tegra_vde *vde, u32 mask,
			void __iomem *base, u32 offset)
{}

int tegra_vde_alloc_bo(struct tegra_vde *vde,
		       struct tegra_vde_bo **ret_bo,
		       enum dma_data_direction dma_dir,
		       size_t size)
{}

void tegra_vde_free_bo(struct tegra_vde_bo *bo)
{}

static irqreturn_t tegra_vde_isr(int irq, void *data)
{}

static __maybe_unused int tegra_vde_runtime_suspend(struct device *dev)
{}

static __maybe_unused int tegra_vde_runtime_resume(struct device *dev)
{}

static int tegra_vde_probe(struct platform_device *pdev)
{}

static void tegra_vde_remove(struct platform_device *pdev)
{}

static void tegra_vde_shutdown(struct platform_device *pdev)
{}

static __maybe_unused int tegra_vde_pm_suspend(struct device *dev)
{}

static __maybe_unused int tegra_vde_pm_resume(struct device *dev)
{}

static const struct dev_pm_ops tegra_vde_pm_ops =;

static const u32 tegra124_decoded_fmts[] =;

static const struct tegra_coded_fmt_desc tegra124_coded_fmts[] =;

static const u32 tegra20_decoded_fmts[] =;

static const struct tegra_coded_fmt_desc tegra20_coded_fmts[] =;

static const struct tegra_vde_soc tegra124_vde_soc =;

static const struct tegra_vde_soc tegra114_vde_soc =;

static const struct tegra_vde_soc tegra30_vde_soc =;

static const struct tegra_vde_soc tegra20_vde_soc =;

static const struct of_device_id tegra_vde_of_match[] =;
MODULE_DEVICE_TABLE(of, tegra_vde_of_match);

static struct platform_driver tegra_vde_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();