Searched refs:num_ep (Results 1 – 4 of 4) sorted by relevance
/drivers/usb/core/ |
D | config.c | 256 struct usb_host_interface *ifp, int num_ep, in usb_parse_endpoint() argument 290 if (ifp->desc.bNumEndpoints >= num_ep) in usb_parse_endpoint() 502 int num_ep, num_ep_orig; in usb_parse_interface() local 552 num_ep = num_ep_orig = alt->desc.bNumEndpoints; in usb_parse_interface() 554 if (num_ep > USB_MAXENDPOINTS) { in usb_parse_interface() 557 cfgno, inum, asnum, num_ep, USB_MAXENDPOINTS); in usb_parse_interface() 558 num_ep = USB_MAXENDPOINTS; in usb_parse_interface() 561 if (num_ep > 0) { in usb_parse_interface() 563 len = sizeof(struct usb_host_endpoint) * num_ep; in usb_parse_interface() 576 alt, num_ep, buffer, size); in usb_parse_interface()
|
/drivers/media/platform/ |
D | renesas-ceu.c | 1542 int num_ep; in ceu_parse_dt() local 1545 num_ep = of_graph_get_endpoint_count(of); in ceu_parse_dt() 1546 if (!num_ep) in ceu_parse_dt() 1549 ret = ceu_init_async_subdevs(ceudev, num_ep); in ceu_parse_dt() 1553 for (i = 0; i < num_ep; i++) { in ceu_parse_dt() 1599 return num_ep; in ceu_parse_dt()
|
/drivers/usb/gadget/udc/ |
D | atmel_usba_udc.c | 1781 for (i = 0; i < udc->num_ep; i++) in usba_udc_irq() 1840 n = fifo_mode ? udc->num_ep : udc->configured_ep; in usba_udc_irq() 2077 udc->num_ep = 0; in atmel_udc_of_init() 2085 udc->num_ep++; in atmel_udc_of_init() 2088 udc->num_ep = usba_config_fifo_table(udc); in atmel_udc_of_init() 2091 eps = devm_kcalloc(&pdev->dev, udc->num_ep, sizeof(struct usba_ep), in atmel_udc_of_init() 2102 while ((pp = of_get_next_child(np, pp)) && i < udc->num_ep) { in atmel_udc_of_init() 2295 for (i = 1; i < udc->num_ep; i++) in usba_udc_probe() 2311 for (i = 1; i < udc->num_ep; i++) in usba_udc_remove()
|
D | atmel_usba_udc.h | 326 int num_ep; member
|