/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

  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. #ifndef IOOBJ_
  20. #define IOOBJ_
  21. #include <dspbridge/devdefs.h>
  22. #include <dspbridge/dspdefs.h>
  23. /*
  24. * This struct is the first field in a io_mgr struct. Other, implementation
  25. * specific fields follow this structure in memory.
  26. */
  27. struct io_mgr_ {
  28. /* These must be the first fields in a io_mgr struct: */
  29. struct bridge_dev_context *bridge_context; /* Bridge context. */
  30. /* Function interface to Bridge driver. */
  31. struct bridge_drv_interface *intf_fxns;
  32. struct dev_object *dev_obj; /* Device this board represents. */
  33. };
  34. #endif /* IOOBJ_ */