aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/include/dspbridge/dspdeh.h
blob: d258ab6a41d1e39d1f34dc3ae20e6cf11965f7c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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_ */