]> Pileus Git - ~andy/linux/blob - drivers/staging/tidspbridge/include/dspbridge/resourcecleanup.h
staging: ti dspbridge: make variables in prototypes match within functions definitions
[~andy/linux] / drivers / staging / tidspbridge / include / dspbridge / resourcecleanup.h
1 /*
2  * resourcecleanup.h
3  *
4  * DSP-BIOS Bridge driver support functions for TI OMAP processors.
5  *
6  * Copyright (C) 2005-2006 Texas Instruments, Inc.
7  *
8  * This package is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11  *
12  * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15  */
16
17 #include <dspbridge/nodepriv.h>
18 #include <dspbridge/drv.h>
19
20 extern int drv_get_proc_ctxt_list(struct process_context **pctxt,
21                                          struct drv_object *hdrv_obj);
22
23 extern int drv_insert_proc_context(struct drv_object *driver_obj,
24                                           void *process_ctxt);
25
26 extern int drv_remove_all_dmm_res_elements(void *process_ctxt);
27
28 extern int drv_remove_all_node_res_elements(void *process_ctxt);
29
30 extern int drv_proc_set_pid(void *ctxt, s32 process);
31
32 extern int drv_remove_all_resources(void *process_ctxt);
33
34 extern int drv_remove_proc_context(struct drv_object *driver_obj,
35                                           void *pr_ctxt);
36
37 extern int drv_get_node_res_element(void *hnode, void *node_resource,
38                                            void *process_ctx);
39
40 extern int drv_insert_node_res_element(void *hnode, void *node_resource,
41                                               void *process_ctxt);
42
43 extern void drv_proc_node_update_heap_status(void *node_resource, s32 status);
44
45 extern int drv_remove_node_res_element(void *node_resource,
46                                                 void *process_ctxt);
47
48 extern void drv_proc_node_update_status(void *node_resource, s32 status);
49
50 extern int drv_proc_update_strm_res(u32 num_bufs, void *strm_resources);
51
52 extern int drv_proc_insert_strm_res_element(void *stream_obj,
53                                                    void *strm_res,
54                                                    void *process_ctxt);
55
56 extern int drv_get_strm_res_element(void *stream_obj, void *strm_resources,
57                                            void *process_ctxt);
58
59 extern int drv_proc_remove_strm_res_element(void *strm_res,
60                                                    void *process_ctxt);
61
62 extern int drv_remove_all_strm_res_elements(void *process_ctxt);
63
64 extern enum node_state node_get_state(void *hnode);