Bo Shen | 70a67fd | 2013-09-11 18:24:49 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Platform data definitions for Atmel USBA gadget driver |
| 3 | * [Original from Linux kernel: include/linux/usb/atmel_usba_udc.h] |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | #ifndef __LINUX_USB_USBA_H__ |
| 8 | #define __LINUX_USB_USBA_H__ |
| 9 | |
| 10 | struct usba_ep_data { |
| 11 | char *name; |
| 12 | int index; |
| 13 | int fifo_size; |
| 14 | int nr_banks; |
| 15 | int can_dma; |
| 16 | int can_isoc; |
| 17 | }; |
| 18 | |
| 19 | struct usba_platform_data { |
| 20 | int num_ep; |
| 21 | struct usba_ep_data *ep; |
| 22 | }; |
| 23 | |
| 24 | extern int usba_udc_probe(struct usba_platform_data *pdata); |
| 25 | |
| 26 | #endif /* __LINUX_USB_USBA_H */ |