Home
last modified time | relevance | path

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

/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.c471 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_zero_in_ctx() local
476 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx()
484 ctrl_ctx->drop_flags = 0; in cdnsp_zero_in_ctx()
485 ctrl_ctx->add_flags = 0; in cdnsp_zero_in_ctx()
684 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_update_eps_configuration() local
690 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()
693 if (ctrl_ctx->add_flags == 0 && ctrl_ctx->drop_flags == 0) in cdnsp_update_eps_configuration()
696 ctrl_ctx->add_flags |= cpu_to_le32(SLOT_FLAG); in cdnsp_update_eps_configuration()
697 ctrl_ctx->add_flags &= cpu_to_le32(~EP0_FLAG); in cdnsp_update_eps_configuration()
698 ctrl_ctx->drop_flags &= cpu_to_le32(~(SLOT_FLAG | EP0_FLAG)); in cdnsp_update_eps_configuration()
[all …]
/linux/drivers/usb/host/
H A Dxhci-trace.h450 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
451 TP_ARGS(ctrl_ctx),
457 __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags);
458 __entry->add = le32_to_cpu(ctrl_ctx->add_flags);
465 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
466 TP_ARGS(ctrl_ctx)
470 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx),
471 TP_ARGS(ctrl_ctx)
H A Dxhci-mem.c1548 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() argument
1564 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info()
1570 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info()
H A Dxhci-ring.c1632 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local
1645 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
1646 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep()
1651 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()