Home
last modified time | relevance | path

Searched refs:in_ctx (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/drivers/usb/cdns3/
Dcdnsp-mem.c474 pdev->in_ctx.type = CDNSP_CTX_TYPE_INPUT; in cdnsp_init_device_ctx()
475 pdev->in_ctx.ctx_size = pdev->out_ctx.ctx_size; in cdnsp_init_device_ctx()
476 pdev->in_ctx.size = size + pdev->out_ctx.ctx_size; in cdnsp_init_device_ctx()
477 pdev->in_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, in cdnsp_init_device_ctx()
478 &pdev->in_ctx.dma); in cdnsp_init_device_ctx()
480 if (!pdev->in_ctx.bytes) { in cdnsp_init_device_ctx()
675 if (pdev->in_ctx.bytes) in cdnsp_free_priv_device()
676 dma_pool_free(pdev->device_pool, pdev->in_ctx.bytes, in cdnsp_free_priv_device()
677 pdev->in_ctx.dma); in cdnsp_free_priv_device()
683 pdev->in_ctx.bytes = NULL; in cdnsp_free_priv_device()
[all …]
Dcdnsp-gadget.c446 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx()
456 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx()
462 ep_ctx = cdnsp_get_ep_ctx(&pdev->in_ctx, i); in cdnsp_zero_in_ctx()
475 cdnsp_queue_configure_endpoint(pdev, pdev->cmd.in_ctx->dma); in cdnsp_configure_endpoint()
648 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()
659 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()
698 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_reset_device()
797 cdnsp_setup_streams_ep_input_ctx(pdev, pep->in_ctx, &pep->stream_info); in cdnsp_alloc_streams()
820 memset(pdev->in_ctx.bytes, 0, CDNSP_CTX_SIZE); in cdnsp_disable_slot()
880 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_setup_device()
[all …]
Dcdnsp-trace.h416 __field(dma_addr_t, in_ctx)
422 __entry->in_ctx = pdev->in_ctx.dma;
428 __entry->pdev, __entry->gadget, &__entry->in_ctx,
Dcdnsp-gadget.h733 struct cdnsp_container_ctx *in_ctx; member
826 struct cdnsp_ep_ctx *in_ctx; member
1442 struct cdnsp_container_ctx in_ctx; member
/linux-5.19.10/drivers/infiniband/hw/mlx5/
Dqos.c33 void *in_ctx; in UVERBS_HANDLER() local
52 in_ctx = uverbs_attr_get_alloced_ptr(attrs, in UVERBS_HANDLER()
56 memcpy(rl_raw, in_ctx, inlen); in UVERBS_HANDLER()
/linux-5.19.10/drivers/usb/host/
Dxhci.c1598 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1599 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1607 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1610 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_check_maxpacket()
1917 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local
1940 in_ctx = xhci->devs[udev->slot_id]->in_ctx; in xhci_drop_endpoint()
1942 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
2000 struct xhci_container_ctx *in_ctx; in xhci_add_endpoint() local
2031 in_ctx = virt_dev->in_ctx; in xhci_add_endpoint()
2032 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_add_endpoint()
[all …]
Dxhci-trace.h179 __field(unsigned long long, in_ctx)
187 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma;
194 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
210 __field(unsigned long long, in_ctx)
220 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma;
230 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
Dxhci-mem.c902 if (dev->in_ctx) in xhci_free_virt_device()
903 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_free_virt_device()
982 dev->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT, flags); in xhci_alloc_virt_device()
983 if (!dev->in_ctx) in xhci_alloc_virt_device()
987 (unsigned long long)dev->in_ctx->dma); in xhci_alloc_virt_device()
1019 if (dev->in_ctx) in xhci_alloc_virt_device()
1020 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_alloc_virt_device()
1036 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx()
1095 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); in xhci_setup_addressable_virt_dev()
1096 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
[all …]
Dxhci.h809 struct xhci_container_ctx *in_ctx; member
1017 struct xhci_container_ctx *in_ctx; member
2052 struct xhci_container_ctx *in_ctx,
2056 struct xhci_container_ctx *in_ctx,
2060 struct xhci_container_ctx *in_ctx,
Dxhci-mtk-sch.c638 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk()
710 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_check_bandwidth()
Dxhci-ring.c1482 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
/linux-5.19.10/sound/usb/
Dendpoint.c1702 struct snd_urb_ctx *in_ctx; in snd_usb_handle_sync_urb() local
1705 in_ctx = urb->context; in snd_usb_handle_sync_urb()
1708 for (i = 0; i < in_ctx->packets; i++) in snd_usb_handle_sync_urb()
1741 out_packet->packets = in_ctx->packets; in snd_usb_handle_sync_urb()
1742 for (i = 0; i < in_ctx->packets; i++) { in snd_usb_handle_sync_urb()