Searched refs:num_endpoints (Results 1 – 4 of 4) sorted by relevance
1038 unsigned int num_endpoints; in hdm_probe() local1047 num_endpoints = usb_iface_desc->desc.bNumEndpoints; in hdm_probe()1065 mdev->iface.num_channels = num_endpoints; in hdm_probe()1074 mdev->conf = kcalloc(num_endpoints, sizeof(*mdev->conf), GFP_KERNEL); in hdm_probe()1078 mdev->cap = kcalloc(num_endpoints, sizeof(*mdev->cap), GFP_KERNEL); in hdm_probe()1084 kcalloc(num_endpoints, sizeof(*mdev->ep_address), GFP_KERNEL); in hdm_probe()1089 kcalloc(num_endpoints, sizeof(*mdev->busy_urbs), GFP_KERNEL); in hdm_probe()1094 for (i = 0; i < num_endpoints; i++) { in hdm_probe()
199 int num_endpoints; member1873 endp_number = ++u132->num_endpoints; in create_endpoint_and_queue_int()1972 endp_number = ++u132->num_endpoints; in create_endpoint_and_queue_bulk()2068 endp_number = ++u132->num_endpoints; in create_endpoint_and_queue_control()2287 } else if (u132->num_endpoints == MAX_U132_ENDPS) { in u132_urb_enqueue()2327 } else if (u132->num_endpoints == MAX_U132_ENDPS) { in u132_urb_enqueue()2375 } else if (u132->num_endpoints == MAX_U132_ENDPS) { in u132_urb_enqueue()
518 int num_endpoints; in ti_startup() local554 num_endpoints = cur_altsetting->desc.bNumEndpoints; in ti_startup()557 if (dev->descriptor.bNumConfigurations == 1 && num_endpoints == 1) { in ti_startup()
1628 unsigned num_endpoints; in ftdi_set_max_packet_size() local1631 num_endpoints = interface->cur_altsetting->desc.bNumEndpoints; in ftdi_set_max_packet_size()1632 if (!num_endpoints) in ftdi_set_max_packet_size()1641 for (i = 0; i < num_endpoints; i++) { in ftdi_set_max_packet_size()