Searched refs:num_endpoints (Results 1 – 4 of 4) sorted by relevance
1221 unsigned int num_endpoints; in hdm_probe() local1239 num_endpoints = usb_iface_desc->desc.bNumEndpoints; in hdm_probe()1255 mdev->iface.num_channels = num_endpoints; in hdm_probe()1264 mdev->conf = kcalloc(num_endpoints, sizeof(*mdev->conf), GFP_KERNEL); in hdm_probe()1268 mdev->cap = kcalloc(num_endpoints, sizeof(*mdev->cap), GFP_KERNEL); in hdm_probe()1276 kcalloc(num_endpoints, sizeof(*mdev->ep_address), GFP_KERNEL); in hdm_probe()1281 kcalloc(num_endpoints, sizeof(*mdev->anchor_list), GFP_KERNEL); in hdm_probe()1286 for (i = 0; i < num_endpoints; i++) { in hdm_probe()
673 int num_endpoints; in sasem_probe() local686 num_endpoints = iface_desc->desc.bNumEndpoints; in sasem_probe()697 for (i = 0; i < num_endpoints && !(ir_ep_found && vfd_ep_found); ++i) { in sasem_probe()
203 int num_endpoints; member1881 endp_number = ++u132->num_endpoints; in create_endpoint_and_queue_int()1980 endp_number = ++u132->num_endpoints; in create_endpoint_and_queue_bulk()2076 endp_number = ++u132->num_endpoints; in create_endpoint_and_queue_control()2295 } else if (u132->num_endpoints == MAX_U132_ENDPS) { in u132_urb_enqueue()2335 } else if (u132->num_endpoints == MAX_U132_ENDPS) { in u132_urb_enqueue()2383 } else if (u132->num_endpoints == MAX_U132_ENDPS) { in u132_urb_enqueue()
1633 unsigned num_endpoints; in ftdi_set_max_packet_size() local1636 num_endpoints = interface->cur_altsetting->desc.bNumEndpoints; in ftdi_set_max_packet_size()1637 if (!num_endpoints) in ftdi_set_max_packet_size()1646 for (i = 0; i < num_endpoints; i++) { in ftdi_set_max_packet_size()