2010-06-23 13:12:23 +00:00
|
|
|
/*
|
|
|
|
* 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.
|
2010-07-04 13:34:39 +00:00
|
|
|
* Copyright (C) 2010 Felipe Contreras
|
2010-06-23 13:12:23 +00:00
|
|
|
*
|
|
|
|
* 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_
|
|
|
|
|
2010-07-04 13:34:38 +00:00
|
|
|
struct deh_mgr;
|
|
|
|
struct dev_object;
|
|
|
|
struct dsp_notification;
|
2010-06-23 13:12:23 +00:00
|
|
|
|
2010-07-04 13:34:38 +00:00
|
|
|
int bridge_deh_create(struct deh_mgr **ret_deh,
|
2010-06-23 13:12:23 +00:00
|
|
|
struct dev_object *hdev_obj);
|
|
|
|
|
2010-07-04 13:34:38 +00:00
|
|
|
int bridge_deh_destroy(struct deh_mgr *deh);
|
2010-06-23 13:12:23 +00:00
|
|
|
|
2010-07-04 13:34:38 +00:00
|
|
|
int bridge_deh_register_notify(struct deh_mgr *deh,
|
2010-06-23 13:12:23 +00:00
|
|
|
u32 event_mask,
|
|
|
|
u32 notify_type,
|
|
|
|
struct dsp_notification *hnotification);
|
|
|
|
|
2010-07-04 13:34:38 +00:00
|
|
|
void bridge_deh_notify(struct deh_mgr *deh, int event, int info);
|
2010-06-23 13:12:23 +00:00
|
|
|
|
|
|
|
#endif /* DSPDEH_ */
|