/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 465 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 in cdnsp_init_device_ctx() [all...] |
H A D | cdnsp-gadget.c | 431 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 D | cdnsp-ring.c | 412 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() 1257 if (GET_EP_CTX_STATE(pep->out_ctx) == EP_STATE_DISABLED) { in cdnsp_handle_tx_event() 1258 trace_cdnsp_ep_disabled(pep->out_ctx); in cdnsp_handle_tx_event() 1684 GET_EP_CTX_STATE(preq->pep->out_ctx), in cdnsp_prepare_transfer() 2109 u32 ep_state = GET_EP_CTX_STATE(pep->out_ctx); in cdnsp_cmd_stop_ep() 2114 trace_cdnsp_ep_stopped_or_disabled(pep->out_ctx); in cdnsp_cmd_stop_ep() 2122 trace_cdnsp_handle_cmd_stop_ep(pep->out_ctx); in cdnsp_cmd_stop_ep() [all...] |
H A D | cdnsp-ep0.c | 100 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 D | cdnsp-trace.h | 413 __field(dma_addr_t, out_ctx) 421 __entry->out_ctx = pdev->out_ctx.dma; 427 &__entry->out_ctx, __entry->port_num
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-trace.h | 178 __field(unsigned long long, out_ctx) 188 __entry->out_ctx = (unsigned long long) vdev->out_ctx->dma; 194 __entry->vdev, __entry->in_ctx, __entry->out_ctx, 209 __field(unsigned long long, out_ctx) 221 __entry->out_ctx = (unsigned long long) vdev->out_ctx->dma; 230 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
|
H A D | xhci.c | 1433 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() 1785 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local 1809 out_ctx = xhci->devs[udev->slot_id]->out_ctx; in xhci_drop_endpoint() 1818 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint() 3034 struct xhci_container_ctx *out_ctx, in xhci_setup_input_ctx_for_config_ep() 3032 xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx, struct xhci_input_control_ctx *ctrl_ctx, u32 add_flags, u32 drop_flags) xhci_setup_input_ctx_for_config_ep() argument [all...] |
H A D | xhci-debugfs.c | 268 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 D | xhci-mem.c | 939 if (dev->out_ctx) in xhci_free_virt_device() 940 xhci_free_container_ctx(xhci, dev->out_ctx); in xhci_free_virt_device() 1009 dev->out_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_DEVICE, flags); in xhci_alloc_virt_device() 1010 if (!dev->out_ctx) in xhci_alloc_virt_device() 1014 (unsigned long long)dev->out_ctx->dma); in xhci_alloc_virt_device() 1041 xhci->dcbaa->dev_context_ptrs[slot_id] = cpu_to_le64(dev->out_ctx->dma); in xhci_alloc_virt_device() 1056 if (dev->out_ctx) in xhci_alloc_virt_device() 1057 xhci_free_container_ctx(xhci, dev->out_ctx); in xhci_alloc_virt_device() 1631 struct xhci_container_ctx *out_ctx, in xhci_endpoint_copy() 1637 out_ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_inde in xhci_endpoint_copy() 1629 xhci_endpoint_copy(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx, unsigned int ep_index) xhci_endpoint_copy() argument 1655 xhci_slot_copy(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx) xhci_slot_copy() argument [all...] |
H A D | xhci-ring.c | 541 ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index); in xhci_get_hw_deq() 961 ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index); in xhci_handle_cmd_stop_ep() 1252 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index); in xhci_handle_cmd_set_deq() 1253 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_handle_cmd_set_deq() 1337 ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index); in xhci_handle_cmd_reset_ep() 1391 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot() 1429 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep() 1462 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev() 1473 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_reset_dev() 2068 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, e in finish_td() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-trace.h | 173 __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 D | xhci.c | 1422 struct xhci_container_ctx *out_ctx; in xhci_check_maxpacket() local 1430 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket() 1431 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_check_maxpacket() 1465 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket() 1774 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local 1798 out_ctx = xhci->devs[udev->slot_id]->out_ctx; in xhci_drop_endpoint() 1807 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint() 3008 struct xhci_container_ctx *out_ctx, in xhci_setup_input_ctx_for_config_ep() 3006 xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx, struct xhci_input_control_ctx *ctrl_ctx, u32 add_flags, u32 drop_flags) xhci_setup_input_ctx_for_config_ep() argument [all...] |
H A D | xhci-debugfs.c | 268 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 D | xhci-mem.c | 895 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() 1588 out_ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_inde in xhci_endpoint_copy() 1580 xhci_endpoint_copy(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx, unsigned int ep_index) xhci_endpoint_copy() argument 1606 xhci_slot_copy(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx) xhci_slot_copy() argument [all...] |
H A D | xhci-ring.c | 616 ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index); in xhci_get_hw_deq() 1113 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index); in xhci_handle_cmd_stop_ep() 1345 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index); in xhci_handle_cmd_set_deq() 1346 slot_ctx = xhci_get_slot_ctx(xhci, ep->vdev->out_ctx); in xhci_handle_cmd_set_deq() 1441 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index); in xhci_handle_cmd_reset_ep() 1481 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot() 1517 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); in xhci_handle_cmd_config_ep() 1531 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev() 1546 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_reset_dev() 2166 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, e in finish_td() [all...] |
/kernel/linux/linux-5.10/drivers/tee/optee/ |
H A D | device.c | 131 goto out_ctx; in __optee_enumerate_devices() 169 out_ctx: in __optee_enumerate_devices()
|
/kernel/linux/linux-6.6/drivers/tee/optee/ |
H A D | device.c | 130 goto out_ctx; in __optee_enumerate_devices() 167 out_ctx: in __optee_enumerate_devices()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object_blt.c | 172 goto out_ctx; in i915_gem_object_fill_blt() 213 out_ctx: in i915_gem_object_fill_blt() 382 goto out_ctx; in i915_gem_object_copy_blt() 439 out_ctx: in i915_gem_object_copy_blt()
|
H A D | i915_gem_client_blt.c | 187 goto out_ctx; in clear_pages_worker() 232 out_ctx: in clear_pages_worker()
|
/kernel/linux/linux-5.10/drivers/firmware/broadcom/ |
H A D | tee_bnxt_fw.c | 209 goto out_ctx; in tee_bnxt_fw_probe() 228 out_ctx: in tee_bnxt_fw_probe()
|
/kernel/linux/linux-5.10/drivers/char/hw_random/ |
H A D | optee-rng.c | 238 goto out_ctx; in optee_rng_probe() 258 out_ctx: in optee_rng_probe()
|
/kernel/linux/linux-6.6/drivers/char/hw_random/ |
H A D | optee-rng.c | 238 goto out_ctx; in optee_rng_probe() 258 out_ctx: in optee_rng_probe()
|
/kernel/linux/linux-6.6/drivers/firmware/broadcom/ |
H A D | tee_bnxt_fw.c | 209 goto out_ctx; in tee_bnxt_fw_probe() 228 out_ctx: in tee_bnxt_fw_probe()
|
/kernel/linux/linux-6.6/security/keys/trusted-keys/ |
H A D | trusted_tee.c | 227 goto out_ctx; in trusted_key_probe() 241 out_ctx: in trusted_key_probe()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_context.c | 69 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()
|