Home
last modified time | relevance | path

Searched refs:in_ctx (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-mem.c474 pdev->in_ctx.type = CDNSP_CTX_TYPE_INPUT; 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()
477 pdev->in_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, in cdnsp_init_device_ctx()
478 &pdev->in_ctx.dma); in cdnsp_init_device_ctx()
480 if (!pdev->in_ctx.bytes) { in cdnsp_init_device_ctx()
675 if (pdev->in_ctx.bytes) in cdnsp_free_priv_device()
676 dma_pool_free(pdev->device_pool, pdev->in_ctx.bytes, in cdnsp_free_priv_device()
677 pdev->in_ctx.dma); in cdnsp_free_priv_device()
683 pdev->in_ctx in cdnsp_free_priv_device()
[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()
475 cdnsp_queue_configure_endpoint(pdev, pdev->cmd.in_ctx->dma); in cdnsp_configure_endpoint()
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()
793 cdnsp_setup_streams_ep_input_ctx(pdev, pep->in_ctx, &pep->stream_info); in cdnsp_alloc_streams()
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()
[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.h727 * @in_ctx: Pointer to input context structure.
733 struct cdnsp_container_ctx *in_ctx; member
804 * @in_ctx: Pointer to input endpoint context structure.
826 struct cdnsp_ep_ctx *in_ctx; member
1378 * @in_ctx: Input context.
1442 struct cdnsp_container_ctx in_ctx; member
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci.c1466 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1467 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1475 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1478 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_check_maxpacket()
1785 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local
1808 in_ctx = xhci->devs[udev->slot_id]->in_ctx; in xhci_drop_endpoint()
1810 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1870 struct xhci_container_ctx *in_ctx; in xhci_add_endpoint() local
2697 xhci_reserve_bandwidth(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct xhci_container_ctx *in_ctx) xhci_reserve_bandwidth() argument
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
3049 struct xhci_container_ctx *in_ctx; xhci_setup_input_ctx_for_quirk() local
[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.c937 if (dev->in_ctx) in xhci_free_virt_device()
938 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_free_virt_device()
1017 dev->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT, flags); in xhci_alloc_virt_device()
1018 if (!dev->in_ctx) in xhci_alloc_virt_device()
1022 (unsigned long long)dev->in_ctx->dma); in xhci_alloc_virt_device()
1054 if (dev->in_ctx) in xhci_alloc_virt_device()
1055 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_alloc_virt_device()
1071 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx()
1130 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); in xhci_setup_addressable_virt_dev()
1131 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
1571 xhci_update_bw_info(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_input_control_ctx *ctrl_ctx, struct xhci_virt_device *virt_dev) xhci_update_bw_info() argument
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 Dxhci-mtk-sch.c697 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_add_ep_quirk()
698 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_add_ep_quirk()
743 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_drop_ep_quirk()
799 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_check_bandwidth()
H A Dxhci.h809 struct xhci_container_ctx *in_ctx; member
1020 struct xhci_container_ctx *in_ctx; member
2025 struct xhci_container_ctx *in_ctx,
2029 struct xhci_container_ctx *in_ctx,
2033 struct xhci_container_ctx *in_ctx,
H A Dxhci-ring.c1360 xhci->devs[slot_id]->in_ctx->dma, slot_id, in xhci_handle_cmd_reset_ep()
1418 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dqos.c33 void *in_ctx; in MLX5_IB_METHOD_PP_OBJ_ALLOC() local
52 in_ctx = uverbs_attr_get_alloced_ptr(attrs, in MLX5_IB_METHOD_PP_OBJ_ALLOC()
56 memcpy(rl_raw, in_ctx, inlen); in MLX5_IB_METHOD_PP_OBJ_ALLOC()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dqos.c33 void *in_ctx; in MLX5_IB_METHOD_PP_OBJ_ALLOC() local
52 in_ctx = uverbs_attr_get_alloced_ptr(attrs, in MLX5_IB_METHOD_PP_OBJ_ALLOC()
56 memcpy(rl_raw, in_ctx, inlen); in MLX5_IB_METHOD_PP_OBJ_ALLOC()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci.c1455 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1456 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1464 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1467 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_check_maxpacket()
1774 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local
1797 in_ctx = xhci->devs[udev->slot_id]->in_ctx; in xhci_drop_endpoint()
1799 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1857 struct xhci_container_ctx *in_ctx; in xhci_add_endpoint() local
2669 xhci_reserve_bandwidth(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct xhci_container_ctx *in_ctx) xhci_reserve_bandwidth() argument
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 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()
972 dev->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT, flags); in xhci_alloc_virt_device()
973 if (!dev->in_ctx) in xhci_alloc_virt_device()
976 xhci_dbg(xhci, "Slot %d input ctx = 0x%pad (dma)\n", slot_id, &dev->in_ctx->dma); 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()
1025 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx()
1084 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); in xhci_setup_addressable_virt_dev()
1085 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
1522 xhci_update_bw_info(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_input_control_ctx *ctrl_ctx, struct xhci_virt_device *virt_dev) xhci_update_bw_info() argument
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 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.h812 struct xhci_container_ctx *in_ctx; member
1021 struct xhci_container_ctx *in_ctx; member
2063 struct xhci_container_ctx *in_ctx,
2067 struct xhci_container_ctx *in_ctx,
2071 struct xhci_container_ctx *in_ctx,
H A Dxhci-ring.c1506 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()

Completed in 47 milliseconds