| /linux-6.15/drivers/usb/host/ |
| H A D | xhci-ring.c | 551 unsigned int ep_index, in xhci_ring_ep_doorbell() argument 578 unsigned int ep_index) in ring_doorbell_for_active_rings() argument 603 unsigned int ep_index) in xhci_ring_doorbell_for_active_rings() argument 708 ep_index, stream_id); in xhci_move_dequeue_past_td() 969 ep_index, slot_id); in xhci_reset_halted_ep() 1005 ep->ep_index); in xhci_handle_halted_endpoint() 1181 unsigned int ep_index; in xhci_handle_cmd_stop_ep() local 1355 slot_id, ep_index); in xhci_kill_endpoint_urbs() 1413 unsigned int ep_index; in xhci_handle_cmd_set_deq() local 2651 int ep_index; in handle_tx_event() local [all …]
|
| H A D | xhci-debugfs.h | 115 int ep_index); 118 int ep_index); 121 int ep_index); 132 int ep_index) { } in xhci_debugfs_create_endpoint() argument 136 int ep_index) { } in xhci_debugfs_remove_endpoint() argument 140 int ep_index) { } in xhci_debugfs_create_stream_files() argument
|
| H A D | xhci-debugfs.c | 269 int ep_index; in xhci_endpoint_context_show() local 279 for (ep_index = 0; ep_index < 31; ep_index++) { in xhci_endpoint_context_show() 288 dev->eps[ep_index].ep_state); in xhci_endpoint_context_show() 427 int ep_index) in xhci_debugfs_create_endpoint() argument 435 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint() 449 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint() 454 int ep_index) in xhci_debugfs_remove_endpoint() argument 462 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint() 464 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint() 550 int ep_index) in xhci_debugfs_create_stream_files() argument [all …]
|
| H A D | xhci.c | 1620 slot_id, ep_index); in xhci_urb_enqueue() 1624 slot_id, ep_index); in xhci_urb_enqueue() 1675 unsigned int ep_index; in xhci_urb_dequeue() local 1784 ep_index, 0); in xhci_urb_dequeue() 1819 unsigned int ep_index; in xhci_drop_endpoint() local 1901 unsigned int ep_index; in xhci_add_endpoint() local 3168 unsigned int ep_index; in xhci_endpoint_reset() local 3252 ep_index, 0); in xhci_endpoint_reset() 3311 unsigned int ep_index; in xhci_check_streams_endpoint() local 3410 unsigned int ep_index; in xhci_calculate_no_streams_bitmask() local [all …]
|
| H A D | xhci-mem.c | 404 unsigned int ep_index) in xhci_free_endpoint_ring() argument 407 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring() 508 unsigned int ep_index) in xhci_get_ep_ctx() argument 511 ep_index++; in xhci_get_ep_ctx() 513 ep_index++; in xhci_get_ep_ctx() 973 dev->eps[i].ep_index = i; in xhci_alloc_virt_device() 1389 unsigned int ep_index; in xhci_endpoint_init() local 1457 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init() 1462 virt_dev->eps[ep_index].skip = false; in xhci_endpoint_init() 1486 unsigned int ep_index; in xhci_endpoint_zero() local [all …]
|
| H A D | xhci.h | 656 unsigned int ep_index; member 1806 unsigned int ep_index); 1821 unsigned int ep_index); 1907 int slot_id, unsigned int ep_index, int suspend); 1909 int slot_id, unsigned int ep_index); 1911 int slot_id, unsigned int ep_index); 1913 int slot_id, unsigned int ep_index); 1922 int slot_id, unsigned int ep_index, 1929 unsigned int ep_index, unsigned int stream_id); 1932 unsigned int ep_index); [all …]
|
| H A D | xhci-mtk-sch.c | 919 unsigned int ep_index; in add_ep_quirk() local 922 ep_index = xhci_get_endpoint_index(&ep->desc); in add_ep_quirk() 923 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk() 986 unsigned int ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_mtk_check_bandwidth() local 995 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_check_bandwidth()
|
| /linux-6.15/drivers/usb/gadget/udc/ |
| H A D | fsl_usb2_udc.h | 523 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress&0xF) macro 525 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ 532 #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP)) 537 if (ep_index(ep) != 0) in get_qh_by_ep()
|
| H A D | fsl_udc_core.c | 607 dr_ep_setup((unsigned char) ep_index(ep), in fsl_ep_enable() 646 ep_num = ep_index(ep); in fsl_ep_disable() 731 ? (1 << (ep_index(ep) + 16)) in fsl_queue_td() 732 : (1 << (ep_index(ep))); in fsl_queue_td() 938 ep_num = ep_index(ep); in fsl_ep_dequeue() 1033 ep_num = (unsigned char)(ep_index(ep)); in fsl_ep_set_halt() 1038 if (ep_index(ep) == 0) { in fsl_ep_set_halt() 1070 (1 << (ep_index(ep))); in fsl_ep_fifo_status() 1095 ep_num = ep_index(ep); in fsl_ep_fifo_flush() 2174 ep->ep.name, ep_maxpacket(ep), ep_index(ep)); in fsl_proc_read() [all …]
|
| H A D | fsl_qe_udc.h | 152 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress & 0xF) macro 154 #define ep_is_in(EP) ((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
|
| H A D | tegra-xudc.c | 2708 unsigned int ep_index = trb_read_endpoint_id(event); in tegra_xudc_handle_transfer_event() local 2709 struct tegra_xudc_ep *ep = &xudc->ep[ep_index]; in tegra_xudc_handle_transfer_event() 2715 ep_index); in tegra_xudc_handle_transfer_event() 2736 dev_info(xudc->dev, "stream rejected on EP %u\n", ep_index); in tegra_xudc_handle_transfer_event() 2741 dev_info(xudc->dev, "prime pipe received on EP %u\n", ep_index); in tegra_xudc_handle_transfer_event() 2750 ep_wait_for_stopped(xudc, ep_index); in tegra_xudc_handle_transfer_event() 2759 ep_wait_for_stopped(xudc, ep_index); in tegra_xudc_handle_transfer_event() 2772 comp_code, ep_index); in tegra_xudc_handle_transfer_event() 2774 ep_halt(xudc, ep_index); in tegra_xudc_handle_transfer_event() 2795 ep_index); in tegra_xudc_handle_transfer_event() [all …]
|
| H A D | fsl_qe_udc.c | 1708 if (!_ep || (!ep->ep.desc && ep_index(ep))) { in __qe_ep_queue() 1748 if (ep_index(ep) == 0 && req->req.length > 0) { in __qe_ep_queue()
|
| /linux-6.15/drivers/usb/cdns3/ |
| H A D | cdnsp-ring.c | 400 unsigned int ep_index, in cdnsp_get_hw_deq() argument 406 pep = &pdev->eps[ep_index]; in cdnsp_get_hw_deq() 1183 int ep_index; in cdnsp_handle_tx_nrdy() local 1188 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in cdnsp_handle_tx_nrdy() 1192 pep = &pdev->eps[ep_index]; in cdnsp_handle_tx_nrdy() 1242 int ep_index; in cdnsp_handle_tx_event() local 1245 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in cdnsp_handle_tx_event() 1249 pep = &pdev->eps[ep_index]; in cdnsp_handle_tx_event() 1373 "comp_code %u\n", ep_index, in cdnsp_handle_tx_event() 2475 EP_ID_FOR_TRB(ep_index) | in cdnsp_queue_reset_ep() [all …]
|
| H A D | cdnsp-gadget.h | 1539 unsigned int ep_index); 1546 void cdnsp_queue_reset_ep(struct cdnsp_device *pdev, unsigned int ep_index); 1548 unsigned int ep_index); 1568 unsigned int ep_index);
|
| H A D | cdnsp-mem.c | 507 unsigned int ep_index) in cdnsp_get_ep_ctx() argument 510 ep_index++; in cdnsp_get_ep_ctx() 512 ep_index++; in cdnsp_get_ep_ctx() 514 return (struct cdnsp_ep_ctx *)(ctx->bytes + (ep_index * ctx->ctx_size)); in cdnsp_get_ep_ctx()
|
| /linux-6.15/drivers/usb/dwc2/ |
| H A D | gadget.c | 62 u32 ep_index, u32 dir_in) in index_to_ep() argument 65 return hsotg->eps_in[ep_index]; in index_to_ep() 67 return hsotg->eps_out[ep_index]; in index_to_ep()
|