Searched refs:in_ctx (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-mem.c | 467 pdev->in_ctx.type = CDNSP_CTX_TYPE_INPUT; in cdnsp_init_device_ctx() 468 pdev->in_ctx.ctx_size = pdev->out_ctx.ctx_size; in cdnsp_init_device_ctx() 469 pdev->in_ctx.size = size + pdev->out_ctx.ctx_size; in cdnsp_init_device_ctx() 470 pdev->in_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, in cdnsp_init_device_ctx() 471 &pdev->in_ctx.dma); in cdnsp_init_device_ctx() 473 if (!pdev->in_ctx.bytes) { in cdnsp_init_device_ctx() 670 if (pdev->in_ctx.bytes) in cdnsp_free_priv_device() 671 dma_pool_free(pdev->device_pool, pdev->in_ctx.bytes, in cdnsp_free_priv_device() 672 pdev->in_ctx.dma); in cdnsp_free_priv_device() 678 pdev->in_ctx.bytes = NULL; in cdnsp_free_priv_device() [all …]
|
| H A D | cdnsp-gadget.c | 476 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx() 486 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx() 492 ep_ctx = cdnsp_get_ep_ctx(&pdev->in_ctx, i); in cdnsp_zero_in_ctx() 505 cdnsp_queue_configure_endpoint(pdev, pdev->cmd.in_ctx->dma); in cdnsp_configure_endpoint() 690 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration() 701 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration() 740 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_reset_device() 839 cdnsp_setup_streams_ep_input_ctx(pdev, pep->in_ctx, &pep->stream_info); in cdnsp_alloc_streams() 862 memset(pdev->in_ctx.bytes, 0, CDNSP_CTX_SIZE); in cdnsp_disable_slot() 922 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_setup_device() [all …]
|
| H A D | cdnsp-gadget.h | 740 struct cdnsp_container_ctx *in_ctx; member 834 struct cdnsp_ep_ctx *in_ctx; member 1459 struct cdnsp_container_ctx in_ctx; member
|
| /linux/drivers/usb/host/ |
| H A D | xhci-trace.h | 168 __field(unsigned long long, in_ctx) 175 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma; 181 __entry->vdev, __entry->slot_id, __entry->in_ctx, 197 __field(unsigned long long, in_ctx) 207 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma; 217 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
|
| H A D | xhci-mem.c | 914 if (dev->in_ctx) in xhci_free_virt_device() 915 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_free_virt_device() 995 dev->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT, flags); in xhci_alloc_virt_device() 996 if (!dev->in_ctx) in xhci_alloc_virt_device() 999 xhci_dbg(xhci, "Slot %d input ctx = %pad (dma)\n", slot_id, &dev->in_ctx->dma); in xhci_alloc_virt_device() 1032 if (dev->in_ctx) in xhci_alloc_virt_device() 1033 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_alloc_virt_device() 1049 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx() 1107 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); in xhci_setup_addressable_virt_dev() 1108 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev() [all …]
|
| H A D | xhci-mtk-sch.c | 922 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk() 994 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_check_bandwidth()
|
| H A D | xhci-ring.c | 1645 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
|
| /linux/sound/usb/ |
| H A D | endpoint.c | 1786 struct snd_urb_ctx *in_ctx; in snd_usb_handle_sync_urb() local 1789 in_ctx = urb->context; in snd_usb_handle_sync_urb() 1792 for (i = 0; i < in_ctx->packets; i++) in snd_usb_handle_sync_urb() 1834 out_packet->packets = in_ctx->packets; in snd_usb_handle_sync_urb() 1835 for (i = 0; i < in_ctx->packets; i++) { in snd_usb_handle_sync_urb()
|