Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/serial/
H A Dusbtty.c39 #define NUM_ENDPOINTS 3 macro
67 static struct usb_endpoint_instance endpoint_instance[NUM_ENDPOINTS+1];
104 static struct usb_endpoint_descriptor *ep_descriptor_ptrs[NUM_ENDPOINTS];
153 struct usb_endpoint_descriptor data_endpoints[NUM_ENDPOINTS-1];
283 struct usb_endpoint_descriptor data_endpoints[NUM_ENDPOINTS];
309 .bNumEndpoints = NUM_ENDPOINTS,
674 alternate_instance->endpoints = NUM_ENDPOINTS; in usbtty_init_instances()
687 for (i = 1; i <= NUM_ENDPOINTS; i++) { in usbtty_init_instances()
727 bus_instance->max_endpoints = NUM_ENDPOINTS + 1; in usbtty_init_endpoints()
728 for (i = 1; i <= NUM_ENDPOINTS; i++) { in usbtty_init_endpoints()
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dat91_udc.h81 #define NUM_ENDPOINTS 6 macro
117 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.c50 #define ILIST_SZ (NUM_ENDPOINTS * 2 * ILIST_ENT_SZ)
716 for (i = 0; i < NUM_ENDPOINTS; i++) { in handle_setup()
779 for (i = 0; i < NUM_ENDPOINTS; i++) { in stop_activity()
827 for (i = 1; i < NUM_ENDPOINTS; i++) { in udc_irq()
849 for (i = 0; i < NUM_ENDPOINTS && n; i++) { in udc_irq()
923 const int num = 2 * NUM_ENDPOINTS; in ci_udc_probe()
943 for (i = 0; i < 2 * NUM_ENDPOINTS; i++) { in ci_udc_probe()
988 for (i = 4; i < NUM_ENDPOINTS; i++) { in ci_udc_probe()
H A Dat91_udc.c640 for (i = 0; i < NUM_ENDPOINTS; i++) { in udc_reinit()
665 for (i = 0; i < NUM_ENDPOINTS; i++) { in reset_gadget()
690 for (i = 0; i < NUM_ENDPOINTS; i++) { in stop_activity()
978 if (tmp >= NUM_ENDPOINTS || (tmp && !ep->ep.desc)) in handle_setup()
1001 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1020 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1294 for (i = 1; i < NUM_ENDPOINTS; i++) { in at91_udc_irq()
1348 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91sam9260_udc_init()
1388 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91sam9261_udc_init()
1514 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91_udc_probe()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dat91_udc.h81 #define NUM_ENDPOINTS 6 macro
123 struct at91_ep ep[NUM_ENDPOINTS];
H A Dat91_udc.c834 for (i = 0; i < NUM_ENDPOINTS; i++) { in udc_reinit()
859 for (i = 0; i < NUM_ENDPOINTS; i++) { in reset_gadget()
884 for (i = 0; i < NUM_ENDPOINTS; i++) { in stop_activity()
1177 if (tmp >= NUM_ENDPOINTS || (tmp && !ep->ep.desc)) in handle_setup()
1200 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1219 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1494 for (i = 1; i < NUM_ENDPOINTS; i++) { in at91_udc_irq()
1601 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91rm9200_udc_init()
1644 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91sam9260_udc_init()
1682 for (i = 0; i < NUM_ENDPOINTS; i++) { in at91sam9261_udc_init()
[all …]
H A Dlpc32xx_udc.c55 #define NUM_ENDPOINTS 16 macro
162 struct lpc32xx_ep ep[NUM_ENDPOINTS];
1339 for (i = 1; i < NUM_ENDPOINTS; i++) { in uda_usb_reset()
1383 for (i = 0; i < NUM_ENDPOINTS; i++) { in udc_reinit()
1532 for (i = 0; i < NUM_ENDPOINTS; i++) { in stop_activity()
2155 if ((tmp == 0) || (tmp >= NUM_ENDPOINTS)) in udc_get_status()
2236 (tmp >= NUM_ENDPOINTS)) in udc_handle_ep0_setup()
2794 for (i = 1; i < NUM_ENDPOINTS; i++) { in lpc32xx_usb_hp_irq()
2819 for (i = 1; i < NUM_ENDPOINTS; i++) { in lpc32xx_usb_devdma_irq()
/openbmc/linux/drivers/staging/emxx_udc/
H A Demxx_udc.h32 #define NUM_ENDPOINTS 14 /* Endpoint */ macro
527 struct nbu2ss_ep ep[NUM_ENDPOINTS];
H A Demxx_udc.c189 for (num = 0; num < NUM_ENDPOINTS - 1; num++) { in _nbu2ss_get_begin_ram_address()
2388 for (epnum = 0; epnum < NUM_ENDPOINTS; epnum++) { in _nbu2ss_udc_irq()
2968 } ep_info[NUM_ENDPOINTS] = {
3015 for (i = 0; i < NUM_ENDPOINTS; i++) { in nbu2ss_drv_ep_init()
3148 for (i = 0; i < NUM_ENDPOINTS; i++) { in nbu2ss_drv_remove()