/Linux-v4.19/drivers/usb/storage/ |
D | uas-detect.h | 29 struct usb_host_endpoint *eps[]) in uas_find_endpoints() argument 41 eps[pipe_id - 1] = &endpoint[i]; in uas_find_endpoints() 49 if (!eps[0] || !eps[1] || !eps[2] || !eps[3]) in uas_find_endpoints() 59 struct usb_host_endpoint *eps[4] = { }; in uas_use_uas_driver() local 70 r = uas_find_endpoints(alt, eps); in uas_use_uas_driver() 106 } else if (usb_ss_max_streams(&eps[1]->ss_ep_comp) == 32) { in uas_use_uas_driver()
|
D | uas.c | 915 struct usb_host_endpoint *eps[4] = { }; in uas_configure_endpoints() local 919 r = uas_find_endpoints(devinfo->intf->cur_altsetting, eps); in uas_configure_endpoints() 924 usb_endpoint_num(&eps[0]->desc)); in uas_configure_endpoints() 926 usb_endpoint_num(&eps[1]->desc)); in uas_configure_endpoints() 928 usb_endpoint_num(&eps[2]->desc)); in uas_configure_endpoints() 930 usb_endpoint_num(&eps[3]->desc)); in uas_configure_endpoints() 936 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints() 949 struct usb_host_endpoint *eps[3]; in uas_free_streams() local 951 eps[0] = usb_pipe_endpoint(udev, devinfo->status_pipe); in uas_free_streams() 952 eps[1] = usb_pipe_endpoint(udev, devinfo->data_in_pipe); in uas_free_streams() [all …]
|
/Linux-v4.19/drivers/usb/host/ |
D | xhci.c | 1423 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue() 1577 ep = &vdev->eps[ep_index]; in xhci_urb_dequeue() 1723 if (xhci->devs[udev->slot_id]->eps[ep_index].ring != NULL) in xhci_drop_endpoint() 1809 if (virt_dev->eps[ep_index].ring && in xhci_add_endpoint() 1840 xhci_ring_free(xhci, virt_dev->eps[ep_index].new_ring); in xhci_add_endpoint() 1841 virt_dev->eps[ep_index].new_ring = NULL; in xhci_add_endpoint() 2616 memcpy(&ep_bw_info[i], &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth() 2623 &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth() 2626 &virt_dev->eps[i], in xhci_reserve_bandwidth() 2635 &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth() [all …]
|
D | xhci-debugfs.c | 443 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint() 452 &dev->eps[ep_index].ring, in xhci_debugfs_create_endpoint() 455 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint() 465 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint() 468 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint() 470 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint() 488 xhci_debugfs_create_ring_dir(xhci, &dev->eps[0].ring, in xhci_debugfs_create_slot() 508 kfree(priv->eps[i]); in xhci_debugfs_remove_slot()
|
D | xhci-dbgcap.h | 151 struct dbc_ep eps[2]; member 185 return &dbc->eps[BULK_IN]; in get_in_ep() 192 return &dbc->eps[BULK_OUT]; in get_out_ep()
|
D | xhci-mem.c | 406 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_endpoint_ring() 407 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring() 591 struct xhci_virt_ep *ep = &dev->eps[ep_index]; in xhci_stream_id_to_ring() 899 if (dev->eps[i].ring) in xhci_free_virt_device() 900 xhci_ring_free(xhci, dev->eps[i].ring); in xhci_free_virt_device() 901 if (dev->eps[i].stream_info) in xhci_free_virt_device() 903 dev->eps[i].stream_info); in xhci_free_virt_device() 909 if (!list_empty(&dev->eps[i].bw_endpoint_list)) in xhci_free_virt_device() 1006 xhci_init_endpoint_timer(xhci, &dev->eps[i]); in xhci_alloc_virt_device() 1007 INIT_LIST_HEAD(&dev->eps[i].cancelled_td_list); in xhci_alloc_virt_device() [all …]
|
D | xhci-ring.c | 392 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell() 418 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings() 446 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_triad_to_transfer_ring() 486 ep = &vdev->eps[ep_index]; in xhci_get_hw_deq() 520 struct xhci_virt_ep *ep = &dev->eps[ep_index]; in xhci_find_new_dequeue_state() 716 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_handle_cmd_stop_ep() 851 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_kill_endpoint_urbs() 994 while (ep_ring->dequeue != dev->eps[ep_index].queued_deq_ptr) { in update_ring_for_set_deq_completion() 1000 dev->eps[ep_index].queued_deq_ptr) in update_ring_for_set_deq_completion() 1038 ep = &dev->eps[ep_index]; in xhci_handle_cmd_set_deq() [all …]
|
D | xhci-debugfs.h | 100 struct xhci_ep_priv *eps[31]; member
|
D | xhci-dbgcap.c | 186 xhci_dbc_flush_endpoint_requests(&dbc->eps[BULK_OUT]); in xhci_dbc_flush_reqests() 187 xhci_dbc_flush_endpoint_requests(&dbc->eps[BULK_IN]); in xhci_dbc_flush_reqests() 353 dep = &dbc->eps[direction]; in xhci_dbc_do_eps_init() 371 memset(dbc->eps, 0, sizeof(struct dbc_ep) * ARRAY_SIZE(dbc->eps)); in xhci_dbc_eps_exit()
|
/Linux-v4.19/drivers/usb/dwc3/ |
D | ep0.c | 117 __dwc3_ep0_do_control_data(dwc, dwc->eps[direction], req); in __dwc3_gadget_ep0_queue() 137 __dwc3_ep0_do_control_status(dwc, dwc->eps[direction]); in __dwc3_gadget_ep0_queue() 180 __dwc3_ep0_do_control_data(dwc, dwc->eps[direction], req); in __dwc3_gadget_ep0_queue() 226 dep = dwc->eps[1]; in dwc3_ep0_stall_and_restart() 230 dep = dwc->eps[0]; in dwc3_ep0_stall_and_restart() 277 dep = dwc->eps[0]; in dwc3_ep0_out_start() 294 dep = dwc->eps[epnum]; in dwc3_wIndex_to_dep() 363 dep = dwc->eps[0]; in dwc3_ep0_handle_status() 715 dep = dwc->eps[0]; in dwc3_ep0_set_sel() 825 ep0 = dwc->eps[0]; in dwc3_ep0_complete_data() [all …]
|
D | gadget.c | 527 struct dwc3_ep *dep = dwc->eps[i]; in dwc3_gadget_start_config() 1850 dep = dwc->eps[0]; in __dwc3_gadget_start() 1857 dep = dwc->eps[1]; in __dwc3_gadget_start() 1873 __dwc3_gadget_ep_disable(dwc->eps[0]); in __dwc3_gadget_start() 1925 __dwc3_gadget_ep_disable(dwc->eps[0]); in __dwc3_gadget_stop() 1926 __dwc3_gadget_ep_disable(dwc->eps[1]); in __dwc3_gadget_stop() 1944 struct dwc3_ep *dep = dwc->eps[epnum]; in dwc3_gadget_stop() 2146 dwc->eps[epnum] = dep; in dwc3_gadget_init_endpoint() 2202 dep = dwc->eps[epnum]; in dwc3_gadget_free_endpoints() 2408 dep = dwc->eps[i]; in dwc3_gadget_endpoint_transfer_in_progress() [all …]
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.c | 179 qe_eptx_stall_change(&udc->eps[0], 1); in qe_ep0_stall() 180 qe_eprx_stall_change(&udc->eps[0], 1); in qe_ep0_stall() 286 ep = &udc->eps[pipe_num]; in qe_epbds_reset() 316 ep = &udc->eps[pipe_num]; in qe_ep_reset() 349 struct qe_ep *ep = &udc->eps[pipe_num]; in qe_ep_bd_init() 469 struct qe_ep *ep = &udc->eps[pipe_num]; in qe_ep_register_init() 524 struct qe_ep *ep = &udc->eps[pipe_num]; in qe_ep_init() 786 struct qe_ep *ep = &udc->eps[0]; in ep0_setup_handle() 810 struct qe_ep *ep = &udc->eps[0]; in qe_ep0_rx() 939 ep = &udc->eps[i]; in ep_rx_tasklet() [all …]
|
D | mv_u3d_core.c | 57 ep = &u3d->eps[i]; in mv_u3d_ep0_reset() 134 u3d->eps[index].name); in mv_u3d_process_ep_req() 922 struct mv_u3d_ep *ep = u3d->eps; in mv_u3d_ep_set_stall() 1308 ep = &u3d->eps[1]; in mv_u3d_eps_init() 1329 ep = &u3d->eps[i]; in mv_u3d_eps_init() 1381 mv_u3d_nuke(&u3d->eps[1], -ESHUTDOWN); in mv_u3d_stop_activity() 1519 mv_u3d_nuke(&u3d->eps[ep_num * 2 + MV_U3D_EP_DIR_IN], -ESHUTDOWN); in mv_u3d_handle_setup_packet() 1636 curr_ep = &u3d->eps[1]; in mv_u3d_irq_process_tr_complete() 1638 curr_ep = &u3d->eps[i]; in mv_u3d_irq_process_tr_complete() 1764 kfree(u3d->eps); in mv_u3d_remove() [all …]
|
D | fsl_usb2_udc.h | 477 struct fsl_ep *eps; member 575 #define get_ep_by_pipe(udc, pipe) ((pipe == 1)? &udc->eps[0]: \ 576 &udc->eps[pipe])
|
D | mv_udc_core.c | 78 ep = &udc->eps[i]; in ep0_reset() 142 udc->eps[index].name); in process_ep_req() 1243 ep = &udc->eps[0]; in eps_init() 1262 ep = &udc->eps[i]; in eps_init() 1314 nuke(&udc->eps[0], -ESHUTDOWN); in gadget_reset() 1332 nuke(&udc->eps[0], -ESHUTDOWN); in stop_activity() 1448 ep = &udc->eps[0]; in udc_prime_status() 1585 ep = &udc->eps[ep_num * 2 + direction]; in ch9clearfeature() 1663 nuke(&udc->eps[ep_num * 2 + EP_DIR_OUT], -ESHUTDOWN); in handle_setup_packet() 1832 curr_ep = &udc->eps[0]; in irq_process_tr_complete() [all …]
|
D | fsl_udc_core.c | 1280 ep = &udc->eps[0]; in ep0_prime_status() 1338 ep = &udc->eps[0]; in ch9getstatus() 2002 nuke(&udc_controller->eps[0], -ESHUTDOWN); in fsl_udc_stop() 2170 ep = &udc->eps[0]; in fsl_proc_read() 2249 udc->eps = kcalloc(udc->max_ep, sizeof(struct fsl_ep), GFP_KERNEL); in struct_udc_setup() 2250 if (!udc->eps) in struct_udc_setup() 2265 kfree(udc->eps); in struct_udc_setup() 2295 struct fsl_ep *ep = &udc->eps[index]; in struct_ep_setup() 2455 udc_controller->gadget.ep0 = &udc_controller->eps[0].ep; in fsl_udc_probe() 2475 udc_controller->eps[0].ep.desc = &fsl_ep0_desc; in fsl_udc_probe() [all …]
|
/Linux-v4.19/drivers/usb/core/ |
D | devio.c | 885 struct usb_host_endpoint **eps; in parse_usbdevfs_streams() local 901 eps = kmalloc_array(num_eps, sizeof(*eps), GFP_KERNEL); in parse_usbdevfs_streams() 902 if (!eps) in parse_usbdevfs_streams() 906 if (get_user(ep, &streams->eps[i])) { in parse_usbdevfs_streams() 910 eps[i] = ep_to_host_endpoint(ps->dev, ep); in parse_usbdevfs_streams() 911 if (!eps[i]) { in parse_usbdevfs_streams() 940 *eps_ret = eps; in parse_usbdevfs_streams() 946 kfree(eps); in parse_usbdevfs_streams() 1227 struct usb_host_endpoint **eps; in check_reset_of_active_ep() local 1230 eps = (epnum & USB_DIR_IN) ? udev->ep_in : udev->ep_out; in check_reset_of_active_ep() [all …]
|
D | driver.c | 397 struct usb_host_endpoint *ep, **eps = NULL; in usb_unbind_interface() local 431 eps = kmalloc_array(USB_MAXENDPOINTS, sizeof(void *), in usb_unbind_interface() 433 if (!eps) in usb_unbind_interface() 436 eps[j++] = ep; in usb_unbind_interface() 439 usb_free_streams(intf, eps, j, GFP_KERNEL); in usb_unbind_interface() 440 kfree(eps); in usb_unbind_interface()
|
D | hcd.c | 2135 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_alloc_streams() argument 2153 if (!usb_endpoint_xfer_bulk(&eps[i]->desc)) in usb_alloc_streams() 2156 if (eps[i]->streams) in usb_alloc_streams() 2160 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, in usb_alloc_streams() 2166 eps[i]->streams = ret; in usb_alloc_streams() 2185 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_free_streams() argument 2199 if (!eps[i] || !eps[i]->streams) in usb_free_streams() 2202 ret = hcd->driver->free_streams(hcd, dev, eps, num_eps, mem_flags); in usb_free_streams() 2207 eps[i]->streams = 0; in usb_free_streams()
|
/Linux-v4.19/Documentation/devicetree/bindings/usb/ |
D | am33xx-usb.txt | 41 - mentor,num-eps: Specifies the number of endpoints. This is also a 111 mentor,num-eps = <16>; 157 mentor,num-eps = <16>;
|
D | omap-usb.txt | 8 - num-eps : Specifies the number of endpoints. This is also a 32 num-eps = <16>;
|
/Linux-v4.19/Documentation/driver-api/usb/ |
D | bulk-streams.rst | 34 struct usb_host_endpoint **eps, unsigned int num_eps, 79 struct usb_host_endpoint **eps, unsigned int num_eps,
|
/Linux-v4.19/include/linux/ |
D | usb.h | 832 struct usb_host_endpoint **eps, unsigned int num_eps, 837 struct usb_host_endpoint **eps, unsigned int num_eps, 1947 struct usb_host_endpoint **eps; in usb_pipe_endpoint() local 1948 eps = usb_pipein(pipe) ? dev->ep_in : dev->ep_out; in usb_pipe_endpoint() 1949 return eps[usb_pipeendpoint(pipe)]; in usb_pipe_endpoint()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_fs.c | 68 struct ffs_ep *eps; member 1850 struct ffs_ep *ep = func->eps; in ffs_func_eps_disable() 1874 struct ffs_ep *ep = func->eps; in ffs_func_eps_enable() 2743 ffs_ep = func->eps + idx; in __ffs_func_bind_do_descs() 2772 ep->driver_data = func->eps + idx; in __ffs_func_bind_do_descs() 2833 if (unlikely(!func->eps[idx].ep)) in __ffs_func_bind_do_nums() 2838 descs = func->eps[idx].descs; in __ffs_func_bind_do_nums() 2990 vla_item_with_sz(d, struct ffs_ep, eps, ffs->eps_count); in _ffs_func_bind() 3035 eps_ptr = vla_ptr(vlabuf, d, eps); in _ffs_func_bind() 3042 func->eps = vla_ptr(vlabuf, d, eps); in _ffs_func_bind() [all …]
|
/Linux-v4.19/include/uapi/linux/ |
D | usbdevice_fs.h | 157 unsigned char eps[0]; member
|