Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/host/
Dxhci-mem.c719 struct xhci_ep_ctx *ep0_ctx; in xhci_setup_addressable_virt_dev() local
736 ep0_ctx = xhci_get_ep_ctx(ctrl, virt_dev->in_ctx, 0); in xhci_setup_addressable_virt_dev()
818 ep0_ctx->ep_info2 = cpu_to_le32(CTRL_EP << EP_TYPE_SHIFT); in xhci_setup_addressable_virt_dev()
823 ep0_ctx->ep_info2 |= cpu_to_le32(((512 & MAX_PACKET_MASK) << in xhci_setup_addressable_virt_dev()
830 ep0_ctx->ep_info2 |= cpu_to_le32(((64 & MAX_PACKET_MASK) << in xhci_setup_addressable_virt_dev()
835 ep0_ctx->ep_info2 |= cpu_to_le32(((8 & MAX_PACKET_MASK) << in xhci_setup_addressable_virt_dev()
845 ep0_ctx->ep_info2 |= in xhci_setup_addressable_virt_dev()
850 ep0_ctx->deq = cpu_to_le64(trb_64 | virt_dev->eps[0].ring->cycle_state); in xhci_setup_addressable_virt_dev()
856 ep0_ctx->tx_info = cpu_to_le32(EP_AVG_TRB_LENGTH(8)); in xhci_setup_addressable_virt_dev()
860 xhci_flush_cache((uintptr_t)ep0_ctx, sizeof(struct xhci_ep_ctx)); in xhci_setup_addressable_virt_dev()