Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/host/
Dxhci.c1259 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local
1292 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1293 if (!ctrl_ctx) { in xhci_check_maxpacket()
1307 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket()
1308 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket()
1321 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket()
1659 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local
1683 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1684 if (!ctrl_ctx) { in xhci_drop_endpoint()
1697 le32_to_cpu(ctrl_ctx->drop_flags) & in xhci_drop_endpoint()
[all …]
Dxhci-dbg.c554 struct xhci_input_control_ctx *ctrl_ctx = in xhci_dbg_ctx() local
556 if (!ctrl_ctx) { in xhci_dbg_ctx()
562 &ctrl_ctx->drop_flags, (unsigned long long)dma, in xhci_dbg_ctx()
563 ctrl_ctx->drop_flags); in xhci_dbg_ctx()
566 &ctrl_ctx->add_flags, (unsigned long long)dma, in xhci_dbg_ctx()
567 ctrl_ctx->add_flags); in xhci_dbg_ctx()
571 &ctrl_ctx->rsvd2[i], (unsigned long long)dma, in xhci_dbg_ctx()
572 ctrl_ctx->rsvd2[i], i); in xhci_dbg_ctx()
577 dbg_rsvd64(xhci, (u64 *)ctrl_ctx, dma); in xhci_dbg_ctx()
Dxhci.h725 #define EP_IS_ADDED(ctrl_ctx, i) \ argument
726 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1)))
727 #define EP_IS_DROPPED(ctrl_ctx, i) \ argument
728 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1)))
1704 struct xhci_input_control_ctx *ctrl_ctx,
Dxhci-mem.c1545 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() argument
1561 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info()
1567 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info()
Dxhci-ring.c1108 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local
1122 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1123 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep()
1128 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
1129 drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); in xhci_handle_cmd_config_ep()
/linux-4.1.27/drivers/usb/misc/
Dusbtest.c1014 struct ctrl_ctx { struct
1036 struct ctrl_ctx *ctx = urb->context; in ctrl_complete() argument
1151 struct ctrl_ctx context; in test_ctrl_queue()