PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/drivers/staging/tidspbridge/pmgr/ioobj.h

https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t
C Header | 38 lines | 10 code | 4 blank | 24 comment | 0 complexity | a4515f6259ea2f716e177cce42be54ab MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1/*
 2 * ioobj.h
 3 *
 4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
 5 *
 6 * Structure subcomponents of channel class library IO objects which
 7 * are exposed to DSP API from Bridge driver.
 8 *
 9 * Copyright (C) 2005-2006 Texas Instruments, Inc.
10 *
11 * This package is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 *
15 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 */
19
20#ifndef IOOBJ_
21#define IOOBJ_
22
23#include <dspbridge/devdefs.h>
24#include <dspbridge/dspdefs.h>
25
26/*
27 *  This struct is the first field in a io_mgr struct. Other, implementation
28 *  specific fields follow this structure in memory.
29 */
30struct io_mgr_ {
31	/* These must be the first fields in a io_mgr struct: */
32	struct bridge_dev_context *bridge_context;	/* Bridge context. */
33	/* Function interface to Bridge driver. */
34	struct bridge_drv_interface *intf_fxns;
35	struct dev_object *dev_obj;	/* Device this board represents. */
36};
37
38#endif /* IOOBJ_ */