Searched refs:in_ctx (Results 1 – 11 of 11) sorted by relevance
/drivers/usb/cdns3/ |
D | cdnsp-mem.c | 474 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 …]
|
D | cdnsp-gadget.c | 446 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() 644 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration() 655 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration() 694 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_reset_device() 793 cdnsp_setup_streams_ep_input_ctx(pdev, pep->in_ctx, &pep->stream_info); in cdnsp_alloc_streams() 816 memset(pdev->in_ctx.bytes, 0, CDNSP_CTX_SIZE); in cdnsp_disable_slot() 876 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_setup_device() [all …]
|
D | cdnsp-trace.h | 416 __field(dma_addr_t, in_ctx) 422 __entry->in_ctx = pdev->in_ctx.dma; 428 __entry->pdev, __entry->gadget, &__entry->in_ctx,
|
D | cdnsp-gadget.h | 733 struct cdnsp_container_ctx *in_ctx; member 826 struct cdnsp_ep_ctx *in_ctx; member 1442 struct cdnsp_container_ctx in_ctx; member
|
/drivers/usb/host/ |
D | xhci.c | 1621 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket() 1622 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket() 1630 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket() 1633 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_check_maxpacket() 1945 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local 1968 in_ctx = xhci->devs[udev->slot_id]->in_ctx; in xhci_drop_endpoint() 1970 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint() 2028 struct xhci_container_ctx *in_ctx; in xhci_add_endpoint() local 2059 in_ctx = virt_dev->in_ctx; in xhci_add_endpoint() 2060 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_add_endpoint() [all …]
|
D | xhci-trace.h | 175 __field(unsigned long long, in_ctx) 183 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma; 190 __entry->vdev, __entry->in_ctx, __entry->out_ctx, 206 __field(unsigned long long, in_ctx) 216 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma; 226 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
|
D | xhci-mem.c | 983 if (dev->in_ctx) in xhci_free_virt_device() 984 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_free_virt_device() 1063 dev->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT, flags); in xhci_alloc_virt_device() 1064 if (!dev->in_ctx) in xhci_alloc_virt_device() 1068 (unsigned long long)dev->in_ctx->dma); in xhci_alloc_virt_device() 1100 if (dev->in_ctx) in xhci_alloc_virt_device() 1101 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_alloc_virt_device() 1117 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx() 1176 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); in xhci_setup_addressable_virt_dev() 1177 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev() [all …]
|
D | xhci.h | 810 struct xhci_container_ctx *in_ctx; member 1022 struct xhci_container_ctx *in_ctx; member 2082 struct xhci_container_ctx *in_ctx, 2086 struct xhci_container_ctx *in_ctx, 2090 struct xhci_container_ctx *in_ctx,
|
D | xhci-mtk-sch.c | 638 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()
|
D | xhci-ring.c | 1484 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
|
/drivers/infiniband/hw/mlx5/ |
D | qos.c | 33 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()
|