Home
last modified time | relevance | path

Searched refs:NUM_ENDPOINTS (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/serial/
H A Dusbtty.c40 #define NUM_ENDPOINTS 3 macro
68 static struct usb_endpoint_instance endpoint_instance[NUM_ENDPOINTS+1];
105 static struct usb_endpoint_descriptor *ep_descriptor_ptrs[NUM_ENDPOINTS];
154 struct usb_endpoint_descriptor data_endpoints[NUM_ENDPOINTS-1];
284 struct usb_endpoint_descriptor data_endpoints[NUM_ENDPOINTS];
310 .bNumEndpoints = NUM_ENDPOINTS,
675 alternate_instance->endpoints = NUM_ENDPOINTS; in usbtty_init_instances()
688 for (i = 1; i <= NUM_ENDPOINTS; i++) { in usbtty_init_instances()
728 bus_instance->max_endpoints = NUM_ENDPOINTS + 1; in usbtty_init_endpoints()
729 for (i = 1; i <= NUM_ENDPOINTS; i++) { in usbtty_init_endpoints()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Dat91_udc.h82 #define NUM_ENDPOINTS 6 macro
118 struct at91_ep ep[NUM_ENDPOINTS];
H A Dci_udc.h9 #define NUM_ENDPOINTS 6 macro
107 struct ci_ep ep[NUM_ENDPOINTS];
H A Dci_udc.c51 #define ILIST_SZ (NUM_ENDPOINTS * 2 * ILIST_ENT_SZ)
713 for (i = 0; i < NUM_ENDPOINTS; i++) { in handle_setup()
776 for (i = 0; i < NUM_ENDPOINTS; i++) { in stop_activity()
824 for (i = 1; i < NUM_ENDPOINTS; i++) { in udc_irq()
846 for (i = 0; i < NUM_ENDPOINTS && n; i++) { in udc_irq()
917 const int num = 2 * NUM_ENDPOINTS; in ci_udc_probe()
937 for (i = 0; i < 2 * NUM_ENDPOINTS; i++) { in ci_udc_probe()
982 for (i = 4; i < NUM_ENDPOINTS; i++) { in ci_udc_probe()
H A Dat91_udc.c641 for (i = 0; i < NUM_ENDPOINTS; i++) { in udc_reinit()
666 for (i = 0; i < NUM_ENDPOINTS; i++) { in reset_gadget()
691 for (i = 0; i < NUM_ENDPOINTS; i++) { in stop_activity()
979 if (tmp >= NUM_ENDPOINTS || (tmp && !ep->ep.desc)) in handle_setup()
1002 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1021 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1295 for (i = 1; i < NUM_ENDPOINTS; i++) { in at91_udc_irq()
1349 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91sam9260_udc_init()
1389 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91sam9261_udc_init()
1515 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91_udc_probe()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Dat91_udc.h81 #define NUM_ENDPOINTS 6 macro
125 struct at91_ep ep[NUM_ENDPOINTS];
H A Dat91_udc.c832 for (i = 0; i < NUM_ENDPOINTS; i++) { in udc_reinit()
857 for (i = 0; i < NUM_ENDPOINTS; i++) { in reset_gadget()
882 for (i = 0; i < NUM_ENDPOINTS; i++) { in stop_activity()
1175 if (tmp >= NUM_ENDPOINTS || (tmp && !ep->ep.desc)) in handle_setup()
1198 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1217 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1492 for (i = 1; i < NUM_ENDPOINTS; i++) { in at91_udc_irq()
1601 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91rm9200_udc_init()
1656 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91sam9260_udc_init()
1694 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91sam9261_udc_init()
[all …]
H A Dlpc32xx_udc.c55 #define NUM_ENDPOINTS 16 macro
163 struct lpc32xx_ep ep[NUM_ENDPOINTS];
1340 for (i = 1; i < NUM_ENDPOINTS; i++) { in uda_usb_reset()
1384 for (i = 0; i < NUM_ENDPOINTS; i++) { in udc_reinit()
1533 for (i = 0; i < NUM_ENDPOINTS; i++) { in stop_activity()
2154 if ((tmp == 0) || (tmp >= NUM_ENDPOINTS)) in udc_get_status()
2235 (tmp >= NUM_ENDPOINTS)) in udc_handle_ep0_setup()
2793 for (i = 1; i < NUM_ENDPOINTS; i++) { in lpc32xx_usb_hp_irq()
2818 for (i = 1; i < NUM_ENDPOINTS; i++) { in lpc32xx_usb_devdma_irq()
/OK3568_Linux_fs/kernel/drivers/staging/emxx_udc/
H A Demxx_udc.h34 #define NUM_ENDPOINTS 14 /* Endpoint */ macro
529 struct nbu2ss_ep ep[NUM_ENDPOINTS];
H A Demxx_udc.c187 for (num = 0; num < NUM_ENDPOINTS - 1; num++) { in _nbu2ss_get_begin_ram_address()
2392 for (epnum = 0; epnum < NUM_ENDPOINTS; epnum++) { in _nbu2ss_udc_irq()
2967 } ep_info[NUM_ENDPOINTS] = {
3014 for (i = 0; i < NUM_ENDPOINTS; i++) { in nbu2ss_drv_ep_init()
3147 for (i = 0; i < NUM_ENDPOINTS; i++) { in nbu2ss_drv_remove()