diff options
Diffstat (limited to 'drivers/video/tegra/host/bus_client.h')
-rw-r--r-- | drivers/video/tegra/host/bus_client.h | 39 |
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> | ||
25 | struct nvhost_device; | ||
26 | |||
27 | void nvhost_read_module_regs(struct nvhost_device *ndev, | ||
28 | u32 offset, int count, u32 *values); | ||
29 | |||
30 | void nvhost_write_module_regs(struct nvhost_device *ndev, | ||
31 | u32 offset, int count, const u32 *values); | ||
32 | |||
33 | int nvhost_client_user_init(struct nvhost_device *dev); | ||
34 | |||
35 | int nvhost_client_device_init(struct nvhost_device *dev); | ||
36 | |||
37 | int nvhost_client_device_suspend(struct nvhost_device *dev); | ||
38 | |||
39 | #endif | ||