Searched refs:num_endpoints (Results 1 – 4 of 4) sorted by relevance
1045 unsigned int num_endpoints; in hdm_probe() local1054 num_endpoints = usb_iface_desc->desc.bNumEndpoints; in hdm_probe()1072 mdev->iface.num_channels = num_endpoints; in hdm_probe()1081 mdev->conf = kcalloc(num_endpoints, sizeof(*mdev->conf), GFP_KERNEL); in hdm_probe()1085 mdev->cap = kcalloc(num_endpoints, sizeof(*mdev->cap), GFP_KERNEL); in hdm_probe()1091 kcalloc(num_endpoints, sizeof(*mdev->ep_address), GFP_KERNEL); in hdm_probe()1096 kcalloc(num_endpoints, sizeof(*mdev->busy_urbs), GFP_KERNEL); in hdm_probe()1101 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()
1644 unsigned num_endpoints; in ftdi_set_max_packet_size() local1647 num_endpoints = interface->cur_altsetting->desc.bNumEndpoints; in ftdi_set_max_packet_size()1648 if (!num_endpoints) in ftdi_set_max_packet_size()1657 for (i = 0; i < num_endpoints; i++) { in ftdi_set_max_packet_size()