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/io.h> 28 29 30 extern int bridge_io_create(struct io_mgr **io_man, 31 struct dev_object *hdev_obj, 32 const struct io_attrs *mgr_attrts); 33 34 extern int bridge_io_destroy(struct io_mgr *hio_mgr); 35 36 extern int bridge_io_on_loaded(struct io_mgr *hio_mgr); 37 38 extern int bridge_io_get_proc_load(struct io_mgr *hio_mgr, 39 struct dsp_procloadstat *proc_lstat); 40 41 #endif /* DSPIO_ */ 42