Searched refs:ctrl_ctx (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci.c | 1419 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local 1452 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket() 1453 if (!ctrl_ctx) { in xhci_check_maxpacket() 1468 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket() 1469 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket() 1477 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket() 1781 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local 1805 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint() 1806 if (!ctrl_ctx) { in xhci_drop_endpoint() 1818 le32_to_cpu(ctrl_ctx->drop_flags) & in xhci_drop_endpoint() [all …]
|
| H A D | xhci-trace.h | 431 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 432 TP_ARGS(ctrl_ctx), 439 __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags); 440 __entry->add = le32_to_cpu(ctrl_ctx->add_flags); 447 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 448 TP_ARGS(ctrl_ctx) 452 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 453 TP_ARGS(ctrl_ctx)
|
| H A D | xhci.h | 799 #define EP_IS_ADDED(ctrl_ctx, i) \ argument 800 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1))) 801 #define EP_IS_DROPPED(ctrl_ctx, i) \ argument 802 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1))) 2048 struct xhci_input_control_ctx *ctrl_ctx,
|
| H A D | xhci-mem.c | 1636 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() argument 1652 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info() 1658 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info()
|
| H A D | xhci-ring.c | 1528 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local 1545 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep() 1546 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep() 1551 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep() 1552 drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); in xhci_handle_cmd_config_ep()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | xhci.c | 494 struct xhci_input_control_ctx *ctrl_ctx; in xhci_set_configuration() local 522 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_set_configuration() 524 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_set_configuration() 525 ctrl_ctx->drop_flags = 0; in xhci_set_configuration() 530 ctrl_ctx->add_flags |= cpu_to_le32(1 << (ep_flag + 1)); in xhci_set_configuration() 630 struct xhci_input_control_ctx *ctrl_ctx; in xhci_address_device() local 644 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_address_device() 645 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG | EP0_FLAG); in xhci_address_device() 646 ctrl_ctx->drop_flags = 0; in xhci_address_device() 648 xhci_queue_command(ctrl, (void *)ctrl_ctx, slot_id, 0, TRB_ADDR_DEV); in xhci_address_device() [all …]
|
| /OK3568_Linux_fs/kernel/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()
|