Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/host/
Dxhci.c1472 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_ep0_maxpacket() local
1504 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_ep0_maxpacket()
1505 if (!ctrl_ctx) { in xhci_check_ep0_maxpacket()
1519 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_ep0_maxpacket()
1520 ctrl_ctx->drop_flags = 0; in xhci_check_ep0_maxpacket()
1525 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_ep0_maxpacket()
1816 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local
1840 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1841 if (!ctrl_ctx) { in xhci_drop_endpoint()
1853 le32_to_cpu(ctrl_ctx->drop_flags) & in xhci_drop_endpoint()
[all …]
Dxhci-trace.h425 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
426 TP_ARGS(ctrl_ctx),
432 __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags);
433 __entry->add = le32_to_cpu(ctrl_ctx->add_flags);
440 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
441 TP_ARGS(ctrl_ctx)
445 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
446 TP_ARGS(ctrl_ctx)
Dxhci.h519 #define EP_IS_ADDED(ctrl_ctx, i) \ argument
520 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1)))
521 #define EP_IS_DROPPED(ctrl_ctx, i) \ argument
522 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1)))
1779 struct xhci_input_control_ctx *ctrl_ctx,
Dxhci-mem.c1519 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() argument
1535 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info()
1541 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info()
Dxhci-ring.c1530 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local
1543 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1544 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep()
1549 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-gadget.c441 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_zero_in_ctx() local
446 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx()
454 ctrl_ctx->drop_flags = 0; in cdnsp_zero_in_ctx()
455 ctrl_ctx->add_flags = 0; in cdnsp_zero_in_ctx()
638 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_update_eps_configuration() local
644 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()
647 if (ctrl_ctx->add_flags == 0 && ctrl_ctx->drop_flags == 0) in cdnsp_update_eps_configuration()
650 ctrl_ctx->add_flags |= cpu_to_le32(SLOT_FLAG); in cdnsp_update_eps_configuration()
651 ctrl_ctx->add_flags &= cpu_to_le32(~EP0_FLAG); in cdnsp_update_eps_configuration()
652 ctrl_ctx->drop_flags &= cpu_to_le32(~(SLOT_FLAG | EP0_FLAG)); in cdnsp_update_eps_configuration()
[all …]
/linux-6.12.1/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()