Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/host/
Dxhci.c1391 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local
1424 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1425 if (!ctrl_ctx) { in xhci_check_maxpacket()
1440 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket()
1441 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket()
1449 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket()
1740 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local
1764 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1765 if (!ctrl_ctx) { in xhci_drop_endpoint()
1777 le32_to_cpu(ctrl_ctx->drop_flags) & in xhci_drop_endpoint()
[all …]
Dxhci-trace.h430 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
431 TP_ARGS(ctrl_ctx),
437 __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags);
438 __entry->add = le32_to_cpu(ctrl_ctx->add_flags);
445 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
446 TP_ARGS(ctrl_ctx)
450 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
451 TP_ARGS(ctrl_ctx)
Dxhci.h792 #define EP_IS_ADDED(ctrl_ctx, i) \ argument
793 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1)))
794 #define EP_IS_DROPPED(ctrl_ctx, i) \ argument
795 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1)))
2000 struct xhci_input_control_ctx *ctrl_ctx,
Dxhci-mem.c1560 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() argument
1576 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info()
1582 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info()
Dxhci-ring.c1232 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local
1247 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1248 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep()
1253 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
1254 drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); in xhci_handle_cmd_config_ep()
/Linux-v5.10/drivers/usb/misc/
Dusbtest.c1067 struct ctrl_ctx { struct
1089 struct ctrl_ctx *ctx = urb->context; in ctrl_complete() argument
1205 struct ctrl_ctx context; in test_ctrl_queue()