/drivers/usb/storage/ |
H A D | uas-detect.h | 27 struct usb_host_endpoint *eps[]) 39 eps[pipe_id - 1] = &endpoint[i]; 47 if (!eps[0] || !eps[1] || !eps[2] || !eps[3]) 56 struct usb_host_endpoint *eps[4] = { }; local 67 r = uas_find_endpoints(&intf->altsetting[alt], eps); 81 } else if (usb_ss_max_streams(&eps[1]->ss_ep_comp) == 32) { 26 uas_find_endpoints(struct usb_host_interface *alt, struct usb_host_endpoint *eps[]) argument
|
H A D | uas.c | 861 struct usb_host_endpoint *eps[4] = { }; local 865 r = uas_find_endpoints(devinfo->intf->cur_altsetting, eps); 870 usb_endpoint_num(&eps[0]->desc)); 872 usb_endpoint_num(&eps[1]->desc)); 874 usb_endpoint_num(&eps[2]->desc)); 876 usb_endpoint_num(&eps[3]->desc)); 882 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, 895 struct usb_host_endpoint *eps[3]; local 897 eps[0] = usb_pipe_endpoint(udev, devinfo->status_pipe); 898 eps[ [all...] |
/drivers/usb/core/ |
H A D | driver.c | 403 struct usb_host_endpoint *ep, **eps = NULL; local 436 eps = kmalloc(USB_MAXENDPOINTS * sizeof(void *), 438 if (!eps) { 443 eps[j++] = ep; 446 usb_free_streams(intf, eps, j, GFP_KERNEL); 447 kfree(eps);
|
H A D | devio.c | 789 struct usb_host_endpoint **eps; local 805 eps = kmalloc(num_eps * sizeof(*eps), GFP_KERNEL); 806 if (!eps) 810 if (get_user(ep, &streams->eps[i])) { 814 eps[i] = ep_to_host_endpoint(ps->dev, ep); 815 if (!eps[i]) { 833 /* Verify all eps belong to the same interface */ 844 *eps_ret = eps; 850 kfree(eps); 1131 struct usb_host_endpoint **eps; local 2088 struct usb_host_endpoint **eps; local 2108 struct usb_host_endpoint **eps; local [all...] |
H A D | hcd.c | 2037 * @eps: array of endpoints that need streams. 2050 struct usb_host_endpoint **eps, unsigned int num_eps, 2068 if (!usb_endpoint_xfer_bulk(&eps[i]->desc)) 2071 if (eps[i]->streams) 2075 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, 2081 eps[i]->streams = ret; 2090 * @eps: array of endpoints to remove streams from. 2100 struct usb_host_endpoint **eps, unsigned int num_eps, 2114 if (!eps[i] || !eps[ 2049 usb_alloc_streams(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) argument 2099 usb_free_streams(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) argument [all...] |
/drivers/usb/gadget/udc/ |
H A D | atmel_usba_udc.c | 1850 struct usba_ep *eps, *ep; local 1862 eps = devm_kzalloc(&pdev->dev, sizeof(struct usba_ep) * udc->num_ep, 1864 if (!eps) 1867 udc->gadget.ep0 = &eps[0].ep; 1869 INIT_LIST_HEAD(&eps[0].ep.ep_list); 1874 ep = &eps[i]; 1923 return eps; 1939 struct usba_ep *eps; local 1945 eps = devm_kzalloc(&pdev->dev, sizeof(struct usba_ep) * pdata->num_ep, 1947 if (!eps) [all...] |
H A D | mv_u3d.h | 262 struct mv_u3d_ep *eps; member in struct:mv_u3d
|
H A D | mv_udc.h | 190 struct mv_ep *eps; member in struct:mv_udc
|
H A D | pxa27x_udc.c | 256 struct dentry *root, *state, *queues, *eps; local 270 eps = debugfs_create_file("epstate", 0400, root, udc, 272 if (!eps) 278 udc->debugfs_eps = eps; 281 debugfs_remove(eps);
|
H A D | fsl_qe_udc.h | 323 struct qe_ep eps[USB_MAX_ENDPOINTS]; member in struct:qe_udc
|
H A D | fsl_usb2_udc.h | 481 struct fsl_ep *eps; member in struct:fsl_udc 579 #define get_ep_by_pipe(udc, pipe) ((pipe == 1)? &udc->eps[0]: \ 580 &udc->eps[pipe])
|
/drivers/usb/dwc2/ |
H A D | core.h | 180 * @eps: The endpoints being supplied to the gadget framework 215 struct s3c_hsotg_ep *eps; member in struct:s3c_hsotg 567 * @periodic_qh_count: Count of periodic QHs, if using several eps. Used for
|
H A D | gadget.c | 820 struct s3c_hsotg_ep *ep = &hsotg->eps[windex & 0x7F]; 890 struct s3c_hsotg_ep *ep0 = &hsotg->eps[0]; 961 struct s3c_hsotg_ep *ep0 = &hsotg->eps[0]; 1042 struct s3c_hsotg_ep *ep0 = &hsotg->eps[0]; 1082 struct s3c_hsotg_ep *ep0 = &hsotg->eps[0]; 1204 hsotg->eps[0].dir_in = 0; 1206 ret = s3c_hsotg_ep_queue(&hsotg->eps[0].ep, req, GFP_ATOMIC); 1296 struct s3c_hsotg_ep *hs_ep = &hsotg->eps[ep_idx]; 1370 hsotg->eps[0].sent_zlp = 1; 1375 hsotg->eps[ 3416 struct s3c_hsotg_ep *eps; local [all...] |
/drivers/usb/gadget/function/ |
H A D | f_fs.c | 68 struct ffs_ep *eps; member in struct:ffs_function 1622 struct ffs_ep *ep = func->eps; 1643 struct ffs_ep *ep = func->eps; 2480 ffs_ep = func->eps + idx; 2509 ep->driver_data = func->eps + idx; 2570 if (unlikely(!func->eps[idx].ep)) 2575 descs = func->eps[idx].descs; 2728 vla_item_with_sz(d, struct ffs_ep, eps, ffs->eps_count); 2776 ptr = vla_ptr(vlabuf, d, eps); 2781 * d_eps == vlabuf, func->eps use [all...] |
/drivers/usb/host/ |
H A D | xhci.c | 1398 if (xhci->devs[slot_id]->eps[ep_index].ep_state & 1403 } else if (xhci->devs[slot_id]->eps[ep_index].ep_state & 1464 ep = &xhci->devs[slot_id]->eps[ep_index]; 1574 ep = &xhci->devs[urb->dev->slot_id]->eps[ep_index]; 1760 if (virt_dev->eps[ep_index].ring && 2557 memcpy(&ep_bw_info[i], &virt_dev->eps[i].bw_info, 2564 &virt_dev->eps[i].bw_info, 2567 &virt_dev->eps[i], 2576 &virt_dev->eps[i].bw_info, 2579 &virt_dev->eps[ 3050 xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int *num_streams, u32 *changed_ep_bitmask) argument 3082 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps) argument 3139 xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) argument 3300 xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) argument [all...] |
H A D | xhci.h | 938 struct xhci_virt_ep eps[31]; member in struct:xhci_virt_device 1766 struct usb_host_endpoint **eps, unsigned int num_eps, 1769 struct usb_host_endpoint **eps, unsigned int num_eps,
|
/drivers/usb/dwc3/ |
H A D | core.h | 693 struct dwc3_ep *eps[DWC3_ENDPOINTS_NUM]; member in struct:dwc3
|