ctrl_ctx 1551 drivers/usb/host/xhci-mem.c struct xhci_input_control_ctx *ctrl_ctx, ctrl_ctx 1567 drivers/usb/host/xhci-mem.c if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { ctrl_ctx 1573 drivers/usb/host/xhci-mem.c if (EP_IS_ADDED(ctrl_ctx, i)) { ctrl_ctx 1224 drivers/usb/host/xhci-ring.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 1239 drivers/usb/host/xhci-ring.c ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); ctrl_ctx 1240 drivers/usb/host/xhci-ring.c if (!ctrl_ctx) { ctrl_ctx 1245 drivers/usb/host/xhci-ring.c add_flags = le32_to_cpu(ctrl_ctx->add_flags); ctrl_ctx 1246 drivers/usb/host/xhci-ring.c drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); ctrl_ctx 430 drivers/usb/host/xhci-trace.h TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), ctrl_ctx 431 drivers/usb/host/xhci-trace.h TP_ARGS(ctrl_ctx), ctrl_ctx 437 drivers/usb/host/xhci-trace.h __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags); ctrl_ctx 438 drivers/usb/host/xhci-trace.h __entry->add = le32_to_cpu(ctrl_ctx->add_flags); ctrl_ctx 445 drivers/usb/host/xhci-trace.h TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), ctrl_ctx 446 drivers/usb/host/xhci-trace.h TP_ARGS(ctrl_ctx) ctrl_ctx 450 drivers/usb/host/xhci-trace.h TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), ctrl_ctx 451 drivers/usb/host/xhci-trace.h TP_ARGS(ctrl_ctx) ctrl_ctx 1388 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 1421 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); ctrl_ctx 1422 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 1436 drivers/usb/host/xhci.c ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); ctrl_ctx 1437 drivers/usb/host/xhci.c ctrl_ctx->drop_flags = 0; ctrl_ctx 1445 drivers/usb/host/xhci.c ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); ctrl_ctx 1736 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 1760 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(in_ctx); ctrl_ctx 1761 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 1773 drivers/usb/host/xhci.c le32_to_cpu(ctrl_ctx->drop_flags) & ctrl_ctx 1782 drivers/usb/host/xhci.c ctrl_ctx->drop_flags |= cpu_to_le32(drop_flag); ctrl_ctx 1783 drivers/usb/host/xhci.c new_drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); ctrl_ctx 1785 drivers/usb/host/xhci.c ctrl_ctx->add_flags &= cpu_to_le32(~drop_flag); ctrl_ctx 1786 drivers/usb/host/xhci.c new_add_flags = le32_to_cpu(ctrl_ctx->add_flags); ctrl_ctx 1822 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 1852 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(in_ctx); ctrl_ctx 1853 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 1864 drivers/usb/host/xhci.c !(le32_to_cpu(ctrl_ctx->drop_flags) & added_ctxs)) { ctrl_ctx 1874 drivers/usb/host/xhci.c if (le32_to_cpu(ctrl_ctx->add_flags) & added_ctxs) { ctrl_ctx 1900 drivers/usb/host/xhci.c ctrl_ctx->add_flags |= cpu_to_le32(added_ctxs); ctrl_ctx 1901 drivers/usb/host/xhci.c new_add_flags = le32_to_cpu(ctrl_ctx->add_flags); ctrl_ctx 1909 drivers/usb/host/xhci.c new_drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); ctrl_ctx 1929 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 1934 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); ctrl_ctx 1935 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 1946 drivers/usb/host/xhci.c ctrl_ctx->drop_flags = 0; ctrl_ctx 1947 drivers/usb/host/xhci.c ctrl_ctx->add_flags = 0; ctrl_ctx 2062 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx) ctrl_ctx 2071 drivers/usb/host/xhci.c valid_add_flags = le32_to_cpu(ctrl_ctx->add_flags) >> 2; ctrl_ctx 2072 drivers/usb/host/xhci.c valid_drop_flags = le32_to_cpu(ctrl_ctx->drop_flags) >> 2; ctrl_ctx 2083 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx) ctrl_ctx 2088 drivers/usb/host/xhci.c valid_add_flags = le32_to_cpu(ctrl_ctx->add_flags) >> 2; ctrl_ctx 2089 drivers/usb/host/xhci.c valid_drop_flags = le32_to_cpu(ctrl_ctx->drop_flags) >> 2; ctrl_ctx 2109 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx) ctrl_ctx 2113 drivers/usb/host/xhci.c added_eps = xhci_count_num_new_endpoints(xhci, ctrl_ctx); ctrl_ctx 2136 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx) ctrl_ctx 2140 drivers/usb/host/xhci.c num_failed_eps = xhci_count_num_new_endpoints(xhci, ctrl_ctx); ctrl_ctx 2155 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx) ctrl_ctx 2159 drivers/usb/host/xhci.c num_dropped_eps = xhci_count_num_dropped_endpoints(xhci, ctrl_ctx); ctrl_ctx 2655 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 2661 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(in_ctx); ctrl_ctx 2662 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 2669 drivers/usb/host/xhci.c if (!EP_IS_ADDED(ctrl_ctx, i) && !EP_IS_DROPPED(ctrl_ctx, i)) ctrl_ctx 2678 drivers/usb/host/xhci.c if (EP_IS_DROPPED(ctrl_ctx, i)) ctrl_ctx 2687 drivers/usb/host/xhci.c xhci_update_bw_info(xhci, virt_dev->in_ctx, ctrl_ctx, virt_dev); ctrl_ctx 2690 drivers/usb/host/xhci.c if (EP_IS_ADDED(ctrl_ctx, i)) ctrl_ctx 2709 drivers/usb/host/xhci.c if (!EP_IS_ADDED(ctrl_ctx, i) && !EP_IS_DROPPED(ctrl_ctx, i)) ctrl_ctx 2715 drivers/usb/host/xhci.c if (EP_IS_ADDED(ctrl_ctx, i)) { ctrl_ctx 2727 drivers/usb/host/xhci.c if (EP_IS_DROPPED(ctrl_ctx, i)) ctrl_ctx 2749 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 2765 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); ctrl_ctx 2766 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 2774 drivers/usb/host/xhci.c xhci_reserve_host_resources(xhci, ctrl_ctx)) { ctrl_ctx 2784 drivers/usb/host/xhci.c xhci_free_host_resources(xhci, ctrl_ctx); ctrl_ctx 2792 drivers/usb/host/xhci.c trace_xhci_configure_endpoint_ctrl_ctx(ctrl_ctx); ctrl_ctx 2805 drivers/usb/host/xhci.c xhci_free_host_resources(xhci, ctrl_ctx); ctrl_ctx 2830 drivers/usb/host/xhci.c xhci_free_host_resources(xhci, ctrl_ctx); ctrl_ctx 2832 drivers/usb/host/xhci.c xhci_finish_resource_reservation(xhci, ctrl_ctx); ctrl_ctx 2868 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 2890 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); ctrl_ctx 2891 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 2897 drivers/usb/host/xhci.c ctrl_ctx->add_flags |= cpu_to_le32(SLOT_FLAG); ctrl_ctx 2898 drivers/usb/host/xhci.c ctrl_ctx->add_flags &= cpu_to_le32(~EP0_FLAG); ctrl_ctx 2899 drivers/usb/host/xhci.c ctrl_ctx->drop_flags &= cpu_to_le32(~(SLOT_FLAG | EP0_FLAG)); ctrl_ctx 2902 drivers/usb/host/xhci.c if (ctrl_ctx->add_flags == cpu_to_le32(SLOT_FLAG) && ctrl_ctx 2903 drivers/usb/host/xhci.c ctrl_ctx->drop_flags == 0) { ctrl_ctx 2912 drivers/usb/host/xhci.c if ((virt_dev->eps[i-1].ring && !(ctrl_ctx->drop_flags & le32)) ctrl_ctx 2913 drivers/usb/host/xhci.c || (ctrl_ctx->add_flags & le32) || i == 1) { ctrl_ctx 2928 drivers/usb/host/xhci.c if ((le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1))) && ctrl_ctx 2929 drivers/usb/host/xhci.c !(le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1)))) { ctrl_ctx 2986 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx, ctrl_ctx 2989 drivers/usb/host/xhci.c ctrl_ctx->add_flags = cpu_to_le32(add_flags); ctrl_ctx 2990 drivers/usb/host/xhci.c ctrl_ctx->drop_flags = cpu_to_le32(drop_flags); ctrl_ctx 2992 drivers/usb/host/xhci.c ctrl_ctx->add_flags |= cpu_to_le32(SLOT_FLAG); ctrl_ctx 2999 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 3006 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(in_ctx); ctrl_ctx 3007 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 3030 drivers/usb/host/xhci.c xhci->devs[slot_id]->out_ctx, ctrl_ctx, ctrl_ctx 3134 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 3218 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(cfg_cmd->in_ctx); ctrl_ctx 3220 drivers/usb/host/xhci.c ctrl_ctx, ep_flag, ep_flag); ctrl_ctx 3407 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 3436 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(config_cmd->in_ctx); ctrl_ctx 3437 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 3511 drivers/usb/host/xhci.c vdev->out_ctx, ctrl_ctx, ctrl_ctx 3570 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 3593 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); ctrl_ctx 3594 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 3615 drivers/usb/host/xhci.c vdev->out_ctx, ctrl_ctx, ctrl_ctx 4057 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 4108 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); ctrl_ctx 4109 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 4125 drivers/usb/host/xhci.c ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG | EP0_FLAG); ctrl_ctx 4126 drivers/usb/host/xhci.c ctrl_ctx->drop_flags = 0; ctrl_ctx 4131 drivers/usb/host/xhci.c trace_xhci_address_ctrl_ctx(ctrl_ctx); ctrl_ctx 4214 drivers/usb/host/xhci.c ctrl_ctx->add_flags = 0; ctrl_ctx 4215 drivers/usb/host/xhci.c ctrl_ctx->drop_flags = 0; ctrl_ctx 4264 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 4286 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); ctrl_ctx 4287 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 4297 drivers/usb/host/xhci.c ctrl_ctx->add_flags |= cpu_to_le32(SLOT_FLAG); ctrl_ctx 5014 drivers/usb/host/xhci.c struct xhci_input_control_ctx *ctrl_ctx; ctrl_ctx 5034 drivers/usb/host/xhci.c ctrl_ctx = xhci_get_input_control_ctx(config_cmd->in_ctx); ctrl_ctx 5035 drivers/usb/host/xhci.c if (!ctrl_ctx) { ctrl_ctx 5052 drivers/usb/host/xhci.c ctrl_ctx->add_flags |= cpu_to_le32(SLOT_FLAG); ctrl_ctx 792 drivers/usb/host/xhci.h #define EP_IS_ADDED(ctrl_ctx, i) \ ctrl_ctx 793 drivers/usb/host/xhci.h (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1))) ctrl_ctx 794 drivers/usb/host/xhci.h #define EP_IS_DROPPED(ctrl_ctx, i) \ ctrl_ctx 795 drivers/usb/host/xhci.h (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1))) ctrl_ctx 1995 drivers/usb/host/xhci.h struct xhci_input_control_ctx *ctrl_ctx, ctrl_ctx 1089 drivers/usb/misc/usbtest.c struct ctrl_ctx *ctx = urb->context; ctrl_ctx 1205 drivers/usb/misc/usbtest.c struct ctrl_ctx context;