aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/tegra/host/bus_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra/host/bus_client.h')
-rw-r--r--drivers/video/tegra/host/bus_client.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/bus_client.h b/drivers/video/tegra/host/bus_client.h
new file mode 100644
index 00000000000..4e47071fd14
--- /dev/null
+++ b/drivers/video/tegra/host/bus_client.h
@@ -0,0 +1,39 @@
1/*
2 * drivers/video/tegra/host/bus_client.h
3 *
4 * Tegra Graphics Host client
5 *
6 * Copyright (c) 2010-2012, NVIDIA Corporation.
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms and conditions of the GNU General Public License,
10 * version 2, as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef __NVHOST_BUS_CLIENT_H
22#define __NVHOST_BUS_CLIENT_H
23
24#include <linux/types.h>
25struct nvhost_device;
26
27void nvhost_read_module_regs(struct nvhost_device *ndev,
28 u32 offset, int count, u32 *values);
29
30void nvhost_write_module_regs(struct nvhost_device *ndev,
31 u32 offset, int count, const u32 *values);
32
33int nvhost_client_user_init(struct nvhost_device *dev);
34
35int nvhost_client_device_init(struct nvhost_device *dev);
36
37int nvhost_client_device_suspend(struct nvhost_device *dev);
38
39#endif