Searched refs:ctrl_ctx (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/usb/host/ |
| H A D | xhci.c | 1551 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_ep0_maxpacket() local 1583 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_ep0_maxpacket() 1584 if (!ctrl_ctx) { in xhci_check_ep0_maxpacket() 1598 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_ep0_maxpacket() 1599 ctrl_ctx->drop_flags = 0; in xhci_check_ep0_maxpacket() 1604 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_ep0_maxpacket() 1907 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local 1931 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint() 1932 if (!ctrl_ctx) { in xhci_drop_endpoint() 1944 le32_to_cpu(ctrl_ctx->drop_flags) & in xhci_drop_endpoint() [all …]
|
| H A D | xhci-trace.h | 450 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 D | xhci.h | 519 #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))) 1808 struct xhci_input_control_ctx *ctrl_ctx,
|
| H A D | xhci-mem.c | 1544 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() argument 1560 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info() 1566 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info()
|
| H A D | xhci-ring.c | 1624 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local 1637 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep() 1638 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep() 1643 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-gadget.c | 463 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_zero_in_ctx() local 468 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx() 476 ctrl_ctx->drop_flags = 0; in cdnsp_zero_in_ctx() 477 ctrl_ctx->add_flags = 0; in cdnsp_zero_in_ctx() 676 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_update_eps_configuration() local 682 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration() 685 if (ctrl_ctx->add_flags == 0 && ctrl_ctx->drop_flags == 0) in cdnsp_update_eps_configuration() 688 ctrl_ctx->add_flags |= cpu_to_le32(SLOT_FLAG); in cdnsp_update_eps_configuration() 689 ctrl_ctx->add_flags &= cpu_to_le32(~EP0_FLAG); in cdnsp_update_eps_configuration() 690 ctrl_ctx->drop_flags &= cpu_to_le32(~(SLOT_FLAG | EP0_FLAG)); in cdnsp_update_eps_configuration() [all …]
|
| /linux/drivers/usb/misc/ |
| H A D | usbtest.c | 1067 struct ctrl_ctx { struct 1089 struct ctrl_ctx *ctx = urb->context; in ctrl_complete() argument 1205 struct ctrl_ctx context; in test_ctrl_queue()
|