tilegx.h 983 B

1234567891011121314151617181920212223242526272829303132333435
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright 2012 Tilera Corporation. All Rights Reserved.
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License
  7. * as published by the Free Software Foundation, version 2.
  8. *
  9. * This program is distributed in the hope that it will be useful, but
  10. * WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
  12. * NON INFRINGEMENT. See the GNU General Public License for
  13. * more details.
  14. *
  15. * Structure to contain platform-specific data related to Tile-Gx USB
  16. * controllers.
  17. */
  18. #ifndef _LINUX_USB_TILEGX_H
  19. #define _LINUX_USB_TILEGX_H
  20. #include <gxio/usb_host.h>
  21. struct tilegx_usb_platform_data {
  22. /* GXIO device index. */
  23. int dev_index;
  24. /* GXIO device context. */
  25. gxio_usb_host_context_t usb_ctx;
  26. /* Device IRQ. */
  27. unsigned int irq;
  28. };
  29. #endif /* _LINUX_USB_TILEGX_H */