Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/host/
Dxhci.c1338 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local
1371 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket()
1372 if (!ctrl_ctx) { in xhci_check_maxpacket()
1386 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket()
1387 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket()
1395 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket()
1683 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local
1707 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1708 if (!ctrl_ctx) { in xhci_drop_endpoint()
1720 le32_to_cpu(ctrl_ctx->drop_flags) & in xhci_drop_endpoint()
[all …]
Dxhci.h784 #define EP_IS_ADDED(ctrl_ctx, i) \ argument
785 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1)))
786 #define EP_IS_DROPPED(ctrl_ctx, i) \ argument
787 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1)))
1967 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.c1191 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local
1206 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1207 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep()
1212 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
1213 drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); in xhci_handle_cmd_config_ep()
/Linux-v4.19/drivers/usb/misc/
Dusbtest.c1059 struct ctrl_ctx { struct
1081 struct ctrl_ctx *ctx = urb->context; in ctrl_complete() argument
1197 struct ctrl_ctx context; in test_ctrl_queue()