Home
last modified time | relevance | path

Searched refs:out_ctx (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c465 pdev->out_ctx.type = CDNSP_CTX_TYPE_DEVICE; in cdnsp_init_device_ctx()
466 pdev->out_ctx.size = size; in cdnsp_init_device_ctx()
467 pdev->out_ctx.ctx_size = CTX_SIZE(pdev->hcc_params); in cdnsp_init_device_ctx()
468 pdev->out_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, in cdnsp_init_device_ctx()
469 &pdev->out_ctx.dma); in cdnsp_init_device_ctx()
471 if (!pdev->out_ctx.bytes) 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()
481 dma_pool_free(pdev->device_pool, pdev->out_ctx.bytes, in cdnsp_init_device_ctx()
482 pdev->out_ctx.dma); in cdnsp_init_device_ctx()
[all …]
H A Dcdnsp-gadget.c453 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_RUNNING) in cdnsp_ep_dequeue()
646 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_STOPPED) { in cdnsp_halt_endpoint()
657 trace_cdnsp_handle_cmd_reset_ep(pep->out_ctx); in cdnsp_halt_endpoint()
705 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_update_eps_configuration()
712 trace_cdnsp_configure_endpoint(cdnsp_get_slot_ctx(&pdev->out_ctx)); in cdnsp_update_eps_configuration()
713 trace_cdnsp_handle_cmd_config_ep(pep->out_ctx); in cdnsp_update_eps_configuration()
737 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx); in cdnsp_reset_device()
852 trace_cdnsp_handle_cmd_disable_slot(cdnsp_get_slot_ctx(&pdev->out_ctx)); in cdnsp_disable_slot()
855 memset(pdev->out_ctx.bytes, 0, CDNSP_CTX_SIZE); in cdnsp_disable_slot()
867 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx); in cdnsp_enable_slot()
[all …]
H A Dcdnsp-ep0.c100 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx); in cdnsp_ep0_set_address()
109 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx); in cdnsp_ep0_set_address()
174 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_ep0_handle_status()
435 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_HALTED) in cdnsp_setup_analyze()
H A Dcdnsp-ring.c413 return le64_to_cpu(pep->out_ctx->deq); in cdnsp_get_hw_deq()
651 trace_cdnsp_handle_cmd_set_deq(cdnsp_get_slot_ctx(&pdev->out_ctx)); in cdnsp_cmd_set_deq()
652 trace_cdnsp_handle_cmd_set_deq_ep(pep->out_ctx); in cdnsp_cmd_set_deq()
705 trace_cdnsp_remove_request(pep->out_ctx); in cdnsp_remove_request()
1262 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_DISABLED) { in cdnsp_handle_tx_event()
1263 trace_cdnsp_ep_disabled(pep->out_ctx); in cdnsp_handle_tx_event()
1689 GET_EP_CTX_STATE(preq->pep->out_ctx), in cdnsp_prepare_transfer()
2142 u32 ep_state = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_cmd_stop_ep()
2147 trace_cdnsp_ep_stopped_or_disabled(pep->out_ctx); in cdnsp_cmd_stop_ep()
2155 trace_cdnsp_handle_cmd_stop_ep(pep->out_ctx); in cdnsp_cmd_stop_ep()
H A Dcdnsp-gadget.h835 struct cdnsp_ep_ctx *out_ctx; member
1458 struct cdnsp_container_ctx out_ctx; member
/linux/drivers/usb/host/
H A Dxhci-trace.h167 __field(unsigned long long, out_ctx)
176 __entry->out_ctx = (unsigned long long) vdev->out_ctx->dma;
182 __entry->out_ctx, __entry->current_mel
196 __field(unsigned long long, out_ctx)
208 __entry->out_ctx = (unsigned long long) vdev->out_ctx->dma;
217 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
H A Dxhci-mem.c879 if (dev->out_ctx && in xhci_free_virt_device()
880 xhci->dcbaa->dev_context_ptrs[slot_id] == cpu_to_le64(dev->out_ctx->dma)) in xhci_free_virt_device()
915 if (dev->out_ctx) in xhci_free_virt_device()
916 xhci_free_container_ctx(xhci, dev->out_ctx); in xhci_free_virt_device()
987 dev->out_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_DEVICE, flags); in xhci_alloc_virt_device()
988 if (!dev->out_ctx) in xhci_alloc_virt_device()
991 xhci_dbg(xhci, "Slot %d output ctx = 0x%pad (dma)\n", slot_id, &dev->out_ctx->dma); in xhci_alloc_virt_device()
1017 xhci->dcbaa->dev_context_ptrs[slot_id] = cpu_to_le64(dev->out_ctx->dma); in xhci_alloc_virt_device()
1032 if (dev->out_ctx) in xhci_alloc_virt_device()
1033 xhci_free_container_ctx(xhci, dev->out_ctx); in xhci_alloc_virt_device()
[all …]
H A Dxhci.c1558 ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, 0); in xhci_check_ep0_maxpacket()
1591 xhci_endpoint_copy(xhci, vdev->in_ctx, vdev->out_ctx, 0); in xhci_check_ep0_maxpacket()
1906 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local
1930 out_ctx = xhci->devs[udev->slot_id]->out_ctx; in xhci_drop_endpoint()
1939 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint()
2913 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep->ep_index); in xhci_stop_endpoint_sync()
3242 struct xhci_container_ctx *out_ctx, in xhci_setup_input_ctx_for_config_ep() argument
3248 xhci_slot_copy(xhci, in_ctx, out_ctx); in xhci_setup_input_ctx_for_config_ep()
3426 xhci_setup_input_ctx_for_config_ep(xhci, cfg_cmd->in_ctx, vdev->out_ctx, in xhci_endpoint_reset()
3428 xhci_endpoint_copy(xhci, cfg_cmd->in_ctx, vdev->out_ctx, ep_index); in xhci_endpoint_reset()
[all …]
H A Dxhci-ring.c685 ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index); in xhci_get_hw_deq()
1206 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index); in xhci_handle_cmd_stop_ep()
1442 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index); in xhci_handle_cmd_set_deq()
1443 slot_ctx = xhci_get_slot_ctx(xhci, ep->vdev->out_ctx); in xhci_handle_cmd_set_deq()
1568 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index); in xhci_handle_cmd_reset_ep()
1609 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1648 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep()
1662 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev()
1677 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_reset_dev()
2240 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep->ep_index); in finish_td()
[all …]
H A Dxhci-debugfs.c256 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show()
257 seq_printf(s, "%pad: %s\n", &dev->out_ctx->dma, in xhci_slot_context_show()
280 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index); in xhci_endpoint_context_show()
281 dma = dev->out_ctx->dma + (ep_index + 1) * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
H A Dxhci.h745 struct xhci_container_ctx *out_ctx; member
1812 struct xhci_container_ctx *out_ctx,
1816 struct xhci_container_ctx *out_ctx);
H A Dxhci-hub.c483 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, i); in xhci_stop_device()
/linux/drivers/tee/optee/
H A Ddevice.c138 goto out_ctx; in __optee_enumerate_devices()
175 out_ctx: in __optee_enumerate_devices()
/linux/security/keys/trusted-keys/
H A Dtrusted_tee.c227 goto out_ctx; in trusted_key_probe()
241 out_ctx: in trusted_key_probe()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c69 goto out_ctx; in live_nop_switch()
85 goto out_ctx; in live_nop_switch()
99 goto out_ctx; in live_nop_switch()
110 goto out_ctx; in live_nop_switch()
123 goto out_ctx; in live_nop_switch()
168 goto out_ctx; in live_nop_switch()
176 out_ctx: in live_nop_switch()
/linux/fs/nfs/
H A Dnfs4file.c364 goto out_ctx; in __nfs42_ssc_open()
388 out_ctx: in __nfs42_ssc_open()
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_workarounds.c316 goto out_ctx; in check_whitelist_across_reset()
373 out_ctx: in check_whitelist_across_reset()
551 goto out_ctx; in check_dirty_whitelist()
734 out_ctx: in check_dirty_whitelist()
H A Dselftest_execlists.c139 goto out_ctx; in live_sanitycheck()
148 goto out_ctx; in live_sanitycheck()
154 goto out_ctx; in live_sanitycheck()
157 out_ctx: in live_sanitycheck()
/linux/tools/tracing/rtla/src/
H A Dtimerlat_aa.c1009 goto out_ctx; in timerlat_aa_destroy()
1014 out_ctx: in timerlat_aa_destroy()
/linux/drivers/rtc/
H A Drtc-optee.c580 goto out_ctx; in optee_rtc_probe()
676 out_ctx: in optee_rtc_probe()
/linux/drivers/gpu/drm/
H A Ddrm_client_modeset.c1047 goto out_ctx; in drm_client_modeset_commit_atomic()
1110 out_ctx: in drm_client_modeset_commit_atomic()
H A Ddrm_fb_helper.c792 goto out_ctx; in setcmap_atomic()
849 out_ctx: in setcmap_atomic()
/linux/net/sunrpc/auth_gss/
H A Dauth_gss.c2127 goto out_ctx; in gss_xmit_need_reencode()
2136 goto out_ctx; in gss_xmit_need_reencode()
2144 out_ctx: in gss_xmit_need_reencode()
/linux/fs/ceph/
H A Dfile.c843 goto out_ctx; in ceph_atomic_open()
858 goto out_ctx; in ceph_atomic_open()
985 out_ctx: in ceph_atomic_open()
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c2220 goto out_ctx; in mlx5_ib_alloc_ucontext()
2324 out_ctx: in mlx5_ib_alloc_ucontext()