Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/host/
Dxhci.c1389 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local
1422 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1423 if (!ctrl_ctx) { in xhci_check_maxpacket()
1437 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket()
1438 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket()
1446 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket()
1737 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local
1761 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1762 if (!ctrl_ctx) { in xhci_drop_endpoint()
1774 le32_to_cpu(ctrl_ctx->drop_flags) & in xhci_drop_endpoint()
[all …]
Dxhci-trace.h441 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
442 TP_ARGS(ctrl_ctx),
448 __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags);
449 __entry->add = le32_to_cpu(ctrl_ctx->add_flags);
456 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
457 TP_ARGS(ctrl_ctx)
461 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
462 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)))
1986 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.c1206 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local
1221 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1222 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep()
1227 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
1228 drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); in xhci_handle_cmd_config_ep()
/Linux-v5.4/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()