Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/host/
H A Dxhci.c451 struct xhci_container_ctx *in_ctx; in xhci_configure_endpoints() local
457 in_ctx = virt_dev->in_ctx; in xhci_configure_endpoints()
459 xhci_flush_cache((uintptr_t)in_ctx->bytes, in_ctx->size); in xhci_configure_endpoints()
491 struct xhci_container_ctx *in_ctx; in xhci_set_configuration() local
516 in_ctx = virt_dev->in_ctx; in xhci_set_configuration()
537 xhci_slot_copy(ctrl, in_ctx, out_ctx); in xhci_set_configuration()
765 struct xhci_container_ctx *in_ctx; in xhci_check_maxpacket() local
788 in_ctx = ctrl->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1408 struct xhci_container_ctx *in_ctx; in xhci_update_hub_device() local
1423 in_ctx = virt_dev->in_ctx; in xhci_update_hub_device()
[all …]
H A Dxhci-mem.c155 if (virt_dev->in_ctx) in xhci_free_virt_devices()
156 xhci_free_container_ctx(virt_dev->in_ctx); in xhci_free_virt_devices()
473 virt_dev->in_ctx = xhci_alloc_container_ctx(ctrl, in xhci_alloc_virt_device()
475 if (!virt_dev->in_ctx) { in xhci_alloc_virt_device()
669 struct xhci_container_ctx *in_ctx, in xhci_endpoint_copy() argument
677 in_ep_ctx = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_endpoint_copy()
697 void xhci_slot_copy(struct xhci_ctrl *ctrl, struct xhci_container_ctx *in_ctx, in xhci_slot_copy() argument
703 in_slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_slot_copy()
739 ep0_ctx = xhci_get_ep_ctx(ctrl, virt_dev->in_ctx, 0); in xhci_setup_addressable_virt_dev()
740 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->in_ctx); in xhci_setup_addressable_virt_dev()
H A Dxhci.h1086 struct xhci_container_ctx *in_ctx; member
1244 struct xhci_container_ctx *in_ctx,
1248 struct xhci_container_ctx *in_ctx,
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c480 if (!pdev->in_ctx.bytes) { in cdnsp_init_device_ctx()
675 if (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()
702 pdev->cmd.in_ctx = &pdev->in_ctx; in cdnsp_alloc_priv_device()
710 pdev->in_ctx.dma); in cdnsp_alloc_priv_device()
957 ep_ctx = pep->in_ctx; in cdnsp_endpoint_init()
1019 pep->in_ctx->ep_info = 0; in cdnsp_endpoint_zero()
1020 pep->in_ctx->ep_info2 = 0; in cdnsp_endpoint_zero()
1021 pep->in_ctx->deq = 0; in cdnsp_endpoint_zero()
[all …]
H A 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()
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()
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()
877 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_setup_device()
980 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_gadget_ep_enable()
[all …]
H A Dcdnsp-trace.h414 __field(dma_addr_t, in_ctx)
420 __entry->in_ctx = pdev->in_ctx.dma;
426 __entry->pdev, __entry->gadget, &__entry->in_ctx,
H A Dcdnsp-gadget.h733 struct cdnsp_container_ctx *in_ctx; member
827 struct cdnsp_ep_ctx *in_ctx; member
1445 struct cdnsp_container_ctx in_ctx; member
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()
/openbmc/linux/drivers/usb/host/
H A Dxhci.c1465 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1807 in_ctx = xhci->devs[udev->slot_id]->in_ctx; in xhci_drop_endpoint()
1867 struct xhci_container_ctx *in_ctx; in xhci_add_endpoint() local
1898 in_ctx = virt_dev->in_ctx; in xhci_add_endpoint()
2681 struct xhci_container_ctx *in_ctx) in xhci_reserve_bandwidth() argument
2827 command->in_ctx->dma, in xhci_configure_endpoint()
2831 command->in_ctx->dma, in xhci_configure_endpoint()
2917 command->in_ctx = virt_dev->in_ctx; in xhci_check_bandwidth()
3017 struct xhci_container_ctx *in_ctx, in xhci_setup_input_ctx_for_config_ep() argument
3024 xhci_slot_copy(xhci, in_ctx, out_ctx); in xhci_setup_input_ctx_for_config_ep()
[all …]
H A Dxhci-trace.h174 __field(unsigned long long, in_ctx)
182 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma;
189 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
205 __field(unsigned long long, in_ctx)
215 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma;
225 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
H A Dxhci-mem.c893 if (dev->in_ctx) in xhci_free_virt_device()
894 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_free_virt_device()
973 if (!dev->in_ctx) in xhci_alloc_virt_device()
1008 if (dev->in_ctx) in xhci_alloc_virt_device()
1009 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_alloc_virt_device()
1523 struct xhci_container_ctx *in_ctx, in xhci_update_bw_info() argument
1547 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, i); in xhci_update_bw_info()
1581 struct xhci_container_ctx *in_ctx, in xhci_endpoint_copy() argument
1607 struct xhci_container_ctx *in_ctx, in xhci_slot_copy() argument
1749 if (!command->in_ctx) { in xhci_alloc_command_with_ctx()
[all …]
H A Dxhci.h557 struct xhci_container_ctx *in_ctx; member
768 struct xhci_container_ctx *in_ctx; member
1816 struct xhci_container_ctx *in_ctx,
1820 struct xhci_container_ctx *in_ctx,
1824 struct xhci_container_ctx *in_ctx,
H A 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()
H A Dxhci-ring.c1559 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
/openbmc/linux/sound/usb/
H A Dendpoint.c1763 struct snd_urb_ctx *in_ctx; in snd_usb_handle_sync_urb() local
1766 in_ctx = urb->context; in snd_usb_handle_sync_urb()
1769 for (i = 0; i < in_ctx->packets; i++) in snd_usb_handle_sync_urb()
1802 out_packet->packets = in_ctx->packets; in snd_usb_handle_sync_urb()
1803 for (i = 0; i < in_ctx->packets; i++) { in snd_usb_handle_sync_urb()