summaryrefslogtreecommitdiffstats
path: root/include/media/slvs.h
blob: 88bb612854b1cfcb87db135a3a2c76d58cedcb4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * NVIDIA Tegra SLVS(-EC) Device
 *
 * Copyright (c) 2017, NVIDIA CORPORATION.  All rights reserved.
 *
 * Author: Pekka Pessi <ppessi@nvidia.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __SLVS_H__
#define __SLVS_H__

#include <linux/platform_device.h>

struct tegra_mc_slvs;

struct tegra_mc_slvs *tegra_slvs_media_controller_init(
	struct platform_device *pdev);
void tegra_slvs_media_controller_remove(struct tegra_mc_slvs *slvs);

void tegra_slvs_media_controller_cil_notify(struct tegra_mc_slvs *slvs,
					u32 id, u32 events);

#endif