Home
last modified time | relevance | path

Searched refs:eps (Results 1 - 25 of 112) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/usb/storage/
H A Duas-detect.h29 struct usb_host_endpoint *eps[]) in uas_find_endpoints()
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()
28 uas_find_endpoints(struct usb_host_interface *alt, struct usb_host_endpoint *eps[]) uas_find_endpoints() argument
H A Duas.c948 struct usb_host_endpoint *eps[4] = { }; in uas_configure_endpoints() local
952 r = uas_find_endpoints(devinfo->intf->cur_altsetting, eps); in uas_configure_endpoints()
957 usb_endpoint_num(&eps[0]->desc)); in uas_configure_endpoints()
959 usb_endpoint_num(&eps[1]->desc)); in uas_configure_endpoints()
961 usb_endpoint_num(&eps[2]->desc)); in uas_configure_endpoints()
963 usb_endpoint_num(&eps[3]->desc)); in uas_configure_endpoints()
969 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints()
982 struct usb_host_endpoint *eps[3]; in uas_free_streams() local
984 eps[0] = usb_pipe_endpoint(udev, devinfo->status_pipe); in uas_free_streams()
985 eps[ in uas_free_streams()
[all...]
/kernel/linux/linux-6.6/drivers/usb/storage/
H A Duas-detect.h29 struct usb_host_endpoint *eps[]) in uas_find_endpoints()
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()
28 uas_find_endpoints(struct usb_host_interface *alt, struct usb_host_endpoint *eps[]) uas_find_endpoints() argument
H A Duas.c950 struct usb_host_endpoint *eps[4] = { }; in uas_configure_endpoints() local
954 r = uas_find_endpoints(devinfo->intf->cur_altsetting, eps); in uas_configure_endpoints()
959 usb_endpoint_num(&eps[0]->desc)); in uas_configure_endpoints()
961 usb_endpoint_num(&eps[1]->desc)); in uas_configure_endpoints()
963 usb_endpoint_num(&eps[2]->desc)); in uas_configure_endpoints()
965 usb_endpoint_num(&eps[3]->desc)); in uas_configure_endpoints()
971 devinfo->qdepth = usb_alloc_streams(devinfo->intf, eps + 1, in uas_configure_endpoints()
984 struct usb_host_endpoint *eps[3]; in uas_free_streams() local
986 eps[0] = usb_pipe_endpoint(udev, devinfo->status_pipe); in uas_free_streams()
987 eps[ in uas_free_streams()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
H A Draw_gadget.c179 struct raw_ep eps[USB_RAW_EPS_NUM_MAX]; member
219 if (dev->eps[i].state == STATE_EP_DISABLED) in dev_free()
221 usb_ep_disable(dev->eps[i].ep); in dev_free()
222 usb_ep_free_request(dev->eps[i].ep, dev->eps[i].req); in dev_free()
223 kfree(dev->eps[i].ep->desc); in dev_free()
224 dev->eps[i].state = STATE_EP_DISABLED; in dev_free()
304 dev->eps[i].ep = ep; in gadget_bind()
305 dev->eps[i].addr = get_ep_addr(ep->name); in gadget_bind()
306 dev->eps[ in gadget_bind()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/legacy/
H A Draw_gadget.c180 struct raw_ep eps[USB_RAW_EPS_NUM_MAX]; member
220 if (dev->eps[i].state == STATE_EP_DISABLED) in dev_free()
222 usb_ep_disable(dev->eps[i].ep); in dev_free()
223 usb_ep_free_request(dev->eps[i].ep, dev->eps[i].req); in dev_free()
224 kfree(dev->eps[i].ep->desc); in dev_free()
225 dev->eps[i].state = STATE_EP_DISABLED; in dev_free()
305 dev->eps[i].ep = ep; in gadget_bind()
306 dev->eps[i].addr = get_ep_addr(ep->name); in gadget_bind()
307 dev->eps[ in gadget_bind()
[all...]
/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A Dep0.c117 __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()
280 dep = dwc->eps[0]; in dwc3_ep0_out_start()
297 dep = dwc->eps[epnum]; in dwc3_wIndex_to_dep()
369 dep = dwc->eps[0]; in dwc3_ep0_handle_status()
733 dep = dwc->eps[0]; in dwc3_ep0_set_sel()
843 ep0 = dwc->eps[ in dwc3_ep0_complete_data()
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Ddcdbas.c509 struct smm_eps_table *eps = (struct smm_eps_table *)addr; in check_eps_table() local
511 if (strncmp(eps->smm_comm_buff_anchor, SMM_EPS_SIG, 4) != 0) in check_eps_table()
514 if (checksum(addr, eps->length) != 0) in check_eps_table()
517 return eps; in check_eps_table()
524 struct smm_eps_table *eps = NULL; in dcdbas_check_wsmt() local
553 eps = check_eps_table(addr); in dcdbas_check_wsmt()
554 if (eps) in dcdbas_check_wsmt()
558 if (!eps) { in dcdbas_check_wsmt()
562 bios_buf_paddr = eps->smm_comm_buff_addr; in dcdbas_check_wsmt()
563 remap_size = eps in dcdbas_check_wsmt()
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/dell/
H A Ddcdbas.c521 struct smm_eps_table *eps = (struct smm_eps_table *)addr; in check_eps_table() local
523 if (strncmp(eps->smm_comm_buff_anchor, SMM_EPS_SIG, 4) != 0) in check_eps_table()
526 if (checksum(addr, eps->length) != 0) in check_eps_table()
529 return eps; in check_eps_table()
536 struct smm_eps_table *eps = NULL; in dcdbas_check_wsmt() local
565 eps = check_eps_table(addr); in dcdbas_check_wsmt()
566 if (eps) in dcdbas_check_wsmt()
570 if (!eps) { in dcdbas_check_wsmt()
574 bios_buf_paddr = eps->smm_comm_buff_addr; in dcdbas_check_wsmt()
575 remap_size = eps in dcdbas_check_wsmt()
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci.c1523 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1680 ep = &vdev->eps[ep_index]; in xhci_urb_dequeue()
1826 if (xhci->devs[udev->slot_id]->eps[ep_index].ring != NULL) in xhci_drop_endpoint()
1913 if (virt_dev->eps[ep_index].ring && in xhci_add_endpoint()
1944 xhci_ring_free(xhci, virt_dev->eps[ep_index].new_ring); in xhci_add_endpoint()
1945 virt_dev->eps[ep_index].new_ring = NULL; in xhci_add_endpoint()
2721 memcpy(&ep_bw_info[i], &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2728 &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2731 &virt_dev->eps[i], in xhci_reserve_bandwidth()
2740 &virt_dev->eps[ in xhci_reserve_bandwidth()
3373 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) xhci_calculate_streams_and_bitmask() argument
3405 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps) xhci_calculate_no_streams_bitmask() argument
3462 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) xhci_alloc_streams() argument
3629 xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) xhci_free_streams() argument
[all...]
H A Dxhci-debugfs.c454 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint()
461 epriv->show_ring = dev->eps[ep_index].ring; in xhci_debugfs_create_endpoint()
468 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint()
478 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint()
481 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint()
483 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint()
574 if (!spriv || !spriv->eps[ep_index] || in xhci_debugfs_create_stream_files()
575 !dev->eps[ep_index].stream_info) in xhci_debugfs_create_stream_files()
578 epriv = spriv->eps[ep_index]; in xhci_debugfs_create_stream_files()
579 epriv->stream_info = dev->eps[ep_inde in xhci_debugfs_create_stream_files()
[all...]
H A Dxhci-dbgcap.h138 struct dbc_ep eps[2]; member
188 return &dbc->eps[BULK_IN]; in get_in_ep()
193 return &dbc->eps[BULK_OUT]; in get_out_ep()
H A Dxhci-mem.c415 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_endpoint_ring()
416 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring()
600 struct xhci_virt_ep *ep = &dev->eps[ep_index]; in xhci_stream_id_to_ring()
913 if (dev->eps[i].ring) in xhci_free_virt_device()
914 xhci_ring_free(xhci, dev->eps[i].ring); in xhci_free_virt_device()
915 if (dev->eps[i].stream_info) in xhci_free_virt_device()
917 dev->eps[i].stream_info); in xhci_free_virt_device()
926 if (!list_empty(&dev->eps[i].bw_endpoint_list)) { in xhci_free_virt_device()
927 list_del_init(&dev->eps[i].bw_endpoint_list); in xhci_free_virt_device()
1026 dev->eps[ in xhci_alloc_virt_device()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Dep0.c119 __dwc3_ep0_do_control_data(dwc, dwc->eps[direction], req); in __dwc3_gadget_ep0_queue()
139 __dwc3_ep0_do_control_status(dwc, dwc->eps[direction]); in __dwc3_gadget_ep0_queue()
182 __dwc3_ep0_do_control_data(dwc, dwc->eps[direction], req); in __dwc3_gadget_ep0_queue()
228 dep = dwc->eps[1]; in dwc3_ep0_stall_and_restart()
232 dep = dwc->eps[0]; in dwc3_ep0_stall_and_restart()
247 dwc->eps[0]->trb_enqueue = 0; in dwc3_ep0_stall_and_restart()
248 dwc->eps[1]->trb_enqueue = 0; in dwc3_ep0_stall_and_restart()
285 dep = dwc->eps[0]; in dwc3_ep0_out_start()
293 dwc3_ep = dwc->eps[i]; in dwc3_ep0_out_start()
318 dep = dwc->eps[epnu in dwc3_wIndex_to_dep()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-debugfs.c454 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint()
461 epriv->show_ring = dev->eps[ep_index].ring; in xhci_debugfs_create_endpoint()
468 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint()
478 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint()
481 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint()
483 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint()
574 if (!spriv || !spriv->eps[ep_index] || in xhci_debugfs_create_stream_files()
575 !dev->eps[ep_index].stream_info) in xhci_debugfs_create_stream_files()
578 epriv = spriv->eps[ep_index]; in xhci_debugfs_create_stream_files()
579 epriv->stream_info = dev->eps[ep_inde in xhci_debugfs_create_stream_files()
[all...]
H A Dxhci.c1512 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1667 ep = &vdev->eps[ep_index]; in xhci_urb_dequeue()
1815 if (xhci->devs[udev->slot_id]->eps[ep_index].ring != NULL) in xhci_drop_endpoint()
1900 if (virt_dev->eps[ep_index].ring && in xhci_add_endpoint()
2693 memcpy(&ep_bw_info[i], &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2700 &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2703 &virt_dev->eps[i], in xhci_reserve_bandwidth()
2712 &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2715 &virt_dev->eps[i], in xhci_reserve_bandwidth()
2737 &virt_dev->eps[ in xhci_reserve_bandwidth()
3265 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) xhci_calculate_streams_and_bitmask() argument
3297 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps) xhci_calculate_no_streams_bitmask() argument
3354 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) xhci_alloc_streams() argument
3521 xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) xhci_free_streams() argument
[all...]
H A Dxhci-dbgcap.h143 struct dbc_ep eps[2]; member
193 return &dbc->eps[BULK_IN]; in get_in_ep()
198 return &dbc->eps[BULK_OUT]; in get_out_ep()
H A Dxhci-mem.c415 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_endpoint_ring()
416 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring()
869 if (dev->eps[i].ring) in xhci_free_virt_device()
870 xhci_ring_free(xhci, dev->eps[i].ring); in xhci_free_virt_device()
871 if (dev->eps[i].stream_info) in xhci_free_virt_device()
873 dev->eps[i].stream_info); in xhci_free_virt_device()
882 if (!list_empty(&dev->eps[i].bw_endpoint_list)) { in xhci_free_virt_device()
883 list_del_init(&dev->eps[i].bw_endpoint_list); in xhci_free_virt_device()
980 dev->eps[i].ep_index = i; in xhci_alloc_virt_device()
981 dev->eps[ in xhci_alloc_virt_device()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c45 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_enqueue()
92 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_stall()
109 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_status_stage()
193 pep = &pdev->eps[ep_sts]; in cdns2_req_ep0_handle_status()
290 pep = &pdev->eps[cdns2_w_index_to_ep_index(le16_to_cpu(ctrl->wIndex))]; in cdns2_ep0_handle_feature_endpoint()
362 request->complete(&pdev->eps[0].endpoint, request); in __pending_setup_status_handler()
381 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_handle_setup_packet()
413 pep = &pdev->eps[0]; in cdns2_handle_setup_packet()
461 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_transfer_completed()
491 pdev->eps[ in cdns2_handle_ep0_interrupt()
[all...]
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-ep0.c23 pep = &pdev->eps[0]; in cdnsp_ep0_stall()
173 pep = &pdev->eps[ep_sts]; in cdnsp_ep0_handle_status()
305 pep = &pdev->eps[cdnsp_w_index_to_ep_index(le16_to_cpu(ctrl->wIndex))]; in cdnsp_ep0_handle_feature_endpoint()
431 if (pdev->eps[0].ep_state & EP_HALTED) { in cdnsp_setup_analyze()
433 cdnsp_halt_endpoint(pdev, &pdev->eps[0], 0); in cdnsp_setup_analyze()
440 if (!list_empty(&pdev->eps[0].pending_list)) { in cdnsp_setup_analyze()
444 req = next_request(&pdev->eps[0].pending_list); in cdnsp_setup_analyze()
445 cdnsp_ep_dequeue(&pdev->eps[0], req); in cdnsp_setup_analyze()
H A Dcdns3-ep0.c39 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_run_transfer()
107 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_complete_setup()
254 priv_ep = priv_dev->eps[index]; in cdns3_req_ep0_get_status()
371 priv_ep = priv_dev->eps[index]; in cdns3_ep0_feature_handle_endpoint()
511 request->complete(&priv_dev->eps[0]->endpoint, request); in __pending_setup_status_handler()
534 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_setup_phase()
571 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_transfer_completed()
717 priv_ep = priv_dev->eps[i]; in cdns3_gadget_ep0_queue()
822 priv_ep = priv_dev->eps[0]; in cdns3_ep0_config()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
H A Dep0.c39 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_run_transfer()
107 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_complete_setup()
254 priv_ep = priv_dev->eps[index]; in cdns3_req_ep0_get_status()
371 priv_ep = priv_dev->eps[index]; in cdns3_ep0_feature_handle_endpoint()
511 request->complete(&priv_dev->eps[0]->endpoint, request); in __pending_setup_status_handler()
534 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_setup_phase()
571 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_transfer_completed()
717 priv_ep = priv_dev->eps[i]; in cdns3_gadget_ep0_queue()
822 priv_ep = priv_dev->eps[0]; in cdns3_ep0_config()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Dfsl_qe_udc.c179 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[ in ep_rx_tasklet()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dfsl_qe_udc.c179 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()
792 struct qe_ep *ep = &udc->eps[0]; in ep0_setup_handle()
816 struct qe_ep *ep = &udc->eps[0]; in qe_ep0_rx()
945 ep = &udc->eps[ in ep_rx_tasklet()
[all...]
/kernel/linux/linux-5.10/drivers/usb/core/
H A Ddevio.c943 struct usb_host_endpoint **eps; in parse_usbdevfs_streams() local
959 eps = kmalloc_array(num_eps, sizeof(*eps), GFP_KERNEL); in parse_usbdevfs_streams()
960 if (!eps) in parse_usbdevfs_streams()
964 if (get_user(ep, &streams->eps[i])) { in parse_usbdevfs_streams()
968 eps[i] = ep_to_host_endpoint(ps->dev, ep); in parse_usbdevfs_streams()
969 if (!eps[i]) { in parse_usbdevfs_streams()
987 /* Verify all eps belong to the same interface */ in parse_usbdevfs_streams()
998 *eps_ret = eps; in parse_usbdevfs_streams()
1004 kfree(eps); in parse_usbdevfs_streams()
1367 struct usb_host_endpoint **eps; check_reset_of_active_ep() local
2483 struct usb_host_endpoint **eps; proc_alloc_streams() local
2503 struct usb_host_endpoint **eps; proc_free_streams() local
[all...]

Completed in 58 milliseconds

12345