diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /drivers/media/video/tegra/avp/nvavp.h | |
parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) |
Diffstat (limited to 'drivers/media/video/tegra/avp/nvavp.h')
-rw-r--r-- | drivers/media/video/tegra/avp/nvavp.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/drivers/media/video/tegra/avp/nvavp.h b/drivers/media/video/tegra/avp/nvavp.h new file mode 100644 index 00000000000..dbc62b48588 --- /dev/null +++ b/drivers/media/video/tegra/avp/nvavp.h | |||
@@ -0,0 +1,53 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2011 Nvidia Corp | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | */ | ||
14 | |||
15 | #ifndef __MEDIA_VIDEO_TEGRA_NVAVP_H | ||
16 | #define __MEDIA_VIDEO_TEGRA_NVAVP_H | ||
17 | |||
18 | #include <linux/tegra_avp.h> | ||
19 | |||
20 | struct tegra_avp_info; | ||
21 | |||
22 | int tegra_avp_open(struct tegra_avp_info **avp); | ||
23 | int tegra_avp_release(struct tegra_avp_info *avp); | ||
24 | int tegra_avp_load_lib(struct tegra_avp_info *avp, struct tegra_avp_lib *lib); | ||
25 | int tegra_avp_unload_lib(struct tegra_avp_info *avp, unsigned long handle); | ||
26 | |||
27 | |||
28 | #include <linux/tegra_sema.h> | ||
29 | |||
30 | struct tegra_sema_info; | ||
31 | |||
32 | int tegra_sema_open(struct tegra_sema_info **sema); | ||
33 | int tegra_sema_release(struct tegra_sema_info *sema); | ||
34 | int tegra_sema_wait(struct tegra_sema_info *sema, long* timeout); | ||
35 | int tegra_sema_signal(struct tegra_sema_info *sema); | ||
36 | |||
37 | |||
38 | #include <linux/tegra_rpc.h> | ||
39 | |||
40 | struct tegra_rpc_info; | ||
41 | |||
42 | int tegra_rpc_open(struct tegra_rpc_info **rpc); | ||
43 | int tegra_rpc_release(struct tegra_rpc_info *rpc); | ||
44 | int tegra_rpc_port_create(struct tegra_rpc_info *rpc, char *name, | ||
45 | struct tegra_sema_info *sema); | ||
46 | int tegra_rpc_get_name(struct tegra_rpc_info *rpc, char* name); | ||
47 | int tegra_rpc_port_connect(struct tegra_rpc_info *rpc, long timeout); | ||
48 | int tegra_rpc_port_listen(struct tegra_rpc_info *rpc, long timeout); | ||
49 | int tegra_rpc_write(struct tegra_rpc_info *rpc, u8* buf, size_t size); | ||
50 | int tegra_rpc_read(struct tegra_rpc_info *rpc, u8 *buf, size_t max); | ||
51 | |||
52 | |||
53 | #endif | ||