Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/host/
H A Dxhci.c1495 if (!ctrl_ctx) { in xhci_check_ep0_maxpacket()
1843 if (!ctrl_ctx) { in xhci_drop_endpoint()
1933 if (!ctrl_ctx) { in xhci_add_endpoint()
2005 if (!ctrl_ctx) { in xhci_zero_in_ctx()
2723 if (!ctrl_ctx) { in xhci_reserve_bandwidth()
2730 if (!EP_IS_ADDED(ctrl_ctx, i) && !EP_IS_DROPPED(ctrl_ctx, i)) in xhci_reserve_bandwidth()
2770 if (!EP_IS_ADDED(ctrl_ctx, i) && !EP_IS_DROPPED(ctrl_ctx, i)) in xhci_reserve_bandwidth()
2872 if (!ctrl_ctx) { in xhci_configure_endpoint()
2997 if (!ctrl_ctx) { in xhci_check_bandwidth()
3270 if (!ctrl_ctx) { in xhci_endpoint_reset()
[all …]
H A Dxhci-trace.h460 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
461 TP_ARGS(ctrl_ctx),
467 __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags);
468 __entry->add = le32_to_cpu(ctrl_ctx->add_flags);
475 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
476 TP_ARGS(ctrl_ctx)
480 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
481 TP_ARGS(ctrl_ctx)
H A Dxhci.h522 #define EP_IS_ADDED(ctrl_ctx, i) \ argument
523 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1)))
524 #define EP_IS_DROPPED(ctrl_ctx, i) \ argument
525 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1)))
1801 struct xhci_input_control_ctx *ctrl_ctx,
H A Dxhci-mem.c1513 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() argument
1529 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info()
1535 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info()
H A Dxhci-ring.c1613 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local
1626 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1627 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep()
1632 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
/linux-6.15/drivers/usb/cdns3/
H A Dcdnsp-gadget.c462 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_zero_in_ctx() local
475 ctrl_ctx->drop_flags = 0; in cdnsp_zero_in_ctx()
476 ctrl_ctx->add_flags = 0; in cdnsp_zero_in_ctx()
659 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_update_eps_configuration() local
668 if (ctrl_ctx->add_flags == 0 && ctrl_ctx->drop_flags == 0) in cdnsp_update_eps_configuration()
876 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_setup_device() local
909 ctrl_ctx->drop_flags = 0; in cdnsp_setup_device()
920 ctrl_ctx->add_flags = 0; in cdnsp_setup_device()
921 ctrl_ctx->drop_flags = 0; in cdnsp_setup_device()
1003 ctrl_ctx->drop_flags = 0; in cdnsp_gadget_ep_enable()
[all …]
/linux-6.15/drivers/usb/misc/
H A 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()