Home
last modified time | relevance | path

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

12

/openbmc/u-boot/drivers/usb/host/
H A Dxhci.c492 struct xhci_container_ctx *out_ctx; in xhci_set_configuration() local
515 out_ctx = virt_dev->out_ctx; in xhci_set_configuration()
534 xhci_inval_cache((uintptr_t)out_ctx->bytes, out_ctx->size); in xhci_set_configuration()
537 xhci_slot_copy(ctrl, in_ctx, out_ctx); in xhci_set_configuration()
542 xhci_endpoint_copy(ctrl, in_ctx, out_ctx, 0); in xhci_set_configuration()
687 xhci_inval_cache((uintptr_t)virt_dev->out_ctx->bytes, in xhci_address_device()
688 virt_dev->out_ctx->size); in xhci_address_device()
689 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->out_ctx); in xhci_address_device()
766 struct xhci_container_ctx *out_ctx; in xhci_check_maxpacket() local
773 out_ctx = ctrl->devs[slot_id]->out_ctx; in xhci_check_maxpacket()
[all …]
H A Dxhci-mem.c157 if (virt_dev->out_ctx) in xhci_free_virt_devices()
158 xhci_free_container_ctx(virt_dev->out_ctx); in xhci_free_virt_devices()
465 virt_dev->out_ctx = xhci_alloc_container_ctx(ctrl, in xhci_alloc_virt_device()
467 if (!virt_dev->out_ctx) { in xhci_alloc_virt_device()
483 byte_64 = (uintptr_t)(virt_dev->out_ctx->bytes); in xhci_alloc_virt_device()
670 struct xhci_container_ctx *out_ctx, in xhci_endpoint_copy() argument
676 out_ep_ctx = xhci_get_ep_ctx(ctrl, out_ctx, ep_index); in xhci_endpoint_copy()
698 struct xhci_container_ctx *out_ctx) in xhci_slot_copy() argument
704 out_slot_ctx = xhci_get_slot_ctx(ctrl, out_ctx); in xhci_slot_copy()
H A Dxhci-ring.c585 xhci_inval_cache((uintptr_t)virt_dev->out_ctx->bytes, in xhci_bulk_tx()
586 virt_dev->out_ctx->size); in xhci_bulk_tx()
588 ep_ctx = xhci_get_ep_ctx(ctrl, virt_dev->out_ctx, ep_index); in xhci_bulk_tx()
785 xhci_inval_cache((uintptr_t)virt_dev->out_ctx->bytes, in xhci_ctrl_tx()
786 virt_dev->out_ctx->size); in xhci_ctrl_tx()
789 ep_ctx = xhci_get_ep_ctx(ctrl, virt_dev->out_ctx, ep_index); in xhci_ctrl_tx()
H A Dxhci.h1084 struct xhci_container_ctx *out_ctx; member
1245 struct xhci_container_ctx *out_ctx,
1249 struct xhci_container_ctx *out_ctx);
/openbmc/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.c431 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_RUNNING) in cdnsp_ep_dequeue()
608 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_STOPPED) { in cdnsp_halt_endpoint()
619 trace_cdnsp_handle_cmd_reset_ep(pep->out_ctx); in cdnsp_halt_endpoint()
667 ep_sts = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_update_eps_configuration()
674 trace_cdnsp_configure_endpoint(cdnsp_get_slot_ctx(&pdev->out_ctx)); in cdnsp_update_eps_configuration()
675 trace_cdnsp_handle_cmd_config_ep(pep->out_ctx); in cdnsp_update_eps_configuration()
699 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx); in cdnsp_reset_device()
814 trace_cdnsp_handle_cmd_disable_slot(cdnsp_get_slot_ctx(&pdev->out_ctx)); in cdnsp_disable_slot()
817 memset(pdev->out_ctx.bytes, 0, CDNSP_CTX_SIZE); in cdnsp_disable_slot()
829 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()
H A Dcdnsp-ring.c412 return le64_to_cpu(pep->out_ctx->deq); in cdnsp_get_hw_deq()
650 trace_cdnsp_handle_cmd_set_deq(cdnsp_get_slot_ctx(&pdev->out_ctx)); in cdnsp_cmd_set_deq()
651 trace_cdnsp_handle_cmd_set_deq_ep(pep->out_ctx); in cdnsp_cmd_set_deq()
704 trace_cdnsp_remove_request(pep->out_ctx); in cdnsp_remove_request()
1259 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_DISABLED) { in cdnsp_handle_tx_event()
1260 trace_cdnsp_ep_disabled(pep->out_ctx); in cdnsp_handle_tx_event()
1686 GET_EP_CTX_STATE(preq->pep->out_ctx), in cdnsp_prepare_transfer()
2139 u32 ep_state = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_cmd_stop_ep()
2144 trace_cdnsp_ep_stopped_or_disabled(pep->out_ctx); in cdnsp_cmd_stop_ep()
2152 trace_cdnsp_handle_cmd_stop_ep(pep->out_ctx); in cdnsp_cmd_stop_ep()
[all …]
H A Dcdnsp-trace.h413 __field(dma_addr_t, out_ctx)
421 __entry->out_ctx = pdev->out_ctx.dma;
427 &__entry->out_ctx, __entry->port_num
H A Dcdnsp-gadget.h828 struct cdnsp_ep_ctx *out_ctx; member
1444 struct cdnsp_container_ctx out_ctx; member
/openbmc/linux/drivers/usb/host/
H A Dxhci-trace.h173 __field(unsigned long long, out_ctx)
183 __entry->out_ctx = (unsigned long long) vdev->out_ctx->dma;
189 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
204 __field(unsigned long long, out_ctx)
216 __entry->out_ctx = (unsigned long long) vdev->out_ctx->dma;
225 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
H A Dxhci.c1433 struct xhci_container_ctx *out_ctx; in xhci_check_maxpacket() local
1441 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket()
1442 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_check_maxpacket()
1476 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
1797 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local
1821 out_ctx = xhci->devs[udev->slot_id]->out_ctx; in xhci_drop_endpoint()
1830 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint()
3031 struct xhci_container_ctx *out_ctx, in xhci_setup_input_ctx_for_config_ep() argument
3037 xhci_slot_copy(xhci, in_ctx, out_ctx); in xhci_setup_input_ctx_for_config_ep()
3194 xhci_setup_input_ctx_for_config_ep(xhci, cfg_cmd->in_ctx, vdev->out_ctx, in xhci_endpoint_reset()
[all …]
H A Dxhci-debugfs.c268 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show()
269 seq_printf(s, "%pad: %s\n", &dev->out_ctx->dma, in xhci_slot_context_show()
292 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index); in xhci_endpoint_context_show()
293 dma = dev->out_ctx->dma + (ep_index + 1) * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
H A Dxhci-mem.c895 if (dev->out_ctx) in xhci_free_virt_device()
896 xhci_free_container_ctx(xhci, dev->out_ctx); in xhci_free_virt_device()
965 dev->out_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_DEVICE, flags); in xhci_alloc_virt_device()
966 if (!dev->out_ctx) in xhci_alloc_virt_device()
969 xhci_dbg(xhci, "Slot %d output ctx = 0x%pad (dma)\n", slot_id, &dev->out_ctx->dma); in xhci_alloc_virt_device()
995 xhci->dcbaa->dev_context_ptrs[slot_id] = cpu_to_le64(dev->out_ctx->dma); in xhci_alloc_virt_device()
1010 if (dev->out_ctx) in xhci_alloc_virt_device()
1011 xhci_free_container_ctx(xhci, dev->out_ctx); in xhci_alloc_virt_device()
1582 struct xhci_container_ctx *out_ctx, in xhci_endpoint_copy() argument
1588 out_ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_endpoint_copy()
[all …]
H A Dxhci-ring.c625 ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index); in xhci_get_hw_deq()
1162 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index); in xhci_handle_cmd_stop_ep()
1420 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index); in xhci_handle_cmd_set_deq()
1421 slot_ctx = xhci_get_slot_ctx(xhci, ep->vdev->out_ctx); in xhci_handle_cmd_set_deq()
1543 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index); in xhci_handle_cmd_reset_ep()
1583 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1619 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep()
1633 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev()
1648 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_reset_dev()
2268 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep->ep_index); in finish_td()
[all …]
/openbmc/linux/drivers/tee/optee/
H A Ddevice.c131 goto out_ctx; in __optee_enumerate_devices()
168 out_ctx: in __optee_enumerate_devices()
/openbmc/linux/drivers/firmware/broadcom/
H A Dtee_bnxt_fw.c209 goto out_ctx; in tee_bnxt_fw_probe()
228 out_ctx: in tee_bnxt_fw_probe()
/openbmc/linux/drivers/char/hw_random/
H A Doptee-rng.c238 goto out_ctx; in optee_rng_probe()
258 out_ctx: in optee_rng_probe()
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tee.c227 goto out_ctx; in trusted_key_probe()
241 out_ctx: in trusted_key_probe()
/openbmc/linux/drivers/rtc/
H A Drtc-optee.c273 goto out_ctx; in optee_rtc_probe()
313 out_ctx: in optee_rtc_probe()
/openbmc/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()
/openbmc/linux/fs/nfs/
H A Dnfs4file.c375 goto out_ctx; in __nfs42_ssc_open()
399 out_ctx: in __nfs42_ssc_open()
/openbmc/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()
/openbmc/linux/tools/tracing/rtla/src/
H A Dtimerlat_aa.c1011 goto out_ctx; in timerlat_aa_destroy()
1016 out_ctx: in timerlat_aa_destroy()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_client_modeset.c1001 goto out_ctx; in drm_client_modeset_commit_atomic()
1064 out_ctx: in drm_client_modeset_commit_atomic()

12