Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/host/
Dxhci.c1249 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local
1282 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1283 if (!ctrl_ctx) { in xhci_check_maxpacket()
1297 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket()
1298 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket()
1311 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket()
1649 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local
1673 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1674 if (!ctrl_ctx) { in xhci_drop_endpoint()
1687 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.h773 #define EP_IS_ADDED(ctrl_ctx, i) \ argument
774 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1)))
775 #define EP_IS_DROPPED(ctrl_ctx, i) \ argument
776 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1)))
1772 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.4.14/drivers/usb/misc/
Dusbtest.c1027 struct ctrl_ctx { struct
1049 struct ctrl_ctx *ctx = urb->context; in ctrl_complete() argument
1164 struct ctrl_ctx context; in test_ctrl_queue()