• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/tidspbridge/pmgr/
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 *hbridge_context;	/* Bridge context. */
33	/* Function interface to Bridge driver. */
34	struct bridge_drv_interface *intf_fxns;
35	struct dev_object *hdev_obj;	/* Device this board represents. */
36};
37
38#endif /* IOOBJ_ */
39