Searched refs:ep0_ctx (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci-mem.c | 722 struct xhci_ep_ctx *ep0_ctx; in xhci_setup_addressable_virt_dev() local 739 ep0_ctx = xhci_get_ep_ctx(ctrl, virt_dev->in_ctx, 0); in xhci_setup_addressable_virt_dev() 821 ep0_ctx->ep_info2 = cpu_to_le32(CTRL_EP << EP_TYPE_SHIFT); in xhci_setup_addressable_virt_dev() 826 ep0_ctx->ep_info2 |= cpu_to_le32(((512 & MAX_PACKET_MASK) << in xhci_setup_addressable_virt_dev() 833 ep0_ctx->ep_info2 |= cpu_to_le32(((64 & MAX_PACKET_MASK) << in xhci_setup_addressable_virt_dev() 838 ep0_ctx->ep_info2 |= cpu_to_le32(((8 & MAX_PACKET_MASK) << in xhci_setup_addressable_virt_dev() 848 ep0_ctx->ep_info2 |= in xhci_setup_addressable_virt_dev() 853 ep0_ctx->deq = cpu_to_le64(trb_64 | virt_dev->eps[0].ring->cycle_state); in xhci_setup_addressable_virt_dev() 859 ep0_ctx->tx_info = cpu_to_le32(EP_AVG_TRB_LENGTH(8)); in xhci_setup_addressable_virt_dev() 863 xhci_flush_cache((uintptr_t)ep0_ctx, sizeof(struct xhci_ep_ctx)); in xhci_setup_addressable_virt_dev()
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-xhci.c | 2095 uint32_t ep0_ctx[5]; in xhci_address_slot() local 2118 xhci_dma_read_u32s(xhci, ictx+64, ep0_ctx, sizeof(ep0_ctx)); in xhci_address_slot() 2124 ep0_ctx[0], ep0_ctx[1], ep0_ctx[2], ep0_ctx[3], ep0_ctx[4]); in xhci_address_slot() 2176 res = xhci_enable_ep(xhci, slotid, 1, octx+32, ep0_ctx); in xhci_address_slot() 2181 ep0_ctx[0], ep0_ctx[1], ep0_ctx[2], ep0_ctx[3], ep0_ctx[4]); in xhci_address_slot() 2184 xhci_dma_write_u32s(xhci, octx+32, ep0_ctx, sizeof(ep0_ctx)); in xhci_address_slot() 2297 uint32_t ep0_ctx[5]; in xhci_evaluate_slot() local 2345 xhci_dma_read_u32s(xhci, octx+32, ep0_ctx, sizeof(ep0_ctx)); in xhci_evaluate_slot() 2347 ep0_ctx[1] &= ~0xFFFF0000; /* max packet size*/ in xhci_evaluate_slot() 2348 ep0_ctx[1] |= iep0_ctx[1] & 0xFFFF0000; in xhci_evaluate_slot() [all …]
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 717 struct cdnsp_ep_ctx *ep0_ctx = pdev->eps[0].in_ctx; in cdnsp_copy_ep0_dequeue_into_input_ctx() local 722 ep0_ctx->deq = cpu_to_le64(dma | ep_ring->cycle_state); in cdnsp_copy_ep0_dequeue_into_input_ctx() 729 struct cdnsp_ep_ctx *ep0_ctx; in cdnsp_setup_addressable_priv_dev() local 732 ep0_ctx = cdnsp_get_ep_ctx(&pdev->in_ctx, 0); in cdnsp_setup_addressable_priv_dev() 764 ep0_ctx->tx_info = cpu_to_le32(EP_AVG_TRB_LENGTH(0x8)); in cdnsp_setup_addressable_priv_dev() 765 ep0_ctx->ep_info2 = cpu_to_le32(EP_TYPE(CTRL_EP)); in cdnsp_setup_addressable_priv_dev() 766 ep0_ctx->ep_info2 |= cpu_to_le32(MAX_BURST(0) | ERROR_COUNT(3) | in cdnsp_setup_addressable_priv_dev() 769 ep0_ctx->deq = cpu_to_le64(pdev->eps[0].ring->first_seg->dma | in cdnsp_setup_addressable_priv_dev()
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-mem.c | 1021 struct xhci_ep_ctx *ep0_ctx; in xhci_copy_ep0_dequeue_into_input_ctx() local 1025 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx() 1034 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx() 1071 struct xhci_ep_ctx *ep0_ctx; in xhci_setup_addressable_virt_dev() local 1084 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); in xhci_setup_addressable_virt_dev() 1171 ep0_ctx->ep_info2 = cpu_to_le32(EP_TYPE(CTRL_EP)); in xhci_setup_addressable_virt_dev() 1174 ep0_ctx->ep_info2 |= cpu_to_le32(MAX_BURST(0) | ERROR_COUNT(3) | in xhci_setup_addressable_virt_dev() 1177 ep0_ctx->deq = cpu_to_le64(dev->eps[0].ring->first_seg->dma | in xhci_setup_addressable_virt_dev()
|