atmel_usba_udc.h 382 B

1234567891011121314151617181920212223
  1. /*
  2. * Platform data definitions for Atmel USBA gadget driver.
  3. */
  4. #ifndef __LINUX_USB_USBA_H
  5. #define __LINUX_USB_USBA_H
  6. struct usba_ep_data {
  7. char *name;
  8. int index;
  9. int fifo_size;
  10. int nr_banks;
  11. int can_dma;
  12. int can_isoc;
  13. };
  14. struct usba_platform_data {
  15. int vbus_pin;
  16. int vbus_pin_inverted;
  17. int num_ep;
  18. struct usba_ep_data ep[0];
  19. };
  20. #endif /* __LINUX_USB_USBA_H */