diff options
Diffstat (limited to 'drivers/staging/tidspbridge/include/dspbridge/dspdeh.h')
-rw-r--r-- | drivers/staging/tidspbridge/include/dspbridge/dspdeh.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/dspdeh.h b/drivers/staging/tidspbridge/include/dspbridge/dspdeh.h new file mode 100644 index 000000000000..d258ab6a41d1 --- /dev/null +++ b/drivers/staging/tidspbridge/include/dspbridge/dspdeh.h @@ -0,0 +1,43 @@ +/* + * dspdeh.h + * + * DSP-BIOS Bridge driver support functions for TI OMAP processors. + * + * Defines upper edge DEH functions required by all Bridge driver/DSP API + * interface tables. + * + * Notes: + * Function comment headers reside with the function typedefs in dspdefs.h. + * + * Copyright (C) 2005-2006 Texas Instruments, Inc. + * Copyright (C) 2010 Felipe Contreras + * + * 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 DSPDEH_ +#define DSPDEH_ + +struct deh_mgr; +struct dev_object; +struct dsp_notification; + +int bridge_deh_create(struct deh_mgr **ret_deh, + struct dev_object *hdev_obj); + +int bridge_deh_destroy(struct deh_mgr *deh); + +int bridge_deh_register_notify(struct deh_mgr *deh, + u32 event_mask, + u32 notify_type, + struct dsp_notification *hnotification); + +void bridge_deh_notify(struct deh_mgr *deh, int event, int info); + +#endif /* DSPDEH_ */ |