upload tizen1.0 source
[kernel/linux-2.6.36.git] / drivers / staging / tidspbridge / include / dspbridge / dspio.h
1 /*
2  * dspio.h
3  *
4  * DSP-BIOS Bridge driver support functions for TI OMAP processors.
5  *
6  * Declares the upper edge IO functions required by all Bridge driver /DSP API
7  * interface tables.
8  *
9  * Notes:
10  *   Function comment headers reside in dspdefs.h.
11  *
12  * Copyright (C) 2005-2006 Texas Instruments, Inc.
13  *
14  * This package is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License version 2 as
16  * published by the Free Software Foundation.
17  *
18  * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
19  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
20  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21  */
22
23 #ifndef DSPIO_
24 #define DSPIO_
25
26 #include <dspbridge/devdefs.h>
27 #include <dspbridge/iodefs.h>
28
29 extern int bridge_io_create(struct io_mgr **io_man,
30                                    struct dev_object *hdev_obj,
31                                    const struct io_attrs *mgr_attrts);
32
33 extern int bridge_io_destroy(struct io_mgr *hio_mgr);
34
35 extern int bridge_io_on_loaded(struct io_mgr *hio_mgr);
36
37 extern int iva_io_on_loaded(struct io_mgr *hio_mgr);
38 extern int bridge_io_get_proc_load(struct io_mgr *hio_mgr,
39                                        struct dsp_procloadstat *proc_lstat);
40
41 #endif /* DSPIO_ */