diff options
Diffstat (limited to 'drivers/staging/tidspbridge/include/dspbridge/dspio.h')
-rw-r--r-- | drivers/staging/tidspbridge/include/dspbridge/dspio.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/dspio.h b/drivers/staging/tidspbridge/include/dspbridge/dspio.h new file mode 100644 index 000000000000..275697ae7579 --- /dev/null +++ b/drivers/staging/tidspbridge/include/dspbridge/dspio.h @@ -0,0 +1,41 @@ +/* + * dspio.h + * + * DSP-BIOS Bridge driver support functions for TI OMAP processors. + * + * Declares the upper edge IO functions required by all Bridge driver /DSP API + * interface tables. + * + * Notes: + * Function comment headers reside in dspdefs.h. + * + * Copyright (C) 2005-2006 Texas Instruments, Inc. + * + * This package is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +#ifndef DSPIO_ +#define DSPIO_ + +#include <dspbridge/devdefs.h> +#include <dspbridge/iodefs.h> + +extern int bridge_io_create(OUT struct io_mgr **phIOMgr, + struct dev_object *hdev_obj, + IN CONST struct io_attrs *pMgrAttrs); + +extern int bridge_io_destroy(struct io_mgr *hio_mgr); + +extern int bridge_io_on_loaded(struct io_mgr *hio_mgr); + +extern int iva_io_on_loaded(struct io_mgr *hio_mgr); +extern int bridge_io_get_proc_load(IN struct io_mgr *hio_mgr, + OUT struct dsp_procloadstat *pProcStat); + +#endif /* DSPIO_ */ |