Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
resourcecleanup.h
Go to the documentation of this file.
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_remove_all_dmm_res_elements(void *process_ctxt);
21 
22 extern int drv_remove_all_node_res_elements(void *process_ctxt);
23 
24 extern int drv_remove_all_resources(void *process_ctxt);
25 
26 extern int drv_insert_node_res_element(void *hnode, void *node_resource,
27  void *process_ctxt);
28 
29 extern void drv_proc_node_update_heap_status(void *node_resource, s32 status);
30 
31 extern void drv_proc_node_update_status(void *node_resource, s32 status);
32 
33 extern int drv_proc_update_strm_res(u32 num_bufs, void *strm_resources);
34 
35 extern int drv_proc_insert_strm_res_element(void *stream_obj,
36  void *strm_res,
37  void *process_ctxt);
38 
39 extern int drv_remove_all_strm_res_elements(void *process_ctxt);
40 
41 extern enum node_state node_get_state(void *hnode);