Searched refs:ctrl_ctx (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/usb/host/ |
H A D | xhci.c | 1434 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local 1467 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket() 1468 if (!ctrl_ctx) { in xhci_check_maxpacket() 1483 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket() 1484 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket() 1492 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket() 1798 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local 1822 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint() 1823 if (!ctrl_ctx) { in xhci_drop_endpoint() 1835 le32_to_cpu(ctrl_ctx->drop_flags) & in xhci_drop_endpoint() [all …]
|
H A D | xhci-trace.h | 424 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 425 TP_ARGS(ctrl_ctx), 431 __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags); 432 __entry->add = le32_to_cpu(ctrl_ctx->add_flags); 439 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 440 TP_ARGS(ctrl_ctx) 444 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 445 TP_ARGS(ctrl_ctx)
|
H A D | xhci.h | 546 #define EP_IS_ADDED(ctrl_ctx, i) \ argument 547 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1))) 548 #define EP_IS_DROPPED(ctrl_ctx, i) \ argument 549 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1))) 1817 struct xhci_input_control_ctx *ctrl_ctx,
|
H A D | xhci-mem.c | 1524 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() argument 1540 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info() 1546 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info()
|
H A D | xhci-ring.c | 1595 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local 1608 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep() 1609 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep() 1614 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci.c | 493 struct xhci_input_control_ctx *ctrl_ctx; in xhci_set_configuration() local 521 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_set_configuration() 523 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_set_configuration() 524 ctrl_ctx->drop_flags = 0; in xhci_set_configuration() 529 ctrl_ctx->add_flags |= cpu_to_le32(1 << (ep_flag + 1)); in xhci_set_configuration() 629 struct xhci_input_control_ctx *ctrl_ctx; in xhci_address_device() local 643 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_address_device() 644 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG | EP0_FLAG); in xhci_address_device() 645 ctrl_ctx->drop_flags = 0; in xhci_address_device() 647 xhci_queue_command(ctrl, (void *)ctrl_ctx, slot_id, 0, TRB_ADDR_DEV); in xhci_address_device() [all …]
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.c | 441 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 …]
|
/openbmc/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()
|