Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci.c452 struct xhci_container_ctx *in_ctx; in xhci_configure_endpoints() local
458 in_ctx = virt_dev->in_ctx; in xhci_configure_endpoints()
460 xhci_flush_cache((uintptr_t)in_ctx->bytes, in_ctx->size); in xhci_configure_endpoints()
461 xhci_queue_command(ctrl, in_ctx->bytes, udev->slot_id, 0, in xhci_configure_endpoints()
492 struct xhci_container_ctx *in_ctx; in xhci_set_configuration() local
517 in_ctx = virt_dev->in_ctx; in xhci_set_configuration()
522 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_set_configuration()
538 xhci_slot_copy(ctrl, in_ctx, out_ctx); in xhci_set_configuration()
539 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_set_configuration()
543 xhci_endpoint_copy(ctrl, in_ctx, out_ctx, 0); in xhci_set_configuration()
[all …]
H A Dxhci-mem.c156 if (virt_dev->in_ctx) in xhci_free_virt_devices()
157 xhci_free_container_ctx(virt_dev->in_ctx); in xhci_free_virt_devices()
474 virt_dev->in_ctx = xhci_alloc_container_ctx(ctrl, in xhci_alloc_virt_device()
476 if (!virt_dev->in_ctx) { in xhci_alloc_virt_device()
670 struct xhci_container_ctx *in_ctx, in xhci_endpoint_copy() argument
678 in_ep_ctx = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_endpoint_copy()
698 void xhci_slot_copy(struct xhci_ctrl *ctrl, struct xhci_container_ctx *in_ctx, in xhci_slot_copy() argument
704 in_slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_slot_copy()
740 ep0_ctx = xhci_get_ep_ctx(ctrl, virt_dev->in_ctx, 0); in xhci_setup_addressable_virt_dev()
741 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->in_ctx); in xhci_setup_addressable_virt_dev()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci.c1451 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1452 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1460 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1463 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_check_maxpacket()
1780 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local
1803 in_ctx = xhci->devs[udev->slot_id]->in_ctx; in xhci_drop_endpoint()
1805 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1863 struct xhci_container_ctx *in_ctx; in xhci_add_endpoint() local
1894 in_ctx = virt_dev->in_ctx; in xhci_add_endpoint()
1895 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_add_endpoint()
[all …]
H A Dxhci-trace.h179 __field(unsigned long long, in_ctx)
187 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma;
194 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
210 __field(unsigned long long, in_ctx)
220 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma;
230 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
H A Dxhci-mem.c992 if (dev->in_ctx) in xhci_free_virt_device()
993 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_free_virt_device()
1072 dev->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT, flags); in xhci_alloc_virt_device()
1073 if (!dev->in_ctx) in xhci_alloc_virt_device()
1077 (unsigned long long)dev->in_ctx->dma); in xhci_alloc_virt_device()
1109 if (dev->in_ctx) in xhci_alloc_virt_device()
1110 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_alloc_virt_device()
1126 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx()
1185 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); in xhci_setup_addressable_virt_dev()
1186 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
[all …]
H A Dxhci.h810 struct xhci_container_ctx *in_ctx; member
1023 struct xhci_container_ctx *in_ctx; member
2047 struct xhci_container_ctx *in_ctx,
2051 struct xhci_container_ctx *in_ctx,
2055 struct xhci_container_ctx *in_ctx,
H A Dxhci-mtk-sch.c726 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk()
809 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_check_bandwidth()
H A Dxhci-ring.c1545 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/sound/usb/
H A Dendpoint.c1313 struct snd_urb_ctx *in_ctx; in snd_usb_handle_sync_urb() local
1316 in_ctx = urb->context; in snd_usb_handle_sync_urb()
1319 for (i = 0; i < in_ctx->packets; i++) in snd_usb_handle_sync_urb()
1343 out_packet->packets = in_ctx->packets; in snd_usb_handle_sync_urb()
1344 for (i = 0; i < in_ctx->packets; i++) { in snd_usb_handle_sync_urb()
/OK3568_Linux_fs/u-boot/include/usb/
H A Dxhci.h1087 struct xhci_container_ctx *in_ctx; member
1246 struct xhci_container_ctx *in_ctx,
1250 struct xhci_container_ctx *in_ctx,