Home
last modified time | relevance | path

Searched refs:ctrl_ctx (Results 1 – 6 of 6) sorted by relevance

/drivers/usb/host/
Dxhci.c1308 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local
1341 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1342 if (!ctrl_ctx) { in xhci_check_maxpacket()
1357 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket()
1358 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket()
1371 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket()
1696 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local
1720 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1721 if (!ctrl_ctx) { in xhci_drop_endpoint()
1734 le32_to_cpu(ctrl_ctx->drop_flags) & in xhci_drop_endpoint()
[all …]
Dxhci-dbg.c571 struct xhci_input_control_ctx *ctrl_ctx = in xhci_dbg_ctx() local
573 if (!ctrl_ctx) { in xhci_dbg_ctx()
579 &ctrl_ctx->drop_flags, (unsigned long long)dma, in xhci_dbg_ctx()
580 ctrl_ctx->drop_flags); in xhci_dbg_ctx()
583 &ctrl_ctx->add_flags, (unsigned long long)dma, in xhci_dbg_ctx()
584 ctrl_ctx->add_flags); in xhci_dbg_ctx()
588 &ctrl_ctx->rsvd2[i], (unsigned long long)dma, in xhci_dbg_ctx()
589 ctrl_ctx->rsvd2[i], i); in xhci_dbg_ctx()
594 dbg_rsvd64(xhci, (u64 *)ctrl_ctx, dma); in xhci_dbg_ctx()
Dxhci.h781 #define EP_IS_ADDED(ctrl_ctx, i) \ argument
782 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1)))
783 #define EP_IS_DROPPED(ctrl_ctx, i) \ argument
784 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1)))
1782 struct xhci_input_control_ctx *ctrl_ctx,
Dxhci-mem.c1599 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() argument
1615 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info()
1621 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info()
Dxhci-ring.c1180 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local
1194 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1195 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep()
1200 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
1201 drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); in xhci_handle_cmd_config_ep()
/drivers/usb/misc/
Dusbtest.c1030 struct ctrl_ctx { struct
1052 struct ctrl_ctx *ctx = urb->context; in ctrl_complete() argument
1167 struct ctrl_ctx context; in test_ctrl_queue()