1 /* 2 * dspdeh.h 3 * 4 * DSP-BIOS Bridge driver support functions for TI OMAP processors. 5 * 6 * Defines upper edge DEH functions required by all Bridge driver/DSP API 7 * interface tables. 8 * 9 * Notes: 10 * Function comment headers reside with the function typedefs in dspdefs.h. 11 * 12 * Copyright (C) 2005-2006 Texas Instruments, Inc. 13 * Copyright (C) 2010 Felipe Contreras 14 * 15 * This package is free software; you can redistribute it and/or modify 16 * it under the terms of the GNU General Public License version 2 as 17 * published by the Free Software Foundation. 18 * 19 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 20 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 21 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 22 */ 23 24 #ifndef DSPDEH_ 25 #define DSPDEH_ 26 27 struct deh_mgr; 28 struct dev_object; 29 struct dsp_notification; 30 31 int bridge_deh_create(struct deh_mgr **ret_deh, 32 struct dev_object *hdev_obj); 33 34 int bridge_deh_destroy(struct deh_mgr *deh); 35 36 int bridge_deh_register_notify(struct deh_mgr *deh, 37 u32 event_mask, 38 u32 notify_type, 39 struct dsp_notification *hnotification); 40 41 void bridge_deh_notify(struct deh_mgr *deh, int event, int info); 42 43 #endif /* DSPDEH_ */ 44