Home
last modified time | relevance | path

Searched refs:slot_ctx (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/usb/host/
Dxhci-mem.c720 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
737 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->in_ctx); in xhci_setup_addressable_virt_dev()
740 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_setup_addressable_virt_dev()
765 slot_ctx->dev_info |= route; in xhci_setup_addressable_virt_dev()
769 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
772 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
775 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
778 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
802 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_setup_addressable_virt_dev()
803 slot_ctx->tt_info |= cpu_to_le32(TT_PORT(port_num)); in xhci_setup_addressable_virt_dev()
[all …]
Dxhci.c494 struct xhci_slot_ctx *slot_ctx; in xhci_set_configuration() local
538 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_set_configuration()
539 slot_ctx->dev_info &= ~(cpu_to_le32(LAST_CTX_MASK)); in xhci_set_configuration()
540 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(max_ep_flag + 1) | 0); in xhci_set_configuration()
628 struct xhci_slot_ctx *slot_ctx; in xhci_address_device() local
689 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->out_ctx); in xhci_address_device()
692 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_address_device()
1409 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local
1434 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_update_hub_device()
1437 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
[all …]